[Mono-aspnet-list] Mod_Mono & Apache: Failed to create shared memory segment for backend

Lucifer_UK robert.sindall at gmail.com
Fri Jun 12 03:06:22 EDT 2009


I have successfully installed mod_mono 2.4 and httpd on Fedora 11 and got
httpd to start.

But when I add:

<VirtualHost XXX.XXX.XXX.XXX:80>
  ServerName mydomain.com
  ServerAlias www.mydomain.com
  ServerAdmin admin at mydomain.com
  DocumentRoot /usr/lib64/xsp/test/

  MonoServerPath mydomain.com "/usr/lib64/mono/2.0/mod-mono-server2.exe"

  # To obtain line numbers in stack traces you need to do two things: 
  # 1) Enable Debug code generation in your page by using the Debug="true" 
  #    page directive, or by setting <compilation debug="true" /> in the 
  #    application's Web.config
  # 2) Uncomment the MonoDebug true directive below to enable mod_mono
  MonoDebug mydomain.com true

  # The MONO_IOMAP environment variable can be configured to provide 
  # platform abstraction
  # for file access in Linux.  Valid values for MONO_IOMAP are:
  #    case
  #    drive
  #    all
  # Uncomment the line below to alter file access behavior for the 
  # configured application
  MonoSetEnv mydomain.com MONO_IOMAP=all

  MonoApplications mydomain.com "/:/usr/lib64/xsp/test/"
  <Location "/">
    Allow from all
    Order allow,deny
    MonoSetServerAlias mydomain.com
    SetHandler mono

And then try to restart:

# sudo service restart http

I get this error:

Starting httpd: [Fri Jun 12 06:43:18 2009] [crit] (17)File exists: Failed to
shared memory segment for backend 'XXGLOBAL' at '/var/run/mod_mono

Please help!


View this message in context: http://www.nabble.com/Mod_Mono---Apache%3A-Failed-to-create-shared-memory-segment-for-backend-tp23993865p23993865.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list