[Mono-list] mod_mono on SuSE 9.2 problems

Josh Schlesinger mono-list at jschlesinger.net
Sat May 28 18:30:42 EDT 2005


William,

I don't know if you have solved this but I was having the same problem running Suse 9.2. I solved the problem by commenting out 
the following section from the httpd.conf:

# forbid access to the entire filesystem by default
#<Directory />
#    Options None
#    AllowOverride None
#    Order deny,allow
#    Deny from all
#</Directory>

I don't know the security implications are for disabling this but I'm currently just running it in a test environment, Hope 
this helps.

-Josh


>/On Mon, 2005-04-25 at 01:20 -0500, William E. Kempf wrote:
/>/  
/>/
/>>/I'm trying to get mod_mono running on SuSE 9.2 Pro.  I've followed the 
/>>/man page for mod_mono in order to configure it to server the test 
/>>/pages.  However, when starting Apache I see the error message "Another 
/>>/mod-mono-server with the same arguments is already running" in the 
/>>/error_log 3 times.  Any attempts to view pages in the test application 
/>>/results in "client denied server configuration: 
/>>/    
/>>/
/>/
/>/When mod_mono is loaded, it tries to spawn a mod-mono-server.exe per
/>/application you configured. Apache usually forks itself before loading
/>/the module, so mod_mono is loaded several times. Only one of the
/>/processes running mod-mono-server.exe will succeed. The others will
/>/print that message to the logs and exit.
/>/
/>/  
/>/
/>>//usr/share/doc/xsp/test/index.aspx" as well as the message about another 
/>>/mod-mono-server running.  I've googled on this, but not seen any 
/>>/relevant links to a similar problem.  Any ideas?
/>>/    
/>>/
/>/
/>/That's an error in your apache configuration or the permissions of the
/>/directories/file. Review it and/or send the relevant configuration
/>/options here if you want more help.
/>/
/>/-Gonzalo
/>/  
/>/
/The permissions are correct.  Here's my configuration:

Alias /mono "/usr/share/doc/xsp/test"
MonoApplications "/mono:/usr/share/doc/xsp/test"
<Directory /usr/share/doc/xsp/test>
      SetHandler mono
      <IfModule mod_dir.c>
              DirectoryIndex index.aspx
      </IfModule>
</Directory>

Pretty straight forward and right out of the installation instructions.



More information about the Mono-list mailing list