LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2010, 03:06 AM   #1
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Rep: Reputation: 0
Arrow Sarg has problem. Cannot see the logs !!!!


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.
 
Old 12-17-2010, 03:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Nothing to do with networking. Moved to Linux - Newbie
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Sarg to monitor Squid not success. Cannot see sarg.conf file !!! Help me. ducloiag Linux - Networking 2 11-30-2010 08:32 PM
sarg reports problem carabina5 Linux - Software 1 10-22-2009 12:41 AM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 03:28 AM
Squid Logs Reports with SARG kendrick Linux - Software 0 03-31-2008 08:51 AM
Squid logs not working with SARG symesd Linux - Software 0 11-13-2007 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration