[Mono-dev] mod_mono for ASP.NET 2.0 ..

schizette schizette at free.fr
Sun May 20 11:50:50 EDT 2007


Hi,

I'm using Ubuntu Server, so I don't have SELinux ...

Thanks for your help anyway ;)

-----Original Message-----
From: Rafael Teixeira [mailto:monoman at gmail.com] 
Sent: dimanche 20 mai 2007 16:41
To: schizette
Cc: Mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] mod_mono for ASP.NET 2.0 ..

See if your SELinux settings allow mono to generate and execute native
code on-the-fly, for the needed users (normally 'apache'). The default
settings of SELinux for Fedora always give me trouble, for example.

Typically that is one of the reasons that cause mono programs to
'disappear' in the air (but the system log tells the history
normally).

:)

On 5/19/07, schizette <schizette at free.fr> wrote:
>
>
>
>
> Hi,
>
>
>
> I've just set up a new apache server with mod_mono. I've taken everything
> needed from svn (mono, mcs, xsp and mod_mono)
>
> I've followed the official guide from the mono official website.
>
> But I've a little problem.
>
> When I try to access to my asp.net 2.0 website, I get a 503/500 error.
>
> I've noticed that I've got many mod-mono-server2 process when I start
> apache, and they "disappear" when I'm accessing to my website.
>
>
>
> /tmp/mod_mono_ser
>
> www-data 16610  0.0  0.9  12820  2300 ?        Rsl  11:59   0:00
> /usr/local/bin/mono /usr/local/lib/mono/2.0/mod-mono-server2.exe --filename
> /tmp/mod_mono_se
>
> www-data 16621  0.0  1.0  12888  2484 ?        Rsl  11:59   0:00
> /usr/local/bin/mono /usr/local/lib/mono/2.0/mod-mono-server2.exe --filename
> /tmp/mod_mono_se
>
>
>
> Here is an extract of my error.log
>
>
>
> [Sat May 19 11:58:13 2007] [notice] Apache/2.2.3 (Ubuntu) mod_mono/1.2.4
> PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal
> operations
>
> [Sat May 19 11:59:27 2007] [notice] caught SIGTERM, shutting down
>
> [Sat May 19 11:59:32 2007] [notice] Apache/2.2.3 (Ubuntu) mod_mono/1.2.4
> PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal
> operations
>
>
>
>
>
> Here is a "ps aux" extract after site access
>
> root     16560  0.0  2.7  21140  6612 ?        Ss   11:59   0:00
> /usr/sbin/apache2 -k start
>
> www-data 16563  0.0  1.6  21140  3972 ?        S    11:59   0:00
> /usr/sbin/apache2 -k start
>
> www-data 16565  0.0  2.9  24372  7148 ?        Ssl  11:59   0:00
> /usr/local/bin/mono /usr/local/lib/mono/1.0/mod-mono-server.exe --filename
> /tmp/mod_mono_ser
>
>
>
> I guess there is a problem with mod-mono-server2 ..
>
>
>
> Any ideas ?
>
>
>
> Thanks,
>
> Pierre-Alain DAVID.
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw




More information about the Mono-devel-list mailing list