[Mono-list] mod_mono still not working after an upgrade

Joshua Tauberer jit at occams.info
Tue Sep 25 17:39:55 EDT 2007


Ben Clewett wrote:
> 
> Dear Mono,
> 
> I am still having terrible problems getting mod_mono working after an 
> upgrade to SUSE 10.2.
> 
> I get lots of errors like:
> 
> [Tue Sep 25 14:24:20 2007] [crit] Failed to remove dashboard file 
> '/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible. 
> Operation not permitted
> 
> The only way to reliably start mono seems to be to stop apache, kill all 
> instances of mod_mono which have failed to stop, and restart apache.
> 
> The mono control panel doesn't work at all.
> 
> This causes downtime on servers which should never need downtime.
> 
> I have seen lost of postings about this, but none of the suggested fix's 
> seem to work.
> 
> I have this directive in a virtual host:
> 
> ------------------------------
>   AddMonoApplications main_webservice "/ws:/usr/local/ws/"
>   MonoMaxMemory main_webservice 134217728
>   <Location /ws>
>     MonoSetServerAlias main_webservice
>     SetHandler mono
>     Order allow,deny
>     Allow from all
>   </Location>
> 
>   <Location /mono>
>    SetHandler mono-ctrl
>    Order Deny,Allow
>    Allow from 172.16
>   </Location>
> ------------------------------
> 
> Please please if any person knows how to fix this, and recover my 
> serious failing opinion of mod_mono, can they let me know!

What are the permissions on the mentioned file at that point? Is it able 
to be deleted by the Apache process (could depend on permissions on /tmp 
too).

You might try adding:
  export MOD_MONO_LOCKING_MECHANISM=FLOCK
in /etc/sysconfig/httpd, or the equivalent, to set the var for the httpd 
process.

-- 
- Josh Tauberer

http://razor.occams.info

"Yields falsehood when preceded by its quotation!  Yields
falsehood when preceded by its quotation!" Achilles to
Tortoise (in "Gödel, Escher, Bach" by Douglas Hofstadter)


More information about the Mono-list mailing list