Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: dadoudidon on August 07, 2007, 07:57:47 PM
-
hello,
I just install Sarg following the wiki.
I use a sme 7.2 with dansguardian and pam authentification as it is proposed in the wiki.
sme is forced to use dansguardian as it is shown in the wiki
my proxy is proxy.myserver:8079 (cause 8080 is for tomcat)
so,
I did the install of Sarg, post upgrade and reboot.
set sarg to use dansguardian logs
/usr/bin/sarglog dansguardian
in the server-manager i access to the panel and i forced one shot report.
/usr/bin/sarg
It took a long time from 0 to 100%
but after nothing in the report.
Your seeing this because either no data was found
or you have just updated the sarg rpm.
You can force an update with /usr/bin/sarg
Note: this page may be cached, try refreshing this frame
right click, this frame, refresh
after a reboot of the server (in case of) still not reporting
don't know what to do!
Dave
-
Bonjour,
Configure SARG with this command:# db configuration setprop sarg language French values abbreviation lastlog 365 logfile dansguardian
# /usr/bin/sarglog dansguardian
You have also to modify dansguardian logformat
Edit dansguardian.conf and changelogfileformat = 1
to
logfileformat = 3
I hope this will work
-
Thanks Sylvain,
well done!
now I Have of my logs reported
Merci beaucoups
David
-
Dear all,
i have a simular problem:
Squid Analysis Report Generator
Data not found
Your seeing this because either no data was found
or you have just updated the sarg rpm.
You can force an update with /etc/cron.daily/sarg
Note: this page may be cached, try refreshing this frame
right click, this frame, refresh
Generated by sarg-2.2.1 May-19-2006
I did the instructions above, and indeed the log changed from
"2007.8.7 16:44:12","-","192.168.1.202","http://www.sayersmedia.com/ads/adlog.php?bannerid=17&clientid=11&zoneid=8&source=&block=0&capping=0&cb=278b4c3c489a173e8177007218fdc35a","","GET","43","0","","1","200","image/gif","",""
to
1186605817.799 301 192.168.1.225 TCP_MISS/200 3846 GET http://tropicalview.net/gallery/albums/stationschip%20van%20nes/thumb_DSCF3025.JPG - DEFAULT_PARENT/127.0.0.1 image/jpeg
I renamed the old file so only new entry's are in the log right now.
I restarted dansguardian and also the whole server.
what can i try now???
-
Dear all,
I found out the error myself.
It's just that you need at least one period of time logging, in the right format.
after installation and change of log format of dansguardian i deleted the old logs
Now one day later the daily report works.
I think next week the weekly will work and so on.
Thanks for the attention, and if you're installing it. be sure you have the right logging format and after changing be a little patient....