Re: [squid-users] Is Squid is running?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 25 Jul 2003 13:50:54 +0200

fre 2003-07-25 klockan 10.49 skrev ads squid:
> I have given command "/usr/local/squid/sbin/squid"
> to start squid. It gives message "Squid is already
> runnung"
> WhenI use "top" utiliry iT does not show any squid
> running. Also these no change in access.log file.
> Is squid runnomg?

Try "killall -0 squid"

If this gives an error then Squid is not running and the pid file has
been corrupted (indicating a pid of a running process, except that it is
not Squid..). In such case remove the pid file and Squid should be able
to start.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Jul 25 2003 - 05:51:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:16 MST