LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SARG -Squid Reporting Software (https://www.linuxquestions.org/questions/linux-software-2/sarg-squid-reporting-software-89622/)

sf49football 09-05-2003 12:16 PM

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

Saraev 09-07-2003 04:08 PM

This help?

http://groups.yahoo.com/group/orso/message/1252

sanfran49 09-08-2003 03:28 PM

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

tomsatter 12-03-2008 02:18 PM

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.