05-22-2012, 12:58 PM | #1 |
Junior Member
Join Date: May 2012
Posts: 11
|
Errors all over the place for awstats
After trying to install ISPmanager 3 times using CentOS 6.x unsuccessfully due to all kinds of errors i decided to give your program what it wanted. Debian 6.x.
Amazingly it installed without one single error. Umm ok!!! Moved two sites to the server and now here is yet another amazing part of the system install. Awstats emails are being sent every 20min. 1st of all why is it sending emails every 20min when the cron job for awstats is supposed to be run once a day. 2nd, i was getting an error about incorrect permission on /etc/awstats/. The problem here was that my server hostname was not defined in awstats.conf. Howcome? 3rd and whats even more annoying than anything im getting the following error ever 20min. Code:
Error: Couldn't open server log file "/var/www/markt/data/logs/domain.org.access.log" : Permission denied Setup ('/etc/awstats/awstats.domain.org.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory). Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.95 (build 1.943) From data in log file "/var/log/apache2/access.log"... Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory). You know what, i am a little frustrated with your ispmanager application. After installing it 3 times under CentOS 6 and it fails miserably, im a little pissed off. Now, i had to install it under Debian just to see if it completes and YES it does but its got other problems once you start using it. Last edited by cw1586; 05-22-2012 at 01:03 PM. |
05-23-2012, 09:18 AM | #4 |
Junior Member
Join Date: May 2012
Posts: 11
|
Thank you.
For anyone else having this issue, you need to go into /etc/cron.d/ then edit awstats and comment out the cron lines so it looks like this; #*/10 * * * * www-data [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh # Generate static reports: #10 03 * * * www-data [ -x /usr/share/awstats/tools/buildstatic.sh ] && /usr/share/awstats/tools/buildstatic.sh Thanks!! Last edited by cw1586; 05-23-2012 at 11:53 AM. |
|
|