Re: [squid-users] Squid will not stop

From: Amos Jeffries <squid3@dont-contact.us>
Date: Mon, 10 Dec 2007 13:55:52 +1300 (NZDT)

> Well, in Fedora 8, I changed some things in the squid.conf file, so I
> try to restart squid. Both Stopping and Starting failed, so I tried to
> do the commands individually. They both fail, coming up with:
> "Stopping squid... [FAILED]" & "Starting squid... [FAILED]" while
> using the commands service squid stop etc. in root. Since this did not
> work I went to System -> Administration -> Services and it says that
> Squid is running, so I try to stop it and get this message: "squid
> failed. The error was: Stopping squid: [FAILED]". It does work fine to
> my knowledge, using squidclient http://www.google.com/ in terminal and
> it works, also on my Windows machine going through it works. Only
> thing I changed in my configure file was adding a ACL, so I have no
> idea.
>
> Anyone know of anything?

Ah, this is a little catch-22 in squid.
To pass the start/stop/etc a second instance of squid needs to start for a
short while to generate a control signal.

If squid.conf contains an error that second instance fails to start and do
its thing. Running "squid -k parse" or a scan of the cache.log should show
you where the problem is. Fix that and the squid controls should work
again.

Amos
Received on Sun Dec 09 2007 - 17:55:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST