RE: [squid-users] squid: ERROR: No running copy

From: Elsen Marc <elsen@dont-contact.us>
Date: Tue, 20 Jul 2004 10:27:45 +0200

 
>
> Hi!
>
> I am running Squid 2.5 stable with Linux 9 and, since I used the "-k
> reconfigure" option,
> squid donīt run nevermore... squid: ERROR: No running copy
>
> I have read from FAQ this solution:
> <..>
> 11.43. squid: ERROR: no running copy
> You may get this message when you run commands like squid -krotate.
> This error message usually means that the squid.pid file is missing.
> Since the PID file is normally present when squid is running, the
> absence of the PID file usually means Squid is not running. If you
> accidentally delete the PID file, Squid will continue
> running, and you
> won't be able to send it any signals.
> If you accidentally removed the PID file, there are two ways
> to get it
> back.
> 1. run ps and find the Squid process id. You'll probably see two
> processes, like this:
> bender-wessels % ps ax | grep squid
> 83617 ?? Ss 0:00.00 squid -s
> 83619 ?? S 0:00.48 (squid) -s (squid)
> You want the second process id, 83619 in this case. Create the PID
> file and put the process id number there. For example:
> echo 83619 > /usr/local/squid/logs/squid.pid
> 2. Use the above technique to find the Squid process id. Send the
> process a HUP signal, which is the same as squid -kreconfigure:
> kill -HUP 83619
> The reconfigure process creates a new PID file automatically.
>...
>...
> But I donīt have the process up and, therefore, I canīt
> create the PID
> file and put the process id number there...
> Any idea?
> Thanks
>
  If squid is not running , then simply start squid. The file containing
the pid should also be created.
Check cache.log when starting squid, watch out for fatal errors
when squid is started , if any.

M.
Received on Tue Jul 20 2004 - 02:28:43 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT