Re: [squid-users] stopping squid = FAILED

From: Henrik Nordstrom <[email protected]>
Date: Wed, 19 Dec 2001 20:06:18 +0100

Start by looking into cache.log for the reason to why Squid does not
start.

Regarding "squid -z". This should be run as the user who normally starts
Squid. On most systems this is root.

Regarding "not running as root". In fact, Squid-2 will even refuse to
run as root. It must have a non-root user configured as
cache_effective_user, or be started from a non-root userid (in which
case it will run as that user).

Regards
Henrik Nordstr�m
MARA Systems AB

"Oscar Castaneda V." wrote:
>
> Hi,
>
> I have a proxy firewall box. Recently it was shutdown or picked at not sure.
> Now squid doesn't work, among other things.
>
> /etc/rc.d/init.d/squid stop
> Stopping squid: [FAILED]
>
> starting squid is ok, but it doesn't work. Is there any simple solution or, what could be the root of the problem?
>
> I reinstalled squid using the user/group squid. However once I start squid using squid -z I get a "failed creating swap", now i know from the FAQ that I should create /var/spool/cache in order to fix (and not run squid as root) that but it doesn't seem to fix it.
>
> Also user squid has /bin/false shell so i can't login with this user in order to run squid -z . What can I do here?
>
> Thanks to all,
> -oscar
> --
> PGP Key fingerprint = 87 83 5F D3 8D D4 B9 DC 4F 15 B1 68 4E FE 2D AE
Received on Wed Dec 19 2001 - 12:36:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:24 MST