AWstats on a couple of my servers stopped working nightly. I can force an update manually for the accounts by executing /scripts/runweblogs
I submitted a ticket 3 days ago with no response.
AWstats on a couple of my servers stopped working nightly. I can force an update manually for the accounts by executing /scripts/runweblogs
I submitted a ticket 3 days ago with no response.
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
In /usr/local/cpanel
cat cpanellogd and make sure that $skipawstats = 0; If it is set to 1 awstats will be skipped.
Regards,
David
Forum Moderator
Oddly enough, one of my servers that awstats IS working on is also set to skip=1
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
I get this in the log file
Error: Couldn't open config file &awstats.acoustic.com.conf& nor &awstats.conf& : No such file or directory
Setup (Config file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
but the file is there in the /home/acoustic/tmp/awstats dir
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
Are the permissions okay?
700 user:user awstats - directory
644 user:user for the files in awstats.
Regards,
David
Forum Moderator
yep
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
I have correct settings in cpanellogd but it still will not run, pain.
I have set stats to be run twice a day by using setting 0.5 for half day is this correct?
I believe I have found a workaround for this (thanks Burst.net).
1. Turn off awstats in &Tweak settings&
2. in ssh run /scripts/upcp
3. Turn on awstats in &Tweak settings&
4. in ssh run /scripts/upcp
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
When I cat cpanellogd it shows skip_awstats = 1;
But it shows this on the other server that is still processing Awstats correctly.
Also, these vaules do not weem to change no matter what tweaking I do through WHM
I also tries this last fix that was posted, and it does not seem to have any effect.
Other ideas?
When I did both the editing of the file to make skipawstats = 0 and the disable, upcp, enable, upcp, it seems to have fixed it.
Check /usr/local/cpanel/logs/stats_log to see if it is either getting an error or not running at all.
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
I just went into SSH and changed this.
Will it simply be changed back every time I tweak settings?
Okay, I have tried a number of configurations, and it seems to me that:
1. Webalizer will not run more than once per day (frequency = 1) by using WHM settings
2. skipawstats is not related to whether or not Awstats will run
3. runlogsnow no longer works correctly
4. once you have setup a .5 or .25 for frequency, Awstats will ignore any logs that were &processed& while Awstats was not operating correctly
Has anyone been successful at getting Awstats to run more than once per day?
How exactly did you do it?
Glenn![]()