Problems with Sarg and Lightsquid both.
-
lightsquid will not generate reports on its own. if i run lightparser.pl from the shell it will generate connect reports. but with its own schedule it does not generate reports. in fact it has been erasing the reports for today that were generated from the command line. leaving me with the reports for yesterday but not today.
sarg, builds reports but will not display them. the reports exist as shown here, but it seems the sanity check does not detect them.
[2.0.1-RELEASE][admin@cityhall-firewall.boonville-mo.local]/usr/local/www/sarg-reports/2012/05(8): ls -al
total 82
drwxr-xr-x 41 root wheel 1024 May 22 08:20 .
drwxr-xr-x 3 root wheel 512 May 16 08:38 ..
drwxr-xr-x 35 root wheel 1536 May 21 19:44 16-21
drwxr-xr-x 36 root wheel 1536 May 22 02:01 16-22
drwxr-xr-x 3 root wheel 512 May 16 08:38 16.1
drwxr-xr-x 3 root wheel 512 May 16 13:40 16.10
drwxr-xr-x 3 root wheel 512 May 16 14:20 16.11
drwxr-xr-x 3 root wheel 512 May 16 15:00 16.12
drwxr-xr-x 3 root wheel 512 May 16 15:40 16.13
drwxr-xr-x 3 root wheel 512 May 16 16:20 16.14
drwxr-xr-x 3 root wheel 512 May 16 17:00 16.15
drwxr-xr-x 3 root wheel 512 May 16 17:40 16.16
drwxr-xr-x 3 root wheel 512 May 16 18:20 16.17
drwxr-xr-x 3 root wheel 512 May 16 08:38 16.2
…. and so on.but sarg_frame.php displays this error
else{
print "```
Error: Could not find report index file.
Check sarg settings and try to force sarg schedule.";
}so why is it not finding its reports? both work fine on other installations i have.
thanks
-
did you selected on sarg config these two options?
generate the main index.html
generate the index tree by file -
did you selected on sarg config these two options?
generate the main index.html
generate the index tree by filethat fixed sarg, THANK YOU. now i just need to figure out how to fix lightsquid. might deleting the reports help? could there be some kind of permissions issue from the root generated reports?
-
i am struggling with this..
I got sarg working without problems.. the access.log is filling upbut cannot get lightsquid to run..
-
i might add that lightsquid works fine when I change the log location to /var/squid/logs/
-
i might add that lightsquid works fine when I change the log location to /var/squid/logs/
logs are at /var/squid/logs otherwise no reports would generate. it looks like it might only be generating lightsquid reports for the previous day unless i run it manually.
-
Are you rotating logs after sarg run?
If so, lightsquid will not find any log to report.