Sarg Report Problem
christopher.chan at bradbury.edu.hk
Fri Oct 22 15:21:07 UTC 2010
Anggi Lesmana wrote:
> Dear Ubunters,
> I installed sarg on my ubuntu LTS 10.04 64bit server. But it hasn't been
> work to report squid log to /var/www/squid-reports/ so far.
They still have not fixed this?
Please pastebin the contents of /etc/cron.*/sarg, /etc/logrotate.d/squid
> Below are several configuration of mine.
> /etc/sarg/sarg.conf :
> access_log /var/log/squid/access.log
> output_dir /var/www/squid-reports
> squidguard_conf /etc/squid/squidGuard.conf
> /etc/sarg/sarg-reports.conf :
> PAGETITLE="Access Reports on $(hostname)"
> EXCLUDELOG1="SARG: No records found"
> EXCLUDELOG2="SARG: End"
> Any something wrong on these above ? Or What should I do for fix this
> issue ?
Most probably nothing wrong. 1) Make the logs last long enough for the
cron jobs to do their thing, 2) fix log rotation for sarg and 3) fix
typos in sarg-reports. At least this is what a check of my squid box
More information about the ubuntu-users