Re: [squid-users] squid improper shutdown

From: Visolve squid <squid@dont-contact.us>
Date: Wed, 10 May 2006 16:08:37 +0530

Hello pwasenda,

We came to understand from your mail, you are stoping the squid
binary(sbin/squid), which do not has such a stop option. Squid binary
has only shutdown option. It should be executed as given below.

Shutdown the squid using squid binary

"/path to squid directory/sbin/squid -k shutdown".

Stop the squid using rc script

/path to rc script directory/squid stop

If the path of the squid binary varies compared to the location of squid
specified in rc script, Squid will not shutdown properly. So check for
correctness.

Thanks,
Visolve Squid Team,
http://squid.visolve.com

On Tue, 2006-05-09 at 16:10 +0300, 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.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
Received on Wed May 10 2006 - 04:37:39 MDT

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