From: "Yuri V. Anikin" <ayv@mec.citytlt.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] Загрузка squid
Date: Sat Dec 16 14:34:00 2000
Message-ID: <Pine.LNX.4.21.L.0012161523500.996-100000@mec.tltlan> (raw)
In-Reply-To: <3A3B481C.83BA8C0B@asplinux.ru>
> > > > После перезагрузки не поднимается squid. Выдержка из /var/log/messages
> > > > squid: Starting squid:
> > > > squid: squid:
> > > > rc: Starting squid succeeded
> > > > (squid): Cannot open /home/squid/log/access.log: (13) Permission denied
> > > > squid[746]: Squid Parent: child process 748 exited with status 1
> > > > ...
> > > > squid[746]: Squid Parent: child process 823 started
> > > > (squid): Cannot open /home/squid/log/accees.log: (13) Permission denied
> > > > squid[746]: Squid Parent: child process 823 exited with status 1
> > > > и т.д.
> > > > При этом права на /home/squid/log/access.log:
> > > > rw-r--r-- nobody nobody
> > > > А в случае запуска с консоли под рутом
> > > > /etc/rc.d/init.d/squid -D
> > > > стартует успешно.
> > > > Что подскажете?
> > > 1 - посмотреть, под каким пользователем стартует сквид
> > > 2 - посмотреть права на каталог log, squid и home - скорее всего, где-то
> > > на них запрещено для hobody
> > > самое простое
> > > cd /
> > > su nobody
> > > cd home
> > > cd squid
> > > cd log
> > > где-то на cd вылетит, что прав нет ;-)
> >
> > Действительно, права на каталог /home/squid установлены в rwxrwx--- для
> > пользователя squid группы wheel.
> > Каким образом надо изменить права?
> установить их для того пользователя и группы, от которого работает squid
> - устанавливается в начале squid.conf
У меня параметры
cache_effective_user nobody
cache_effective_group nobody
почему-то стоят в самом конце /etc/squid/squid/conf.
Владельцем /home/squid рекурсивно сделал пользователя nobody nobody.
Все заработало, спасибо.
prev parent reply other threads:[~2000-12-16 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-16 12:11 Yuri V. Anikin
2000-12-16 12:45 ` Viacheslav Kaloshin
2000-12-16 13:26 ` Yuri V. Anikin
2000-12-16 13:50 ` Viacheslav Kaloshin
2000-12-16 14:34 ` Yuri V. Anikin [this message]
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=Pine.LNX.4.21.L.0012161523500.996-100000@mec.tltlan \
--to=ayv@mec.citytlt.ru \
--cc=mandrake-russian@linuxteam.iplabs.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