Re: [squid-users] squid-2.5.STABLE4

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 22 Sep 2003 12:26:06 +0200 (CEST)

On Mon, 22 Sep 2003, boka wrote:

> But I have problem. I can't restart the deamon with squid -k restart,
> kill - squid -k kill, shutdown - squid -k shutdown. I always get error
> no such process - ofcourse squid is running.

Then there is a problem with writing the squid.pid file. Maybe Squid does
not have permission to write to this file or something.

> I have to kill it with kill
> -9 <pid of squid and related processess> command.

Don't "kill -9" unless you absolutely have to. "kill -9" is the same as
"squid -k kill" and will forcibly shut down Squid without any chance to
clean up first.

> After that my squid gets unusable. I can start it, it binds to 8080 port
> but there's no communication with it - no error messages in logs.

Odd.. what does cache.log say?

> I have to restart whole machine.

Then you have some other problem as well. You should never need to restart
the machine only because you are restarting a daemon like Squid.

Regards
Henrik
Received on Mon Sep 22 2003 - 04:26:09 MDT

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