View Full Version : awstats not automatically updating
digiSal
10-19-03, 02:16 AM
my awstats quit updating itself on the fifth of october, it updated by itself fine from the first, but now i have to manually update it via the update now button.
how can i fix this?
It would help us help you if we knew how you had it set up to run automatically - what does your crontab look like? Do you have any errors in awstats.log?
digiSal
10-19-03, 03:06 PM
my crontab looks like so:
45 1 * * * /www/d/digisal/cgi-bin/awstats.pl -config=digisal.com -update
and i do not have an awstats.log..
i am using awstats 5.9
thanks..
Try adding this
>>/www/d/digisal/logs/cronaw.log 2>>/www/d/digisal/logs/cronaw.err
to the end of your crontab line (all on one line). This should create log files to help you troubleshoot the crontab problem.
You should also have at least 2 carriage returns (2 blank lines) after the end of the line.
digiSal
10-20-03, 06:21 PM
this is the error in my log
Error: Couldn't open config file "awstats.digisal.com.conf" nor "awstats.conf" after searching in path "/www/d/digisal/cgi-bin/,/etc/awstats,/etc/opt/awstats,/etc,/usr/local/etc/awstats": No such file or directory
when i first setup awstats it would not work with awstats.digisal.com.conf, i would get an error that it was looking for awstats.www.digisal.com.conf so i renamed the file to reflect the error and it worked.
i guess i will rename it back? but it did work automatically for a few days.
You can also just name your config file awstats.conf as that is the default name that it will search for if no other is found.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.