LancerForums
01-14-2003, 11:00 PM
I have a RH Linux 7.2 server with Webalizer running under cron, but I only have the last two days of stats display once webalizer is run. I think there may be something wrong with my logrotate.conf settings I guess... could that be it? I have logrotate set to rotate and gzip the logfiles.
Thanks,
Mark
calvin
01-14-2003, 11:09 PM
Make sure that you are running webalizer before logs are rotated and that the config file for webalizer has the Incremental option set to "yes"
LancerForums
01-14-2003, 11:28 PM
I think webalizer is running in cron.daily along with logrotate... how can I set logrotate to run first in case it isn't?
Thanks,
Mark
calvin
01-15-2003, 07:14 AM
I think you mistyped, but you'll want webalizer to run first not logrotate. Just rename the webalizer script and put a 0 in the front of the filename - ie: 0webalizer
LancerForums
01-15-2003, 10:07 AM
Ok, then I should be good to go. I think my problem was that Incremental was set to no.
Thanks for all the help,
Mark