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.
