[Mono-list] Problems with mod_mono

Daniel Lopez daniel@rawbyte.com
Mon, 13 Jan 2003 02:38:49 -0800


> Got the same problem. I solved it (partially and temporarily) by
> 
> chmod 0777 /var/www

I just sent a mail about this, I will add it to the docs.
Moving forward, the right way to do this is to modify mono so it can be
configured where the .wapi/ directory gets created, then to make it be
Apache's var/ directory. 

> (which is obviously the WRONG WAY to do it).

yes :)

> Afterwards, I got a lot of errors like "finalization cycle involving ...."
> in "httpd/error_log", which I couldn't get rid of.
> 
> Anybody can help?

But does it run the examples? The warning has to do with garbage collection,
Ihave not looked into it, since everything else worked for me.
Are you testing this agains 0.18 or 0.17? 

Best regards

Daniel


> Jarek
> 
> ----- Original Message -----
> From: "Fawad Halim" <fawad@fawad.net>
> To: <mono-list@ximian.com>
> Sent: Monday, January 13, 2003 6:37 AM
> Subject: [Mono-list] Problems with mod_mono
> 
> 
> > Hi,
> > I installed mod_mono on Mandrake 9. As mandrake puts the include files
> > in /usr/include/apache, I changed the
> > header="...
> > and
> > CFLAGS="$CFLAGS -I
> > in configure to use that directory. Copied it over to the modules
> > directory, and put the directives
> > LoadModule mono_module                  modules/libmod_mono.so
> > and
> > MonoApplication /mono /usr/local/fawad/mono/cvs/xsp/server/test
> > in /etc/httpd/conf/httpd.conf.
> >
> > When I try to access the index.aspx page in the xsp test directory, I
> > get an error
> >
> > [root@chuckie mod_mono]# lynx -source http://localhost/mono/index.aspx
> >
> > Looking up localhost
> > localhost
> > Making HTTP connection to localhost
> > Sending HTTP request.
> > HTTP request sent; waiting for response.
> > Alert!: Unexpected network read error; connection aborted.
> > Can't Access `http://localhost/mono/index.aspx'
> > Alert!: Unable to access document.
> >
> > lynx: Can't access startfile
> >
> > Error_log has the line
> > ** (process:30812): CRITICAL **: : shared file
> > [/var/www/.wapi/shared_data-0] open error: No such file or directory
> > in it.
> > When I put the mod_mono directives in, I can't access other files from
> > the webserver as well.
> >
> > Any idea what the problem could be? I am using Apache2-2.0.40ADVX
> >
> > Regards
> >
> > -fawad
> >
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list