Maybe your /var/run not chown-ed by nobody.

On Thu, 08 Jan 2004 11:19:46 +0100, Oliver Zimmermann <[EMAIL PROTECTED]> wrote:

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









-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Reply via email to