Hello 4rum,
http://www.linuxsurgeon.org/kb/howto...on-centos.html
i have just install Sarg as link instruction follow, but i cannot see the logs on the website like
http://192.168.1.70/sarg and after minute i cannot log in again the website.
http://img339.imageshack.us/img339/3933/sargerror.jpg
Quote:
[root@proxy tmp]# sarg -zx
SARG: Init
SARG: Loading configuration from /usr/local/etc/sarg.conf
SARG: TAG: access_log /opt/squid/logs/access.log
SARG: TAG: output_dir /var/www/sarg
SARG: TAG: resolve_ip yes
SARG: TAG: mail_utility mail
SARG: TAG: show_successful_message no
SARG: TAG: external_css_file /var/www/sarg/sarg.css
SARG: Parameters:
SARG: Hostname or IP address (-a) =
SARG: Useragent log (-b) =
SARG: Exclude file (-c) =
SARG: Date from-until (-d) =
SARG: Email address to send reports (-e) =
SARG: Config file (-f) = /usr/local/etc/sarg.conf
SARG: Date format (-g) = USA (mm/dd/yyyy)
SARG: IP report (-i) = No
SARG: Input log (-l) = /opt/squid/logs/access.log
SARG: Resolve IP Address (-n) = Yes
SARG: Output dir (-o) = /var/www/sarg/
SARG: Use Ip Address instead of userid (-p) = No
SARG: Accessed site (-s) =
SARG: Time (-t) =
SARG: User (-u) =
SARG: Temporary dir (-w) = /tmp/sarg
SARG: Debug messages (-x) = Yes
SARG: Process messages (-z) = Yes
SARG:
SARG: sarg version: 2.3.1 Sep-18-2010
SARG: Reading access log file: /opt/squid/logs/access.log
SARG: Records in file: 6885, reading: 100.00%
SARG: Records read: 6885, written: 6885, excluded: 0
SARG: Squid log format
SARG: (util) data=17/12/2010
SARG: (util) period=2010 Nov 26-2010 Dec 17
SARG: Period: 2010 Nov 26-2010 Dec 17
SARG: pre-sorting files
SARG: File /var/www/sarg/2010Nov26-2010Dec17 already exists, moved to /var/www/sarg/2010Nov26-2010Dec17.3
SARG: (util) outdirname=/var/www/sarg/2010Nov26-2010Dec17
SARG: Making file: /tmp/sarg/192_168_1_50
SARG: Making file: /tmp/sarg/192_168_1_54
SARG: Making file: /tmp/sarg/192_168_1_12
SARG: Making file: /tmp/sarg/192_168_1_6
SARG: Making file: /tmp/sarg/192_168_1_7
SARG: Sorting file: /tmp/sarg/192_168_1_54
SARG: Sorting file: /tmp/sarg/192_168_1_6
SARG: Sorting file: /tmp/sarg/192_168_1_12
SARG: Sorting file: /tmp/sarg/192_168_1_7
SARG: Sorting file: /tmp/sarg/192_168_1_50
SARG: Making report: 192.168.1.7
SARG: Making report: 192.168.1.54
SARG: Making report: 192.168.1.6
SARG: Making report: 192.168.1.50
SARG: Making report: 192.168.1.12
SARG: Making index.html
SARG: Failed to read the date in /var/www/sarg/ONE-SHOT/sarg-date
|
NOTE: i had created sarg-date by manual because it's no have before.i don's know right ??
pls advice to me.