SARG -Squid Reporting Software
I have recently reinstalled SARG on my Debian System. When I try to run the software I get the following error message :
elijah:/# sarg SARG: No records found SARG: End Does anyone know how to fix this problem. Thanks in Advance. Tony |
|
Actually
I have been running just the sarg command. and it still keeps giving me the same error message. I am at my whits end.
Tony |
Solution to "SARG: No records found" problem
I know this is an old thread, but here is one solution that I found and hopefully it will help other people who are searching for answers.
The problem is that in the /etc/cron.daily/ directory the "logrotate" command comes before the "sarg" command (because they are run alphabetically). Also, the settings for logrotate (in /etc/logrotate.d/squid or if you use it /etc/logrotate.d/dansguardian) need to be changed so that the logs are rotated weekly or monthly instead of daily (unless you only want daily reports - in which case you need to change the order that the logs are rotated and sarg is run). In other words, you need to have data from the previous day in the logs and if they are rotated daily and logrotate happens before sarg, the logs will not have any information from the previous day in them. tom |
All times are GMT -5. The time now is 04:23 PM. |