[Mono-list] CentOS 7 503 Service Unavailable

discofire discofire at aol.com
Wed Apr 22 21:34:15 UTC 2015

I have been unable to resolve this problem, but I suspect it is an apache
configuration error since my mono web application works fine when I use

I have installed and tested this same web app on multiple other Linux
distributions without any problems, but it does not seem to work on CentOS

I installed mono from the xamarin repositories using the following commands:
    rpm --import
    yum-config-manager --add-repo
    yum install mono-complete
    yum install apache2-mod_mono
    yum install mono-basic

That all worked fine, and when I go to my install directory (/usr/Exago) and
run XSP4, I can open my browser and connect to localhost:9000 and everything
looks fine and functions as I would expect, however, attempting to connect
through Apache leads to the 503 Service Unavailable error, and the apache
log simply says, "Failed to connect to mod-mono-server after several
attempts to spawn the process."

I originally generated this application conf file from
http://go-mono.com/config-mod-mono/Default.aspx with slight modifications
(added <Directory> for access, added MonoUnixUmask)

conf file:

<Directory /usr/Exago>
  AllowOverride None
  Require all granted

Alias /Exago "/usr/Exago"
MonoServerPath Exago "/usr/bin/mod-mono-server4"
MonoUnixUmask Exago 027
MonoApplications Exago "/Exago:/usr/Exago"

<Location "/Exago">
  MonoSetServerAlias Exago
  SetHandler mono
  Require all granted
  SetOutputFilter DEFLATE

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/xml


View this message in context: http://mono.1490590.n4.nabble.com/CentOS-7-503-Service-Unavailable-tp4665820.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list