Peter Snow asked:
When I run Awstats via a web browser and click “Update now” it reports:
Error: Couldn't open server log file "/var/log/httpd/domains/domain.net.log" : Permission denied Setup ('/etc/awstats/awstats.domain.net.conf' file, web server or permissions) may be wrong.
# ls - la /var/log/httpd/domains/snowweb.net.log -rwxrwxrwx 1 root root 68K Jul 22 18:29 /var/log/httpd/domains/domain.net.log
Server is CentOS 5.9 and does not ‘seem’ to have selinux enabled (appears to be installed but .conf file missing and
selinuxenabled returns nothing).
Did you check the permissions of all of the containing directories? One of those is likely where the trouble lies.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.