Re: [squid-users] questions with squid-3.1

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Feb 2010 22:10:07 +1300

Jeff Peng wrote:
> I just downloaded squid-3.1 source and compile && install it on an
> ubuntu linux box.
> There are two questions around it:
>
> 1. # sbin/squid -k kill
> squid: ERROR: No running copy
>

-k shutdown is preferred if you can. "kill" is quite drastic and immediate.

> Though squid is running there, but squid -k kill shows "No running copy".
> I think this is because squid can't find its pid file, so where is
> the default pid file?

In this order (first :

1) whatever is in squid.conf.

2) Whatever was built with --with-pidfile=/path/squid.pid

3) $PREFIX/var/run/squid.pid with whatever was defined in --prefix=...

4) /usr/local/squid/var/run/squid.pid

>
> 2. # sbin/squid -D
> 2010/02/16 15:02:41| WARNING: -D command-line option is obsolete.
>
> -D is obsolete, why and what's the corresponding one to this option in
> squid-3.1?

-D existed only to solve one problem which is now fully fixed.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24
   Current Beta Squid 3.1.0.16
Received on Tue Feb 16 2010 - 09:10:16 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 16 2010 - 12:00:05 MST