> Get the srpm for the mod_mono module, modify the spec file to configure the
> sources> with --enable-debug. Install the new rpm and run your app - the
> apache error log> should contain more information. Basically what's happening
> is that either the> mod-mono-server.exe backend isn't found or that it's
> failing at the start for some> reason (sigabrt, sigsegv etc). You might want
> to use the strace tool to attach to> the apache process and have it follow
> forks (-f or -ff if you want separate files)> to see if the mod-mono-server
> process is started at all.
Hi, i rebuilt mod_mono with:
# make uninstall; make clean
# ./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono
--with-apr-config=/usr/lib/httpd/modules --enable-debug
# make; make install
I now get the following in the error log, however i cant see why it is failing:
[EMAIL PROTECTED] httpd]# cat logs/error_log[Wed Jul 16 03:15:30 2008] [notice]
SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0[Wed
Jul 16 03:15:30 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)[Wed Jul 16 03:15:30 2008] [warn] creating mono server
config[Wed Jul 16 03:15:30 2008] [warn] Temporarily switching to target
uid/gid[Wed Jul 16 03:15:30 2008] [warn] creating dashboard mutex =
/tmp/mod_mono_dashboard_XXGLOBAL_1.lock[Wed Jul 16 03:15:30 2008] [warn]
Requested locking mechanism name: (null)[Wed Jul 16 03:15:30 2008] [warn]
Setting mutex permissions for /tmp/mod_mono_dashboard_XXGLOBAL_1.lock[Wed Jul
16 03:15:30 2008] [warn] removing dashboard file
'/tmp/mod_mono_dashboard_XXGLOBAL_1'[Wed Jul 16 03:15:30 2008] [warn] creating
dashboard '/tmp/mod_mono_dashboard_XXGLOBAL_1'[Wed Jul 16 03:15:30 2008] [warn]
Switching back to root[Wed Jul 16 03:15:30 2008] [warn] creating dir config for
(null)[Wed Jul 16 03:15:30 2008] [notice] Digest: generating secret for digest
authentication ...[Wed Jul 16 03:15:30 2008] [notice] Digest: done[Wed Jul 16
03:15:30 2008] [warn] Initializing handler[Wed Jul 16 03:15:30 2008] [warn]
Socket file name /tmp/mod_mono_server_global[Wed Jul 16 03:15:30 2008] [warn]
try_connect: -1[Wed Jul 16 03:15:30 2008] [warn] forking XXGLOBAL[Wed Jul 16
03:15:30 2008] [warn] Applications: (null)[Wed Jul 16 03:15:30 2008] [warn]
Config file: (null)[Wed Jul 16 03:15:30 2008] [warn] Config dir.: (null)[Wed
Jul 16 03:15:30 2008] [warn] Listen port: (null)[Wed Jul 16 03:15:30 2008]
[warn] Listen address: (null)[Wed Jul 16 03:15:30 2008] [warn] switching forked
process group to 48[Wed Jul 16 03:15:30 2008] [warn] switching forked process
user to apache[Wed Jul 16 03:15:30 2008] [warn] child started[Wed Jul 16
03:15:30 2008] [warn] PATH: /sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:15:30
2008] [warn] serverdir: /opt/mono/bin[Wed Jul 16 03:15:30 2008] [warn] PATH
after: /opt/mono/bin:/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:15:30 2008]
[notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations[Wed Jul
16 03:16:05 2008] [warn] config = 0x99bd380[Wed Jul 16 03:16:05 2008] [warn]
dir_config = 0x99bd798[Wed Jul 16 03:16:05 2008] [warn] idx = -1[Wed Jul 16
03:16:05 2008] [warn] Alias not found. Checking for auto-applications.[Wed Jul
16 03:16:05 2008] [warn] Socket file name /tmp/mod_mono_server_global[Wed Jul
16 03:16:05 2008] [warn] try_connect: -1[Wed Jul 16 03:16:05 2008] [warn] After
setup_socket[Wed Jul 16 03:16:05 2008] [warn] No backend found, will start a
new copy.[Wed Jul 16 03:16:05 2008] [warn] Acquiring the
/tmp/mod_mono_dashboard_XXGLOBAL_1.lock lock for backend start[Wed Jul 16
03:16:05 2008] [warn] Socket file name /tmp/mod_mono_server_global[Wed Jul 16
03:16:05 2008] [warn] try_connect: -1[Wed Jul 16 03:16:05 2008] [warn] forking
XXGLOBAL[Wed Jul 16 03:16:05 2008] [warn] Applications: (null)[Wed Jul 16
03:16:05 2008] [warn] Config file: (null)[Wed Jul 16 03:16:05 2008] [warn]
Config dir.: (null)[Wed Jul 16 03:16:05 2008] [warn] Listen port: (null)[Wed
Jul 16 03:16:05 2008] [warn] Listen address: (null)[Wed Jul 16 03:16:05 2008]
[warn] child started[Wed Jul 16 03:16:05 2008] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:05 2008] [warn] serverdir:
/opt/mono/bin[Wed Jul 16 03:16:05 2008] [warn] PATH after:
/opt/mono/bin:/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:05 2008] [warn]
Started new backend, sleeping 2s to let it configure[Wed Jul 16 03:16:07 2008]
[warn] Socket file name /tmp/mod_mono_server_global[Wed Jul 16 03:16:07 2008]
[warn] try_connect: -1[Wed Jul 16 03:16:07 2008] [warn] After setup_socket[Wed
Jul 16 03:16:07 2008] [warn] No backend found, will start a new copy.[Wed Jul
16 03:16:07 2008] [warn] Acquiring the /tmp/mod_mono_dashboard_XXGLOBAL_1.lock
lock for backend start[Wed Jul 16 03:16:07 2008] [warn] Socket file name
/tmp/mod_mono_server_global[Wed Jul 16 03:16:07 2008] [warn] try_connect:
-1[Wed Jul 16 03:16:07 2008] [warn] forking XXGLOBAL[Wed Jul 16 03:16:07 2008]
[warn] Applications: (null)[Wed Jul 16 03:16:07 2008] [warn] Config file:
(null)[Wed Jul 16 03:16:07 2008] [warn] Config dir.: (null)[Wed Jul 16 03:16:07
2008] [warn] Listen port: (null)[Wed Jul 16 03:16:07 2008] [warn] Listen
address: (null)[Wed Jul 16 03:16:07 2008] [warn] child started[Wed Jul 16
03:16:07 2008] [warn] PATH: /sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:07
2008] [warn] serverdir: /opt/mono/bin[Wed Jul 16 03:16:07 2008] [warn] PATH
after: /opt/mono/bin:/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:07 2008]
[warn] Started new backend, sleeping 2s to let it configure[Wed Jul 16 03:16:09
2008] [warn] Socket file name /tmp/mod_mono_server_global[Wed Jul 16 03:16:09
2008] [warn] try_connect: -1[Wed Jul 16 03:16:09 2008] [warn] After
setup_socket[Wed Jul 16 03:16:09 2008] [warn] No backend found, will start a
new copy.[Wed Jul 16 03:16:09 2008] [warn] Acquiring the
/tmp/mod_mono_dashboard_XXGLOBAL_1.lock lock for backend start[Wed Jul 16
03:16:09 2008] [warn] Socket file name /tmp/mod_mono_server_global[Wed Jul 16
03:16:09 2008] [warn] try_connect: -1[Wed Jul 16 03:16:09 2008] [warn] forking
XXGLOBAL[Wed Jul 16 03:16:09 2008] [warn] Applications: (null)[Wed Jul 16
03:16:09 2008] [warn] Config file: (null)[Wed Jul 16 03:16:09 2008] [warn]
Config dir.: (null)[Wed Jul 16 03:16:09 2008] [warn] Listen port: (null)[Wed
Jul 16 03:16:09 2008] [warn] Listen address: (null)[Wed Jul 16 03:16:09 2008]
[warn] child started[Wed Jul 16 03:16:09 2008] [warn] PATH:
/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:09 2008] [warn] serverdir:
/opt/mono/bin[Wed Jul 16 03:16:09 2008] [warn] PATH after:
/opt/mono/bin:/sbin:/usr/sbin:/bin:/usr/bin[Wed Jul 16 03:16:09 2008] [warn]
Started new backend, sleeping 2s to let it configure[Wed Jul 16 03:16:11 2008]
[error] Failed to connect to mod-mono-server after several attempts to spawn
the process.
Any ideas anyone?
Many thanks,
Chris
_________________________________________________________________
Find the best and worst places on the planet
http://clk.atdmt.com/UKM/go/101719807/direct/01/
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list