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

From: Prada Mateo, Manuel <mpradam@dont-contact.us>
Date: Tue, 20 Jul 2004 09:45:43 +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.
11.44. FATAL: getgrnam failed to find groupid for effective group
'nogroup'
You are probably starting Squid as root. Squid is trying to find a
group-id that doesn't have any special priveleges that it will run as.
The default is nogroup, but this may not be defined on your system.
You need to edit squid.conf and set cache_effective_group to the name
of an unpriveledged group from /etc/group. There is a good chance
that nobody will work for you.
<..>
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

Dpto. Tecnología de Redes y Seguridad
Cirsa Interactive Corp.
C/ Josefa Valcarcel 40 dpdo. 28027 Madrid, España
Tel +34 91 324 87 00 (93012)

http://www.cirsainteractive.com

____________________________________________________________________________

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información CONFIDENCIAL sometida a secreto profesional o cuya divulgación
esté prohibida en virtud de la legislación vigente. Si ha recibido este
mensaje por error, le rogamos que nos lo comunique inmediatamente por esta
misma vía o por teléfono (34 93 739 67 00) y proceda a su destrucción.
Nótese que el correo electrónico vía Internet no permite asegurar ni la
confidencialidad de los mensajes que se transmiten ni la correcta recepción
de los mismos. En el caso de que el destinatario de este mensaje no
consintiera la utilización del correo electrónico vía Internet, rogamos lo
ponga en nuestro conocimiento de manera inmediata.

This message is intended exclusively for its addressee and may contain
information that is CONFIDENTIAL and protected by a professional privilege
or which disclosure is prohibited by law. If this message has been received
in error, please immediately notify us via e-mail or by telephone (34 93
739 67 00) and delete it.
Please note that Internet e-mail does not guarantee the confidentiality or
the proper receipt of the messages sent. If the addressee of this message
does not consent to the use of Internet e-mail, please communicate it to us
immediately.
Received on Tue Jul 20 2004 - 01:54:27 MDT

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