httpd avc denied problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a brand new install of Fedora Core 3 running
I transfered our websites over and discovered I had to have them all under /usr/www/
After shuffling files around, correcting httpd.conf and running fixfiles I have been able to get all but this one stubborn one to work.
 
httpd/error_log
(13)Permission denied: httpd: could not open error log file /usr/www/spokanewines.com/logs/error_log.
Unable to open logs
/var/log/message
Nov 26 19:26:20 webmail kernel: audit(1101525980.703:0): avc:  denied  { write } for  pid=2345 exe=/usr/sbin/httpd name=logs dev=dm-0 ino=552202 scontext=root:system_r:httpd_t tcontext=system_u:object_r:usr_t tclass=dir
Nov 26 19:26:20 webmail httpd: httpd startup failed
/etc/httpd/conf/httpd.conf
<VirtualHost *:80>
        ServerName www.spokanewines.com
        ServerAlias spokanewines.com
        ServerAdmin webmaster@xxxxxxxxx
        DocumentRoot /usr/www/spokanewines.com
        ErrorLog /usr/www/spokanewines.com/logs/error_log
        CustomLog /usr/www/spokanewines.com/logs/access_log common
        DirectoryIndex index.html index.htm index.php
        ScriptAlias /cgi-bin/ /usr/www/spokanewines.com/cgi-bin/
        <Directory /usr/www/spokanewines.com/cgi-bin>
                options +ExecCGI
                AddHandler cgi-script cgi pl
        </Directory>
</VirtualHost>
ls -al spokanewines.com/
total 56
drwxrwxrwx   5 root root 4096 Nov 26 18:41 .
drwxr-xr-x  18 root root 4096 Nov 26 18:04 ..
drwxr-xr-x   2 root root 4096 Nov 26 18:33 cgi-bin
-rw-r--r--   1 root root 2490 Apr 12  2004 index.htm
drwxr-xr-x   2 root root 4096 Nov 26 18:41 logs
-rw-r--r--   1 root root 2030 Feb  5  2004 spokane.htm
drwxr-xr-x   4 root root 4096 Nov 26 18:34 SWA
Any one understand why?
 
Arthur Stephens
Sales Technician
Ptera Wireless Internet
astephens@xxxxxxxxx
509-927-Ptera

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux