[Mono-list] mod_mono, xsp and apache problem

Tiago Lima tiago.lima@vianw.pt
Mon, 29 Dec 2003 10:39:26 +0000


Strange...
For me it works fine but I have mono installed in /usr/bin ...
I could something to be with apache... I remember configuring apache and 
creating a directory (for me its in /home/httpd/.wapi) for the apache user... 
I your case (and for the error message) perhaps in /var/www/.wapi... so 
apache user can create the shared memory files...

	Tiago Lima

On Monday 29 December 2003 07:27, babar haq wrote:
> Hi
>
> > Another option is to start mod-mono with apache user like this:
> >
> > 	sudo -u apache /usr/local/bin/mono /usr/local/bin/mod-mono-server.exe
> > ... etc with the other params..
>
> sudo -u apache /usr/local/bin/mono /usr/local/bin/mod-mono-server.exe
> --root . --applications /mono:.
> ***************************************************************************
>*********** ** (/usr/local/bin/mod-mono-server.exe:2631): CRITICAL **: :
> shared file [/var/www/.wapi/shared_data-1-0] open error: No such file or
> directory
>
> ** (/usr/local/bin/mod-mono-server.exe:2631): CRITICAL **: : shared file
> [/var/www/.wapi/shared_data-1-0] open error
>
> ** (/usr/local/bin/mod-mono-server.exe:2631): WARNING **: Failed to attach
> shared memory! Falling back to non-shared handles cannot open assembly
> /usr/local/bin/mod-mono-server.exe
> ***************************************************************************
>************ Any hope????
> Babar