Sarg
Есть проблема c сабжем: не генерируется Topuser Report.
При выполнении с ключами -z -x говорит следующее:
SARG: Init
SARG: Loading configuration from: /etc/squid/sarg.conf
SARG: ConfigFile.........= /etc/squid/sarg.conf
SARG: AccessLog..........= /var/log/squid/access.log
SARG: BgColor............= white
SARG: TxColor............= #000000
SARG: TxBgColor..........= lavender
SARG: TiColor............= green
SARG: LogoImage..........=
SARG: LogoText...........=
SARG: LogoTextColor......= #000000
SARG: Width..............= 80
SARG: Height.............= 45
SARG: Title..............= Squid User Access Reports
SARG: BgImage............=
SARG: FontFace...........= Tahoma,Verdana,Arial
SARG: HeaderColor........= darkblue
SARG: HeaderBgColor......= blanchedalmond
SARG: FontSize...........= 9px
SARG: PasswdFile.........=
SARG: TempDir............= /tmp
SARG: OutputDir..........= /var/www/squid-reports
SARG: Ip2Name............=
SARG: TopuserSortField.........= BYTES
SARG: UserSortField.........= BYTES
SARG: TopuserSortOrder.........= reverse
SARG: UserSortOrder.........= reverse
SARG: UserAgentLog.......=
SARG: ExcludeHosts.......= /etc/squid/sarg.hosts
SARG: DateFormat.........= u
SARG: ExcludeUsers.......= /etc/squid/sarg.users
SARG: PerUserLimitFile...=
SARG: PerUserLimit.......=
SARG: UserIp.............= no
SARG: MaxElapsed.........= 28800000
SARG: LastLog............= 0
SARG:
SARG: Loading exclude file from: /etc/squid/sarg.hosts
SARG: Loading exclude file from: /etc/squid/sarg.users
SARG: Parameters:
SARG:
SARG: Hostname or IP address (-a) =
SARG: Useragent log (-b) =
SARG: Exclude file (-c) = /etc/squid/sarg.hosts
SARG: Date from-until (-d) =
SARG: Email address to send reports (-e) =
SARG: Config file (-f) = /etc/squid/sarg.conf
SARG: Date format (-g) = USA (mm/dd/yyyy)
SARG: IP report (-i) = No
SARG: Input log (-l) = /var/log/squid/access.log
SARG: Resolve IP Address (-n) = No
SARG: Output dir (-o) = /var/www/squid-reports/
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: Debug messages (-x) = Yes
SARG: Process messages (-z) = Yes
SARG:
SARG: sarg version: 2.0.8 May-29-2005
SARG: Maximum file descriptor: cur=1024 max=1024, changed to cur=20000
max=20000
SARG: Loading User table: /etc/squid/sarg.usertab
SARG: Reading access log file: /var/log/squid/access.log
SARG: (util) tbuf=2005Aug12
SARG: (util) periodo=2005Aug12-
SARG: Records read: 2678, written: 2678, excluded: 0
SARG: Squid log format
SARG: (util) data=08/12/2005
SARG: (util) tbuf=2005Aug12
SARG: (util) periodo=2005Aug12-2005Aug12
SARG: Period: 2005Aug12-2005Aug12
SARG: (util) dirname=/var/www/squid-reports/2005Aug12-2005Aug12
SARG: (util) wdir=/var/www/squid-reports/2005Aug12-2005Aug12
SARG: Making period file
SARG: Making file: /tmp/sarg/192.168.1.10
SARG: Making file: /tmp/sarg/192.168.1.11
SARG: Making file: /tmp/sarg/192.168.1.1
SARG: Sorting file: /tmp/sarg/192.168.1.10
SARG: Sorting file: /tmp/sarg/192.168.1.11
SARG: Sorting file: /tmp/sarg/192.168.1.1
sort: open failed: 066692: No such file or directory
SARG: Making report: 192.168.1.10
SARG: Making report: 192.168.1.11
SARG: Making report: 192.168.1.1
SARG: Making index.html
SARG: Removing temporary files: geral, periodo
SARG: End
Особенно хочется выделить строку "sort: open failed: 066692: No such file or
directory". Кто-нибудь сталкивался? Как побороть?
Дистр Debian Woody testing.
Заранее спасибо!
--
With best regards -- Feoktistov Andrey.
Reply to:
- Follow-Ups:
- Re: Sarg
- From: Artem Chuprina <ran@ran.pp.ru>