Saratov Linux User Group
 help / color / mirror / Atom feed
From: "Конюков Александр" <scor2k@gmail.com>
To: Saratov Linux User Group Maillist <sarlug@lists.lug.ru>
Subject: Re: [Sarlug] squid СРОЧНО
Date: Wed, 26 Mar 2008 15:35:10 +0300
Message-ID: <47EA42FE.5070205@gmail.com> (raw)
In-Reply-To: <47EA40FC.7070207@mail.ru>

linderoxxx пишет:
> Конюков Александр wrote:
>> linderoxxx пишет:
>>> Конюков Александр wrote:
>>>> linderoxxx пишет:
>>>>
>>>>> FATAL: Cannot open '/var/log/squid/access.mylog' for writing.
>>>>>        The parent directory must be writeable by the
>>>>>        user 'squid', which is the cache_effective_user
>>>>>        set in squid.conf.
>>>>
>>>> Ларчик просто открывался :)))
>>>>
>>>>
>>> Спасибо , но не всё еще интереснее...
>>> что за права на access.log? что значит "P" в prw-rw-rw?
>>> и вы видите вчера последняя запись вечером была...не пойму почему...
>>>
>>> master@local ~ $ ls -al /var/log/squid/
>>> total 809587
>>> drwxr-xr-x  19 root  root        672 Мар  1 03:10 ..
>>
>> прикол не в правах на файл, а в правах на вышестоящую директорию, о 
>> чем вам пишет лог ))
> проблема помоему в том, что squid из выше написанного мною ps aux
> запускается от рута...а когда squid пытается запуститься от самого себя, 
> то он видит уже запущенный squid... как мне все поправить и гдЕ?

имхо, стоит поправить права на /var/log/squid
[root@edu log]# ls -l | grep squid
drwxrws--T 2 root  squid     4096 Mar 23 04:04 squid

и права на файлики:
[root@edu squid]# ls -l
total 114796
-rw-rw---- 1 root squid 71435047 Mar 26 15:33 access.log
-rw-rw---- 1 root squid   293538 Mar 26 15:32 cache.log


-- 
scor2k


  reply	other threads:[~2008-03-26 12:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 12:05 linderoxxx
2008-03-26 12:07 ` Конюков Александр
2008-03-26 12:18   ` linderoxxx
2008-03-26 12:20     ` Конюков Александр
2008-03-26 12:26       ` linderoxxx
2008-03-26 12:35         ` Конюков Александр [this message]
2008-03-26 12:43           ` linderoxxx
2008-03-26 12:50             ` Конюков Александр
2008-03-26 12:59               ` linderoxxx
2008-03-26 13:35               ` linderoxxx
2008-03-26 13:32     ` Genix
2008-03-26 13:37       ` Конюков Александр
2008-03-26 19:51     ` Paul P Komkoff Jr

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=47EA42FE.5070205@gmail.com \
    --to=scor2k@gmail.com \
    --cc=sarlug@lists.lug.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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

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


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