CentOS 7 503 Service Unavailable

discofire <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
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
XSP4.

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
7.

I installed mono from the xamarin repositories using the following commands:
    rpm --import
"http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
    yum-config-manager --add-repo
http://download.mono-project.com/repo/centos/
    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
</Directory>

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
</Location>

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

============================================================




--
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.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.