[Mono-aspnet-list] Problems configuring apache2 + mono
Francisco M. Marzoa Alonso
francisco at marzoa.com
Tue Mar 29 07:16:43 EDT 2011
More information:
I get the following message on /var/log/apache2/error.log
"Failed to connect to mod-mono-server after several attempts to spawn
the process."
How may I debug this deeper?
El 29/03/11 10:56, Francisco M. Marzoa Alonso escribió:
> Hello,
>
> I'm having problems configuring apache2 and mono for using ASP.net on
> Ubuntu.
>
> I've installed everything needed, and the module seems to be working,
> but I've not been able to run a simple helloworld on a virtual host.
>
> I think the problem is on the webapp configuration file.
>
> My virtualhost is defined as follows:
>
> <VirtualHost *:80>
> ServerAdmin webmaster at localhost
> ServerName fake.domain.com
> DocumentRoot /var/www/fake.domain.com/web/
> ErrorLog /var/www/fake.domain.com/logs/error.log
> LogLevel warn
> CustomLog /var/www/fake.domain.com/logs/access.log combined
> <Directory /var/www/fake.domain.com/web/>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride All
> Order allow,deny
> Allow from all
> SetHandler mono
> DirectoryIndex index.aspx index.html
> </Directory>
> </VirtualHost>
>
> I've created all needed directories and server itself is working fine if
> I do not use mono. I mean that if I move my browser to
> http://fake.domain.com/ it shows me the contents of
> /var/www/fake.domain.com/web directory without problems.
>
> But when I create a mono aplication on /etc/mono-server2/ it does not
> run as expected. I've created one file called fake.domain.com.webapp
> with the following contents:
>
> <apps>
> <web-application>
> <name>FakeDomain</name>
> <vpath>/</vpath>
> <path>/var/www/fake.domain.com/web</path>
> <vhost>fake.domamin.com</vhost>
> </web-application>
> </apps>
>
> But if I try to open http://devel.sharpbear.com I got a 503 Service
> Temporarily Unavailable after a while waiting for page to load.
>
> "The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later."
>
> Any hints?
>
> Thanks a lot in advance,
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
More information about the Mono-aspnet-list
mailing list