It appears I'm among the couple of looking to get Mono's mod_mono to operate on httpd on Fedora 10.

Mono is installed and also the httpd is set up to make use of mod_mono.conf

However when I actually do this:

service httpd start

I recieve this error:

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

After I do that:


I recieve this error:

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

  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/ [0x34f1a76812]
        /lib64/ [0x315180f0f0]
        /lib64/ [0x3150c32f05]
        /lib64/ [0x3150c34a73]
        /lib64/ [0x34f125d7f3]
        /usr/lib64/ [0x34f1a9e7a8]
        /usr/lib64/ [0x34f1a7d080]

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.


Linux version:

Fedora release 10 (Cambridge)

Apache (httpd) version:

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_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -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 version is 2.4 and Mono -V provides me with this:

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



The very first error you are getting is really a known problem that should not affect you. See this post.

For the 2nd error, should not you be utilising "xsp2" rather than just "xsp"?

In the event that does not work, I recommend you rather just try to install the most recent Mono build from source. You will find instructions here for Ubuntu, but it ought to be similar enough that you should follow.

I've attempted to set up again mono, mod_mono, xsp form distribution, then from source using 2.2, 2.4 and svn.

The issue is using the kernel 2.6.24-23-xen present on servers. It includes a bug that's been fixed within the following versions . The issue is the 64bit XEN kernel doesn't honor the MAP_32BIT flag.

And also to add insult to injuries, i am unable to upgrade the popcorn kernels since it is a VPS and that i cannot install popcorn kernels.