Re: [squid-users] Unable to use rcsquid or...

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 19 Jan 2008 14:12:08 +1300

Russell Martilla wrote:
> anything else to shut squid down or start it up for that matter. I have resolved all my other issues and squid is functioning but I am unable to shut it down unless I do a kill -9 command...
>
> I type ./squid start or stop or status @ /usr/local/squid/sbin/ and I get the following errors;

squid process needs one or two parameters.
IF you are specifying a non-default squid.conf location use -f:
   -f <path-to-squid-conf>

start/stop are passed in via -k with names like shutdown/restart/reconfigure

   -k shutdown/reconfigure/restart

STOP: squid -k shutdown
START: squid
RELOAD: squid -k reconfigure

use squid --help to see the available commands.

>
> 2008/01/18 08:27:23| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
> 2008/01/18 08:27:23| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
> 2008/01/18 08:27:23| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'

You are using 3.x yes? 'all' ACL has been made a built-in ACL now for
3.1 and some earlier. You can remove it from your squid.conf file.

> 2008/01/18 08:27:23| Squid is already running! Process ID 9446

Caused by incorrect parameters received from command line. Squid thinks
you are starting a new version.

>
> Squid is in the etc/init.d folder as well...
>
> Please Please Please help. I am using Webmin and it won't fully work on squid until I solve this problem...
>

/etc/init.d/squid should be a script which translates the RC commands
start/stop/restart/reload into calls or parameters the program
*/sbin/squid can understand.

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Fri Jan 18 2008 - 18:11:57 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST