[Mono-list] Failing to get mod_mono on apache2 on ubuntu 7.04 working

Steve Martin steven.martin at 4productions.co.uk
Mon Jun 4 06:24:40 EDT 2007


I'm having a similar problem with Ubuntu - when i try access my enabled 
site I get this error:-


  Service Temporarily Unavailable

The server is temporarily unable to service your request due to 
maintenance downtime or capacity problems. Please try again later.

------------------------------------------------------------------------
Apache/2.2.3 (Ubuntu) mod_mono/1.2.1 Server at 192.168.1.2 Port 80


This error message is contained in the 
/etc/mono-server2/mono-server2-hosts.conf file, but I'm not sure what's 
causing it.
> I'm new to Linux and Mono, so apologies if this is a  stupid 
> question.  I've read various posts on mod_mono on Ubuntu/apache2 and I 
> still can't get it to work correctly.  XSP2 works beautifully but I 
> want to use apache2.  I've installed the mono packages using Synaptic. 
>
> I set up a site called gallery and when I go to 
> http://localhost/gallery/default.aspx, I get the firefox dialog box to 
> open or save default.aspx. So default.aspx or any asp.net page is not 
> getting processed.
>
> I see this error in /var/log/apache2/error.log:
> *[Wed May 23 23:36:19 2007] [error] Failed running 
> '/usr/lib/pkgconfig/../../bin/mod-mono-server --filename 
> /tmp/mod_mono_server_gallery --applications 
> /gallery:/storage/Data/www/Gallery --nonstop (null) (null) (null) 
> (null) (null) (null) (null)'. Reason: No such file or directory*
>
> I see this process running:
>
> *www-data 13037 0.2 1.4 22520 10988 ? Ssl 23:36 0:00 /usr/bin/cli 
> /usr/lib/mono/2.0/mod-mono-server2.exe --filename 
> /tmp/.mod_mono_server2 --nonstop --appconfigdir /etc/mono-server2 
> --master*
>
> My /etc/apache2/sites-available/default file has the following entry 
> for my app:
> *Alias /gallery "/storage/Data/www/Gallery"
> AddMonoApplications gallery "/gallery:/storage/Data/www/Gallery"
> <Location /gallery>
> #Options Indexes MultiViews FollowSymLinks
> SetHandler mono
> </Location>*
>
> So as far as I can tell, everything is set up correctly. But ASP.NET 
> pages are not being process by apache/mod_mono. I'm new to 
> Linux/Apache so I may have screwed something up.
>
>  
> Can anyone tell me how to get this working?
>
>
> ----
> version info:
> mono --version:  Mono JIT compiler version 1.2.3.1
> mono-apache-server2: 1.2.1
> libapache2-mod-mon: 1.2.1-1.1
>
>
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel sites 
> <http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--> 
> to find flight and hotel bargains.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>   




More information about the Mono-list mailing list