[Mono-list] 2.4 mod_mono error

Derek Ekins derek at spathi.com
Fri May 1 10:48:22 EDT 2009


Hi,
I have been having a lot of trouble trying to get mod_mono working.
I have setup a fresh instance of Ubuntu 9.04 (this is running on Amazon EC2)
and built and installed mono 2.4, xsp 2.4 and mod_mono 2.4 to /usr/local

I created a new virtual host and checked that it served up static files.
That was fine.
Then I enabled mono by adding this to apache2.conf:

Include /etc/apache2/mod_mono.conf
MonoServerPath /usr/bin/mod-mono-server2

And updated my virtual host:

<VirtualHost *:80>
  ServerName mydomain.com
  DocumentRoot /srv/www/mydomain.com

  <Location />
    Allow from all
    Order allow,deny
     SetHandler mono
     SetOutputFilter DEFLATE
     SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
  </Location>
  <IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/html text/plain text/xml
text/javascript
  </IfModule>
</VirtualHost>

When I try to request a simple aspx page I get this error:

[Fri May 01 14:28:33 2009] [notice] Apache/2.2.11 (Ubuntu) mod_mono/2.4
configured -- resuming normal operations
[Fri May 01 14:28:37 2009] [error] Failed running '/usr/bin/mod-mono-server2
--filename /tmp/mod_mono_server_global --nonstop --master (null) (null)
(null) (null) (null) (null) (nu$
[Fri May 01 14:28:39 2009] [error] Failed running '/usr/bin/mod-mono-server2
--filename /tmp/mod_mono_server_global --nonstop --master (null) (null)
(null) (null) (null) (null) (nu$
[Fri May 01 14:28:41 2009] [error] Failed running '/usr/bin/mod-mono-server2
--filename /tmp/mod_mono_server_global --nonstop --master (null) (null)
(null) (null) (null) (null) (nu$
[Fri May 01 14:28:43 2009] [error] Failed to connect to mod-mono-server
after several attempts to spawn the process.

Any idea what the problem is?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090501/2b0e699f/attachment.html 


More information about the Mono-list mailing list