[Mono-list] mmap problem with mod_mono

Sébastien Robitaille sebastien.robitaille@croesus.com
Thu, 5 May 2005 15:35:42 -0400


Hello,

I am trying to use mod_mono with Apache for the first time and I am facing the following problem:

When I try to access my asp web page, I receive a "Service Temporarily Unavailable" message.
Also, in the apache error log file, the following message appears several times:

** (/usr/lib/mono/1.0/mod-mono-server.exe:2784): CRITICAL **: _wapi_shm_attach: mmap error: Permission denied
** ERROR **: file handles.c: line 123 (shared_init): assertion failed: (_wapi_shared_layout != NULL)
aborting...

I changed the permissions on my /tmp directory (chmod 777 /tmp) but the problem is still there.
The following file exists on my disk (the file used with mmap): /tmp/.wapi/shared_data-MACHINENAME-5-0
I tried removing the .wapi directory.
I also ran xsp instead of Apache with success.

Any idea on what could be wrong?

Note: I am using mono-1.1.7, Apache-2.0.52 and mod_mono-1.0.9 on FC3.

Thanks.
Sébastien