[Mono-list] Install issues with mod-mono on Debian Sarge

Robert Jordan robertj at gmx.net
Wed Mar 4 18:40:23 EST 2009


Catdude wrote:
> I'm trying to get mod-mono installed on a Debian Sarge machine. I've got mono
> running fine.
> 
> I've installed mono-xsp2 and mono-apache-server2 via apt-get. I've made sure
> that /etc/apache2/apache2.conf has "Include /etc/apache2/mod_mono.conf".
> When I restart apache2 the log file reads "[Sun Mar 01 19:15:47 2009]
> [error] Failed running '/usr/local/lib/pkgconfig/../../bin/mod-mono-server
> --filename /tmp/mod_mono_server --applications /asp:/var/www/sharedip/asp
> --nonstop (null) (null) (null) (null) (null) (null) (null)'. Reason: No such
> file or directory"
> 

> I can start mod-mono-server2 from the command line with no problem:
> ga:~# mod-mono-server2
> mod-mono-server2

mod-mono-server2 is not mod-mono-server (see apache error message).
If you want ASP.NET 2.0, you have to specify it with
MonoServerPath /usr/bin/mod-mono-server2 in your apache config.

> If I start it specifying a tcp port I get a different error:
> ga:~# mod-mono-server2 --port 8000
> mod-mono-server2
> Listening on port: 8000
> Listening on address: 0.0.0.0
> Root directory: /root
> Hit Return to stop the server.
> mod_mono and xsp have different versions.

Mod-mono-server is not intended to be used this way. Thus
the error is expected.

Robert



More information about the Mono-list mailing list