[Mono-list] Error 503 on Apache - Failed to connect to mod-mono-server after several attempts to spawn the process

Marek Habersack grendel at twistedcode.net
Tue Jul 15 15:34:27 EDT 2008

On Tue, 15 Jul 2008 12:18:48 -0700 (PDT)
g18c <g18c at hotmail.com> wrote:


> Hi, I have a CentOS 5.2 box running Apache 2.2 (which is tested and serving
> plain html ok). I have tried to compile Mono from source, everything
> compiled ok and seemed to install into the right paths. However when i try
> and run the test scripts (copied from /opt/mono/lib/xsp/test to my httpd
> files directory /var/www/html/) i get the following error page when ever I
> access the webserver:
> Error 503 - Service Temporarily Unavailable
> The server is temporarily unable to service your request due to maintenance
> downtime or capacity problems. Please try again later.
> I'm at a loss as to what i have done wrong, spent 4 hours on this and am
> pulling my hair out! Is there anything obvious I am missing?
Get the srpm for the mod_mono module, modify the spec file to configure the sources
with --enable-debug. Install the new rpm and run your app - the apache error log
should contain more information. Basically what's happening is that either the
mod-mono-server.exe backend isn't found or that it's failing at the start for some
reason (sigabrt, sigsegv etc). You might want to use the strace tool to attach to
the apache process and have it follow forks (-f or -ff if you want separate files)
to see if the mod-mono-server process is started at all.



More information about the Mono-list mailing list