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

Reply via email to