[squid-users] squid.pid (squid-2.5.STABLE4)

From: Oliver Zimmermann <oz@dont-contact.us>
Date: Thu, 08 Jan 2004 11:19:46 +0100

Hi,

I got problems with the Squid PID after updating from
squid-2.5.STABLE1 to squid-2.5.STABLE4.

The daily "squid -k rotate" didn't work anymore with error
"squid: ERROR: No running copy".

I read in the FAQ, that possibly the squid.pid is missing - but that's
not the case:

ps ax|grep squid
25694 ? S 0:00 /usr/local/squid/sbin/squid -D -sYC -f
/etc/squid.conf
25697 ? R 0:12 (squid) -D -sYC -f /etc/squid.conf

... and /var/run/squid.pid contents 25697

Squid should use that file, because squid.conf has:
#Default:
# pid_filename /usr/local/squid/var/logs/squid.pid
pid_filename /var/run/squid.pid

With a softlink I could solve the problem:
ln -s /var/run/squid.pid /usr/local/squid/var/logs/squid.pid

After this workaround the error disappeared.

Is this a known problem in squid-2.5.STABLE4 on Debian/stable ?

Greetings,
Oliver
Received on Thu Jan 08 2004 - 03:19:52 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:04 MST