2009-06-09 7 views
0

Il semble que je suis l'un des rares essayant d'obtenir le mod_mono de Mono pour fonctionner sur httpd sur Fedora 10.Mono (mod_mono) et Apache (httpd) sur Fedora 10: ne pas démarrer correctement

Mono est installé et le httpd est configuré pour utiliser mod_mono.conf

Mais quand je fais ceci:

service httpd start 

je reçois cette erreur:

Starting httpd: [crit] (13)Permission denied: 
Failed to attach to existing dashboard, 
and removing dashboard file '/var/run/mod_mono_dashboard_XXGLOBAL_1' failed 
(Permission denied). 

Quand je fais ceci:

xsp 

Je reçois cette erreur:

At System.OutOfMemoryException:.ctor (string), offset 0x18 
Addr: 0x7f8e73d6e150 
Callee: System.SystemException:.ctor (string) 
** 
ERROR:tramp-amd64.c:99:mono_arch_patch_callsite: code should not be reached 
Stacktrace: 

    at System.OutOfMemoryException..ctor (string) <0xffffffff> 
    at System.OutOfMemoryException..ctor (string) <0x00018> 
    at (wrapper runtime-invoke) System.Object.runtime_invoke_void__this___string (object,intptr,intptr,intptr) <0xffffffff> 

Native stacktrace: 

     /usr/lib64/libmono.so.0 [0x34f1a76812] 
     /lib64/libpthread.so.0 [0x315180f0f0] 
     /lib64/libc.so.6(gsignal+0x35) [0x3150c32f05] 
     /lib64/libc.so.6(abort+0x183) [0x3150c34a73] 
     /lib64/libglib-2.0.so.0(g_assertion_message+0x113) [0x34f125d7f3] 
     /usr/lib64/libmono.so.0 [0x34f1a9e7a8] 
     /usr/lib64/libmono.so.0 [0x34f1a7d080] 
     [0x7f8e741d016e] 

Debug info from gdb: 


================================================================= 
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. 
================================================================= 

Aborted 

version Linux:

Fedora release 10 (Cambridge) 

version d'Apache (httpd):

Server version: Apache/2.2.11 (Unix) 
Server built: Mar 6 2009 09:12:52 
Server's Module Magic Number: 20051115:21 
Server loaded: APR 1.3.3, APR-Util 1.3.4 
Compiled using: APR 1.3.3, APR-Util 1.3.4 
Architecture: 64-bit 
Server MPM:  Prefork 
    threaded:  no 
    forked:  yes (variable process count) 
Server compiled with.... 
-D APACHE_MPM_DIR="server/mpm/prefork" 
-D APR_HAS_SENDFILE 
-D APR_HAS_MMAP 
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) 
-D APR_USE_SYSVSEM_SERIALIZE 
-D APR_USE_PTHREAD_SERIALIZE 
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT 
-D APR_HAS_OTHER_CHILD 
-D AP_HAVE_RELIABLE_PIPED_LOGS 
-D DYNAMIC_MODULE_LIMIT=128 
-D HTTPD_ROOT="/etc/httpd" 
-D SUEXEC_BIN="/usr/sbin/suexec" 
-D DEFAULT_PIDLOG="logs/httpd.pid" 
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status" 
-D DEFAULT_LOCKFILE="logs/accept.lock" 
-D DEFAULT_ERRORLOG="logs/error_log" 
-D AP_TYPES_CONFIG_FILE="conf/mime.types" 
-D SERVER_CONFIG_FILE="conf/httpd.conf" 

Mono la version est 2.4 et Mono -V g il me donne ceci:

Mono JIT compiler version 2.0.1 (tarball) 
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com 
     TLS:   __thread 
     GC:   Included Boehm (with typed GC) 
     SIGSEGV:  altstack 
     Notifications: epoll 
     Architecture: amd64 
     Disabled:  none 

Aidez-nous s'il vous plaît?

Merci.

Répondre

0

J'ai essayé d'installer à nouveau la distribution mono, mod_mono, xsp, puis de la source en utilisant 2.2, 2.4 et svn.

Le problème est avec le noyau 2.6.24-23-xen présent sur les deux serveurs. Il a un bug qui a été corrigé dans les versions suivantes. Le problème est le noyau XEN 64 bits n'honore pas l'indicateur MAP_32BIT. Et pour ajouter l'insulte à la blessure, je ne peux pas améliorer les noyaux parce que c'est un VPS et je ne peux pas installer des noyaux.

0

La première erreur que vous obtenez est un problème connu qui ne devrait pas vous affecter. See this post. En ce qui concerne la deuxième erreur, ne devriez-vous pas utiliser "xsp2" au lieu de "xsp" seulement?

Si cela ne fonctionne pas, je vous suggère plutôt d'essayer d'installer la dernière version de Mono à partir de la source. Il y a instructions here pour Ubuntu, mais il devrait être assez similaire pour que vous puissiez le suivre.

Questions connexes