ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: asu@ritm.msk.ru
To: Community@altlinux.ru
Subject: [Comm] Squid и sarg
Date: Mon, 29 Aug 2005 12:41:29 +0400
Message-ID: <1125304889.2621.6.camel@ritm> (raw)

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
}


Антон



             reply	other threads:[~2005-08-29  8:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29  8:41 asu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1125304889.2621.6.camel@ritm \
    --to=asu@ritm.msk.ru \
    --cc=Community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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