[Mono-list] Permission Denied

"Andrés G. Aragoneses" knocte at gmail.com
Sun Nov 10 07:51:56 UTC 2013


On 09/11/13 09:49, acrym wrote:
> Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10
>

Try installing xsp 3.0.11, which works better with Mono 3.x.
(Uninstall your current xsp first, and install new xsp in the same 
prefix as where your mono is.)


> 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.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>




More information about the Mono-list mailing list