Re: [squid-users] squid improper shutdown

From: Neil A. Hillard <hillardn@dont-contact.us>
Date: Tue, 09 May 2006 14:31:57 +0100

Hi,

pwasenda@ura.go.ug wrote:
> squid2.5 stable 13 sles9 , compiled from source.
>
> Am i insane ?
>
> server:/srv/www/htdocs # squid stop
> 2006/05/09 15:47:50| Squid is already running! Process ID 5984
> server:/srv/www/htdocs # squid start
> 2006/05/09 15:47:54| Squid is already running! Process ID 5984
> server:/srv/www/htdocs # squid start
> 2006/05/09 15:49:41| Squid is already running! Process ID 5984
> server:/srv/www/htdocs # squid start
> 2006/05/09 15:49:51| Squid is already running! Process ID 5984
> server:/srv/www/htdocs # squid stop
> 2006/05/09 15:49:55| Squid is already running! Process ID 5984
> server:/srv/www/htdocs # squid stop
> 2006/05/09 15:50:08| Squid is already running! Process ID 5984
>
>
> rcsquid stop works though. I have attached a copy. What is happening ? I have a
> feeling the when i restart the server, it doesn't wait for the squid to
> properly exit, could i be correct ? how to avert this if so.

You are executing the binary itself when you perform a 'squid stop' -
you should try 'squid -k shutdown' instead.

Try executing 'squid --help' to see all valid options and you'll notice
that 'start' and 'stop' aren't there.

HTH,

                                Neil.

-- 
Neil Hillard                    hillardn@whl.co.uk
Westland Helicopters Ltd.       http://www.whl.co.uk/
Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.
Received on Tue May 09 2006 - 07:32:34 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT