US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 05-22-2012, 12:58 PM   #1
Junior Member
 
Join Date: May 2012
Posts: 11
cw1586 is on a distinguished road
Default 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).
WHY AM I GETTING ALL THESE ERRROR with Awstats? I gave your script the install it wanted. It says, Debian or Freebsd. Thats what i gave the installation. It completed without errors, AMAZING! Now all of a sudden the permissions are incorrect???? How can this be? I thought the installation completed without errors? Howcome its got permission problems?

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.
cw1586 is offline   Reply With Quote
Old 05-23-2012, 02:34 AM   #2
Junior Member
 
Join Date: May 2012
Posts: 11
cw1586 is on a distinguished road
Default

No replies, no fixes nothing?
cw1586 is offline   Reply With Quote
Old 05-23-2012, 08:40 AM   #3
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

You should disable awstats in the system crontab in /etc,
because ISPmanager using own log rotation script (is not standart awstats)
slava is offline   Reply With Quote
Old 05-23-2012, 09:18 AM   #4
Junior Member
 
Join Date: May 2012
Posts: 11
cw1586 is on a distinguished road
Default

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.
cw1586 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:52 PM.