[Mono-list] .wapi problem with mod_mono
Schneickert, Andre
Andre.Schneickert at escs.de
Mon Nov 21 04:57:27 EST 2005
Hello,
I'm struggeling with getting mod_mono tu run under Lineox 4.053 (equal to Red Hat Enterprise Server 4).
The installed Apache version is 2.052. Apache runs with user and group "apache".
The mono and mod_mono versions are 1.1.10 (mono installed from rpm, mod_mono compiled from source).
I set up the test directory /usr/lib/xsp/test in httpd.conf as follows:
LoadModule mono_module modules/mod_mono.so
Alias /test "/usr/lib/xsp/test"
MonoApplications "test:/usr/lib/xsp/test"
<Location /test>
SetHandler mono
</Location>
Restarting Apache gave me these errors first:
** (/usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe:6380): CRITICAL **: _wapi_shm_attach: mmap error: Permission denied
** ERROR **: file handles.c: line 125 (shared_init): assertion failed: (_wapi_shared_layout != NULL)
aborting...
I've read a posting in this list from someone facing the same problem.
I followed the advice given to him but unfortunately, I didn't succeed. It looks like a permission problem with /tmp/.wapi.
The directory ownership was set with apache.apache. That resulted in the above errors. Changing the owner to root results in this error:
/tmp/.wapi: Operation not permitted
The test page works just fine with xsp, but I'd like to get it to run with Apache...
Gonzales mentioned in a post:
"Make sure that the user running apache is the same that runs
mod-mono-server and owns /tmp/.wapi directory."
I'm new to Linux, so please excuse my question:
How can I change the account under which the mod-mono-server will run?
Apache runs under user and group "apache". How can I run mod-mono-server under the same account?
Any help is greatly appreciated!
Regards,
André
More information about the Mono-list
mailing list