Apache 2.2 vs. mod_mono (ASP.NET)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When Apache [httpd 2.2.11] starts up on my Fedora 10 laptop and attempts to load the module mod_mono, it fails with a message that states that it is unable to write to /var/run and create shared memory segments. See details from error_log below followed by version numbers of Apache, mod_mono and Fedora.

The sixth line in the error_log shows where the error is first detected. See the line containing "[crit]". Following the timestamped log messages are more error logging including stack traces.

There is already a bug filed on this problem that was filed in November 2008, Bug 472529 at https://bugzilla.redhat.com/show_bug.cgi?id=472529. The version of mod_mono, 2.0.6, available from the non-raw Fedora repositories predates this bug report and was last updated in October 2008.

Does anyone know what is happening with this bug? Has a fix been found and/or is it still being worked on?

The comments in the bug report make it look like a patch to fix the problem was found but never incorporated into F10, unless the fix involves modifying something other than mod_mono files themselves. The "Fix in Version" field of the bug report is empty.

Is there a workaround other than not loading the mod_mono module?

error_log when mod_mono is loaded during startup:
======================================

[Fri Apr 17 02:30:40 2009] [notice] core dump file size limit raised to 4294967295 bytes [Fri Apr 17 02:30:40 2009] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0 [Fri Apr 17 02:30:40 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Apr 17 02:30:41 2009] [notice] ModSecurity for Apache/2.5.9 (http://www.modsecurity.org/) configured. [Fri Apr 17 02:30:41 2009] [notice] Original server signature: Apache/2.2.11 (Fedora) [Fri Apr 17 02:30:41 2009] [crit] (13)Permission denied: Failed to create shared memory segment for backend 'XXGLOBAL' at '/var/run/mod_mono_dashboard_XXGLOBAL_1'. [Fri Apr 17 02:30:41 2009] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 17 02:30:41 2009] [notice] Digest: done

** (/usr/lib/mono/2.0/mod-mono-server2.exe:12651): CRITICAL **: _wapi_shm_file_open: shared file [/var/run/.wapi/shared_data-tardis.home.lebruns.com-Linux-i686-312-12-0] open error: No such file or directory

** (/usr/lib/mono/2.0/mod-mono-server2.exe:12651): CRITICAL **: _wapi_shm_attach: shared file [/var/run/.wapi/shared_data-tardis.home.lebruns.com-Linux-i686-312-12-0] open error
**
ERROR:shared.c:346:shm_semaphores_init: assertion failed: (tmp_shared != NULL)

** (/usr/lib/mono/2.0/mod-mono-server2.exe:12651): WARNING **: Thread (nil) may have been prematurely finalized
Stacktrace:


** (/usr/lib/mono/2.0/mod-mono-server2.exe:12651): WARNING **: Thread (nil) may have been prematurely finalized

** (/usr/lib/mono/2.0/mod-mono-server2.exe:12651): WARNING **: Thread (nil) may have been prematurely finalized

Native stacktrace:

/usr/lib/libmono.so.0 [0x221502]
[0x62a40c]
[0x62a416]
/lib/libc.so.6(gsignal+0x50) [0x656460]
/lib/libc.so.6(abort+0x188) [0x657e28]
/lib/libglib-2.0.so.0(g_assertion_message+0x123) [0x5577f3]
/lib/libglib-2.0.so.0 [0x557c8d]
/usr/lib/libmono.so.0 [0x32fdc4]
/usr/lib/libmono.so.0 [0x31c0b5]
/usr/lib/libmono.so.0(mono_once+0x53) [0x32a083]
/usr/lib/libmono.so.0 [0x31be08]
/usr/lib/libmono.so.0 [0x32e9f6]
/usr/lib/libmono.so.0 [0x2c083c]
/usr/lib/libmono.so.0(mono_runtime_init+0x3d) [0x2c98dd]
/usr/lib/libmono.so.0 [0x1c9dc5]
/usr/lib/libmono.so.0(mono_main+0x3c1) [0x20d071]
/usr/bin/mono [0x8048572]
/lib/libc.so.6(__libc_start_main+0xe5) [0x6416e5]
/usr/bin/mono [0x80484b1]

Debug info from gdb:

[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb80a06e0 (LWP 12651)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x0062a416 in __kernel_vsyscall ()
* 1 Thread 0xb80a06e0 (LWP 12651) 0x0062a416 in __kernel_vsyscall ()

Thread 1 (Thread 0xb80a06e0 (LWP 12651)):
#0 0x0062a416 in __kernel_vsyscall ()
#1 0x0012c173 in __read_nocancel () from /lib/libpthread.so.0
#2 0x0022163e in ?? () from /usr/lib/libmono.so.0
#3 <signal handler called>
#4 0x0062a416 in __kernel_vsyscall ()
#5 0x00656460 in raise () from /lib/libc.so.6
#6 0x00657e28 in abort () from /lib/libc.so.6
#7 0x005577f3 in g_assertion_message () from /lib/libglib-2.0.so.0
#8 0x00557c8d in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#9 0x0032fdc4 in ?? () from /usr/lib/libmono.so.0
#10 0x0031c0b5 in ?? () from /usr/lib/libmono.so.0
#11 0x0032a083 in mono_once () from /usr/lib/libmono.so.0
#12 0x0031be08 in ?? () from /usr/lib/libmono.so.0
#13 0x0032e9f6 in ?? () from /usr/lib/libmono.so.0
#14 0x002c083c in ?? () from /usr/lib/libmono.so.0
#15 0x002c98dd in mono_runtime_init () from /usr/lib/libmono.so.0
#16 0x001c9dc5 in ?? () from /usr/lib/libmono.so.0
#17 0x0020d071 in mono_main () from /usr/lib/libmono.so.0
#18 0x08048572 in mono_main ()
#19 0x006416e5 in __libc_start_main () from /lib/libc.so.6
#20 0x080484b1 in mono_main ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

[Fri Apr 17 02:30:42 2009] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Fri Apr 17 02:30:42 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Apr 17 02:30:42 2009] [notice] Apache/2.2.11 (Unix) DAV/2 mod_auth_pgsql/2.0.3 mod_ssl/2.2.11 OpenSSL/0.9.8g Apache/2.2.0 (Fedora) Line-Edit/1.0.0 mod_mono/2.0 mod_nss/2.2.10 NSS/3.12.2.0 PHP/5.2.6 mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations

Setup:
=====
Fedora: 2.6.27.21-170.2.56.fc10.i86 (32 bit)
Apache: 2.2.11
mod_mono: 2.0-6.fc10.i386

--
Steven F. LeBrun

Quote: /"One day a peacock. The next day a feather duster."/
— Democrat Patrick Quinn, Illinois lieutenant governor



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux