ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Squid и sarg
@ 2005-08-29  8:41 asu
  2005-08-29  8:33 ` Alexey Morsov
  0 siblings, 1 reply; 20+ messages in thread
From: asu @ 2005-08-29  8:41 UTC (permalink / raw)
  To: Community

ALM 2.4
стоит squid - все работает
установил sarg
Надо, чтобы раз в неделю делался отчет, кто что за неделю качал по http

Не получается:
- по утрам приходят письма: Anacron job 'cron.daily' 
error: squid.bak:1 duplicate log entry for /var/log/squid/access.log
Перепаковываем все базы
Squeeze "basic" skiped, because db size too small (41172915)

- отчеты sarg не делаются вообще, если запустить sarg вручную, то
получаем отчет за огромный период времени

- в etc/logrorate.d/squid я прописал следуюещее:
/var/log/squid/access.log {
    weekly
    rotate 5
    prerotate
    /usr/bin/sarg
    endscript
    copytruncate
    compress
    notifempty
    missingok
}


Антон



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-09-01 15:22 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29  8:41 [Comm] Squid и sarg asu
2005-08-29  8:33 ` Alexey Morsov
2005-08-29  8:54   ` asu
2005-08-29  8:48     ` Alexey Morsov
2005-08-29 10:20       ` asu
2005-08-29 10:14         ` Alexey Morsov
2005-08-29 12:15         ` [Comm] [JT] " Mike Lykov
2005-09-01 15:20           ` [Comm] " Michael Shigorin
2005-09-01 15:22             ` Michael Shigorin
2005-08-29 12:37         ` [Comm] " Michael Isachenkov
2005-08-29  9:02     ` Kostarev Alexey
2005-08-29 10:21       ` asu
2005-08-29 10:27         ` Kostarev Alexey
2005-08-29 11:41           ` asu
2005-08-29 11:38             ` Kostarev Alexey
2005-08-29 12:06               ` Re[2]: " Andrey A. Yefremov
2005-08-29 13:21                 ` asu
2005-08-29 13:14                   ` Alexey Morsov
2005-08-29 13:26                   ` Re[4]: " Andrey A. Yefremov
2005-08-30  3:18                 ` Kostarev Alexey

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git