Im saying you should edit the file /etc/sarg/sarg.conf
here is a snippet:
Quote:
language English
access_log /var/log/squid/access.log
graphs yes
title "Internet User Access Reports"
output_dir /var/www/htdocs/squid-reports (or any other dir you can access with your webserver)
resolve_ip yes
user_ip no
topuser_sort_field BYTES reverse
overwrite_report yes
use_comma yes
report_type topsites sites_users users_sites date_time denied auth_failures site_user_time_date
|
after that, you go to your webmin and when you choose "Squid Report Generator" in the servers, on the right panel, you see the error you are mentioning, something like:
(The Sarg configuration file /usr/local/sarg/sarg.conf was not found on your system. Maybe Sarg is not installed, or the
module configuration is incorrect.)
In that case CLICK on
"module configuration" (its a hyperlink on that error line in the right pane)
Edit the variables as below:
Full path to sarg executable
/usr/bin/sarg
(1st check where your sarg executable is, try locate bin/sarg and what is returned will be your full path to sarge executable)
Full path to SARG configuration file
/etc/sarg/sarg.conf