[Mono-list] Mod_mono getting 503 errors part 2 (fedora core 4)

Phillip Fry zoiddy001 at yahoo.com
Thu Sep 29 03:00:31 EDT 2005


Hi, 

Thanks to those who replied, I am still getting
permission problems when I try to run apache 2 with
mod-mono.  This time there is more info.   

I am running fedeora core 4 with httpd 2.0.54.
Downloaded the src for mono 1.1.9.1, xsp, and
mod-mono.  Compiled them all with --prefix /usr and
installed.  

I seem to be able to run mod-mono-server.exe fine when
running as apache on the console, but when apache try
to run it, it always gives  Access denied.  I also
tried to use TCP port (9999) instead of Unix domain
socket. Same result.   my /tmp dir is rwx by everyone.
 I just can't see what else is causing the Access
denied error message. 

Have anyone gotten mod-mono to work on fedora core 4
at all?

Thanks for any help you can give. 

error_log from apache
---------------------------------

[Thu Sep 29 14:37:52 2005] [warn] Initializing handler
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [notice] Apache configured
-- resuming normal operations
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] Mono Child Init
[Thu Sep 29 14:37:52 2005] [warn] Socket file name
/tmp/mod_mono_server
[Thu Sep 29 14:37:52 2005] [warn] errno in try_connect
2 No such file or directory
[Thu Sep 29 14:37:52 2005] [warn] try_connect: -1
[Thu Sep 29 14:37:52 2005] [warn] forking default
[Thu Sep 29 14:37:52 2005] [warn] Applications:
/demo:/usr/local/lib/xsp/test
[Thu Sep 29 14:37:52 2005] [warn] Config file: (null)
[Thu Sep 29 14:37:52 2005] [warn] Config dir.: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen port: (null)
[Thu Sep 29 14:37:52 2005] [warn] Listen address:
(null)
[Thu Sep 29 14:37:52 2005] [warn] child started
[Thu Sep 29 14:37:52 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:52 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:52 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:52 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
mod-mono-server
Listening on: /tmp/mod_mono_server
Root directory: /usr/local/lib/xsp/test
Error: Access denied
[Thu Sep 29 14:37:53 2005] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
[Thu Sep 29 14:37:53 2005] [warn] monodir: /usr/bin
[Thu Sep 29 14:37:53 2005] [warn] serverdir:
/usr/lib/xsp/1.0
[Thu Sep 29 14:37:53 2005] [warn] PATH after:
/usr/bin:/usr/lib/xsp/1.0:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
Another mod-mono-server with the same arguments is
already running.
mod-mono-server
Listening on: /tmp/mod_mono_server
Root directory: /usr/local/lib/xsp/test
Error: Access denied
Another mod-mono-server with the same arguments is
already running.
Another mod-mono-server with the same arguments is
already running.
Another mod-mono-server with the same arguments is
already running.
mod-mono-server
Listening on: /tmp/mod_mono_server
Root directory: /usr/local/lib/xsp/test
Error: Access denied
mod-mono-server
Listening on: /tmp/mod_mono_server
Root directory: /usr/local/lib/xsp/test
Error: Access denied
 


	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 



More information about the Mono-list mailing list