[Mono-list] Closer still

John (Doc) Soliday jlsolida@gapac.com
05 Sep 2003 07:50:49 -0400


On Fri, 2003-09-05 at 07:42, John (Doc) Soliday wrote:
> On Thu, 2003-09-04 at 17:39, yoros@wanadoo.es wrote:
> > Hi,
> > 
> > As I can see in your mail, at least you get something from the server.
> > Since a few weeks I have a lot of problems with mod_mono, it compiles
> > right but when pointing to mono URL I get a blank page (and no log in
> > error_log). I don't know what's going on. I've got mono CVS, mod_mono
> > CVS and Apache 2.0.43.
> > 
> > Please, answer me with anything...
> 
> Sounds like you may be having the same problem I was.  You have to run
> mono mod-mono-server.exe prior to starting up httpd.  I didn't see this
> in the INSTALL file mod-mono-server.exe creates a socket
> (/tmp/mod_mono_server) that allows apache to communicate to mono (or
> mod_mono).  My experience is you must be in the directory that's one
> level below where the aspx files are when you start mono
> mod-mono-server.exe.  The xsp build puts them in test by default, so I
> linked mono to test (ln -s test mono).

Oh, one more thing...you'll need to do one of the following since
mod-mono-server.exe creates the socket owned by root with permissions
755.  I'm not sure which of these is better (I've done both):

chown apache:apache /tmp/mod_mono_server
chmod 777 /tmp/mod_mono_server

If you don't do one of the above, you'll get permission denied in your
apache error_log because apache can't write to the socket.

> 
> Hope this helps,
> 
> > 
> > See you,
> > 
> >     Pedro
-- 
John (Doc) Soliday
Commerce Services
(404) 652-3343
jlsolida@gapac.com