From: Viacheslav Kaloshin <multik@asplinux.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] Загрузка squid
Date: Sat Dec 16 13:50:01 2000
Message-ID: <3A3B481C.83BA8C0B@asplinux.ru> (raw)
In-Reply-To: <Pine.LNX.4.21.L.0012161418070.1146-100000@mec.tltlan>
"Yuri V. Anikin" wrote:
>
> > >
> > > После перезагрузки не поднимается 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
--
WBW Viacheslav Kaloshin
multik@asplinux.ru
http://linuxnews.ru
next prev parent reply other threads:[~2000-12-16 13:50 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 [this message]
2000-12-16 14:34 ` Yuri V. Anikin
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=3A3B481C.83BA8C0B@asplinux.ru \
--to=multik@asplinux.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