LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sarg (https://www.linuxquestions.org/questions/linux-newbie-8/sarg-660363/)

atomixx 08-04-2008 10:01 AM

Sarg
 
hi all

I am running squid 2.6 and sarg 2.2.3.1 on fedora 8 i386
everything seemd to work exept it does not generate the sites by user report which is the most important report of them all.

when i run sarg -z i get this
[root@talisman html]# sarg -z
SARG: TAG: access_log /var/log/squid/access.log
SARG: TAG: output_dir /var/www/html/squid-reports
SARG: TAG: resolve_ip yes
SARG: TAG: index only
SARG: TAG: records_without_userid ignore
SARG: TAG: mail_utility mail
SARG: TAG: report_type sites_users
SARG: TAG: show_successful_message no
SARG: TAG: weekdays 0,1,2,3,4,5,6
SARG: TAG: hours 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
SARG: TAG: external_css_file /var/www/sarg/sarg.css
SARG: (util) tbuf=2008Aug0302, reading: 0.00%
SARG: (util) period=2008Aug03-
SARG: Records in file: 953202, reading: 100.00%
SARG: (util) data=08/04/2008
SARG: (util) tbuf=2008Aug04
SARG: (util) period=2008Aug03-2008Aug04
SARG: (util) dirname=/var/www/html/squid-reports/2008Aug03-2008Aug04
SARG: (util) wdir=/var/www/html/squid-reports/2008Aug03-2008Aug04

but when i open sitesuser.html it does not exist .
can anyone help with this regard.

I have seen the problem on other forums as well but none has a solution posted.

thanx in advance

atomixx 08-11-2008 10:14 AM

problem solved
 
the problem was not with sarg.
what happens is that if u use webmin, it destroys the sarg.conf file.


solution :
re-install sarg and delete current current squid logs.
and presto it works.


All times are GMT -5. The time now is 07:26 PM.