[Mono-dev] Unable to create unix domain socket with mod-mono underapache2 fc4
nilyen at gmail.com
Fri Sep 30 13:51:06 EDT 2005
I'm having the exact same problem. Tried removing the .wapi folder but
doesn't help either. Been searching all over the place, but can't find
anything to fix it.
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Phillip Fry
Sent: Friday, September 30, 2005 3:49 AM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] Unable to create unix domain socket with mod-mono
I am running into a strange problem with mod mono
server with apache 2.0.54 on fedora core 4.
I got all the pre built yum depots for mono. Compiled
and installed mod_mono. Tried the example, but I
always get 503 error. I tried deleting /tmp/.wapi
dirs that still didn't help. I turned on debuging in
mod-mono and added more output to mod-mono-server.exe
and this is what I got.
[Fri Sep 30 15:30:23 2005] [warn] child started
[Fri Sep 30 15:30:23 2005] [warn] PATH:
[Fri Sep 30 15:30:23 2005] [warn] monodir: /usr/bin
[Fri Sep 30 15:30:23 2005] [warn] serverdir:
[Fri Sep 30 15:30:23 2005] [warn] PATH after:
Listening on: /tmp/mod_mono_server
Root directory: /tmp
Error: System.Net.Sockets.SocketException: Access
in [0x0005a] System.Net.Sockets.Socket:Bind
in <0x0004b> Mono.WebServer.ApplicationServer:Start
in (wrapper remoting-invoke-with-check)
in <0x00b6e> Mono.XSP.Server:Main (System.String
I am puzzled why we can't create a unix domain socket
in /tmp. I put in some code in mod-mono-server.exe to
create regular file on start up in /tmp and that works
fine. /tmp is rwx by everyone but I never saw any
socket file in there created by mod_mono on apache.
Is there some env variable that apache is not setting
that mono needs to create a socket in /tmp. Seems odd
enough that creating a regular file is OK but a unix
domain socket is denied. Xsp and mod-mono-server all
works fine on the command line.
It would be greatly appreciated if anyone can shed
some light on this strange behavior.
Yahoo! Mail - PC Magazine Editors' Choice 2005
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list