[Mono-list] Permission Denied

acrym soreric94 at gmail.com
Sat Nov 9 08:49:56 UTC 2013


Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10

Everytime I try to start apache I find in the error log this message:

[error] Failed running
'/usr/local/lib/mono/gac/mod-mono-server4/2.10.2.0__0738eb9f132ed756/mod-mono-server4
--filename /tmp/mod_mono_server_global --applications /test:/opt/monoserv
--nonstop --master (null) (null) (null) (null) (null) (null)'. Reason:
Permission denied

Trying to view a WCF .svc gives an InternalServiceFault error.

This is my httpd.conf (IP omitted)

<VirtualHost *:*>
	DocumentRoot /var/www/html/
	ServerName xx.xx.xxx.xx
	ServerAlias *.xx.xx.xxx.xx
	ErrorLog /var/log/httpd/error_log
	CustomLog /var/log/httpd/xx.xx.xxx.xx_log combined
	HostnameLookups Off
	UseCanonicalName On
        MonoSetEnv xx.xx.xxx.xx MONO_IOMAP=all
        MonoSetEnv MONO_STRICT_MS_COMPLIANT=yes
	MonoPath default "/opt/mono/lib/mono/4.0"
	MonoServerPath default "opt/mono/bin/mod-mono-server4"
        MonoApplications "/:/var/www/html"
	AddMonoApplications default "/:/var/www/html"
        MonoAutoApplication disabled
        AddHandler mono .aspx .asxc .asax .ashx .config .svc
        AddType application/x-asp-net .svc
        AddType application/x-asp-net .config
	<Location "/">
                Order allow,deny
                Allow from all
		MonoSetServerAlias default
		SetHandler mono
	</Location>
	<Directory /var/www/html/>
		Options Indexes FollowSymLinks
		AllowOverride All
		Order allow,deny
		Allow from all
                SetHandler mono
                DirectoryIndex index.html
	</Directory>
</VirtualHost>



--
View this message in context: http://mono.1490590.n4.nabble.com/Permission-Denied-tp4661281.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list