From: Ilya Palagin <tux@fioc.kz>
To: community@altlinux.ru
Subject: Re: [Comm] help with squid
Date: Wed, 16 Oct 2002 23:55:27 +0700
Message-ID: <3DAD99FF.7070506@fioc.kz> (raw)
In-Reply-To: <20021016194746.06a97873.gnomik@mtv.ru>
Andrew Nazarkin wrote:
>
> О, господи!
> service squid stop
> cd /var/log/squid
> mv access.log access.log.0
> touch access.log
> chown squid.squid access.log
> service squid start
>
>
Никогда не поступайте так с логами!
В данном случае обратите внимание, что
/var/log/squid/access.log имеет владельца squid.squid.
Созданный будет во владении root.root, и squid не
сможет туда ничего записать. Могут быть и другие
специфические для файла атрибуты.
Если уж надо почистить log вручную, делайте так:
>log_file
В нашем случае лог вообще в тягость, так что:
ln -s /dev/null /var/log/squid/access.log
next prev parent reply other threads:[~2002-10-16 16:55 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 7:57 Andriy Dobrovol's'kii
2002-10-16 8:20 ` Andriy Dobrovol's'kii
2002-10-16 13:39 ` Sergey Vlasov
2002-10-16 15:46 ` Valentin Nechayev
2002-10-16 13:37 ` Sergey Vlasov
2002-10-16 14:59 ` Andriy Dobrovol's'kii
2002-10-16 15:29 ` Andrew Nazarkin
2002-10-16 15:42 ` Andriy Dobrovol's'kii
2002-10-16 15:47 ` Andrew Nazarkin
2002-10-16 16:55 ` Ilya Palagin [this message]
2002-10-17 8:56 ` Andrew Nazarkin
2002-10-17 12:05 ` Andriy Dobrovol's'kii
2002-10-21 14:32 ` Andriy Dobrovol's'kii
2002-10-21 14:43 ` Sergey Vlasov
2002-10-16 15:44 ` Valentin Nechayev
2002-10-16 15:51 ` [Comm] " Vitaly Ostanin
2002-10-16 15:54 ` Valentin Nechayev
2002-10-16 16:05 ` Vitaly Ostanin
2002-10-16 16:14 ` Andriy Dobrovol's'kii
2002-10-16 16:45 ` Sergey Vlasov
2002-10-16 15:59 ` Andrew Nazarkin
2002-10-16 16:11 ` Andriy Dobrovol's'kii
2002-10-16 16:05 ` Andriy Dobrovol's'kii
2002-10-16 16:12 ` Vitaly Ostanin
2002-10-16 16:25 ` Valentin Nechayev
2002-10-16 16:18 ` Andrew Nazarkin
2002-10-16 16:28 ` Andriy Dobrovol's'kii
2002-10-16 15:47 ` [Comm] " Valentin Nechayev
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=3DAD99FF.7070506@fioc.kz \
--to=tux@fioc.kz \
--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