LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sarg not found record while start !!! (https://www.linuxquestions.org/questions/linux-newbie-8/sarg-not-found-record-while-start-880652/)

ducloiag 05-13-2011 11:33 PM

Sarg not found record while start !!!
 
Hi anybody,
I have just build sarg, something wrong with my task. i haven't see log on website even on command in putty.
This is brief short for my sarg.conf
Quote:

#access_log /usr/local/squid/var/logs/access.log
access_log /opt/squid/logs/access.log
#output_dir /var/www/html/squid-reports
output_dir /var/www/sarg
Quote:

[root@proxy ~]# sarg -z
SARG: ConfigFile.........= /etc/sarg/sarg.conf
SARG: AccessLog..........= /opt/squid/logs/access.log
SARG: BgColor............= #ffffff
SARG: TxColor............= #000000
SARG: TxBgColor..........= lavender
SARG: TiColor............= darkblue
SARG: LogoImage..........=
SARG: LogoText...........=
SARG: LogoTextColor......= #006699
SARG: Width..............= 80
SARG: Height.............= 45
SARG: Title..............= Squid User Access Report
SARG: BgImage............=
SARG: FontFace...........= Verdana,Tahoma,Arial
SARG: HeaderColor........= darkblue
SARG: HeaderBgColor......= #dddddd
SARG: FontSize...........= 9px
SARG: PasswdFile.........=
SARG: TempDir............= /tmp
SARG: OutputDir..........= /var/www/sarg/ONE-SHOT
SARG: Ip2Name............= yes
SARG: TopuserSortField.........= BYTES
SARG: UserSortField.........= BYTES
SARG: TopuserSortOrder.........= reverse
SARG: UserSortOrder.........= reverse
SARG: UserAgentLog.......=
SARG: ExcludeHosts.......=
SARG: DateFormat.........= u
SARG: ExcludeUsers.......=
SARG: PerUserLimitFile...=
SARG: PerUserLimit.......=
SARG: UserIp.............= no
SARG: MaxElapsed.........= 28800000
SARG: LastLog............=
SARG:
SARG: (util) tbuf=2011May139, reading: 0.00%
SARG: (util) period=2011May13-
SARG: Records in file: 16029, reading: 100.00%
SARG: (util) data=05/14/2011
SARG: (util) tbuf=2011May14
SARG: (util) period=2011May13-2011May14
SARG: (util) dirname=/var/www/sarg/ONE-SHOT/2011May13-2011May14
SARG: (util) wdir=/var/www/sarg/ONE-SHOT/2011May13-2011May14
*** stack smashing detected ***: sarg terminated
Aborted
Quote:

[root@proxy ~]# sarg -d 5/14/2011
SARG: Records in file: 16043, reading: 100.00%
SARG: No records found
SARG: End
http://img195.imageshack.us/img195/6159/sargs.jpg Uploaded with ImageShack.us

would you mind pls help me solve this problem.
thanks so much.

ducloiag 05-15-2011 09:47 PM

Who's can help me please ??


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