From: Sets WarLIq (setswarliq@gmail.com)
Date: Wed 01 Sep 2004 - 12:45:35 EEST
http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc11.43
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
.
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
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.
On Wed, 1 Sep 2004 12:33:23 +0300, esat yasar çaglayan
<esat@vitel.com.tr> wrote:
> /var/log/squid/store.log dosyasına yazarken 28 nolu hata kodunu
> yolluyor
> bu neden kaynaklanabilir
>
> squid ilk başta çalışıyor gözüküy
or
> squid (pid 8345) is running
> error no running copy diyor
>
> daha sonra
>
> squid dead but subsys locked
> >squid: ERROR: No running copy
>
> hatasını veriyor
>
> tail /var/log/messages baktığımda
>
> /var/log/squid/store.log içerisine yazarken 28 nolu hatayı veri
yor
>
> bunun nedeni ne olabilir
>
>
>
> -----Özgün İleti-----
> Kimden: linux-network-bounce@liste.linux.org.tr
> [mailto:linux-network-bounce@liste.linux.org.tr] Yerine Bulent Tatlidil
> Tarih: 31 Ağustos 2004 Salı 16:55
> Kime: linux-network@liste.linux.org.tr
> Konu: [linux-network] Re: YNT: Re: squid
>
> =?iso-8859-9?Q?esat_yasar_çaglayan?= wrote:
>
> >Dosyanın adı squid.pid mi acaba?
> >
> >
> ta kendisi.
>
> >Sebebi squid uygulamasi bir sekilde sonlanmis , ancak .pid dosyasi
> >dosya sisteminizde mevcut gibi.
> >(/var/run veya /var/lock altinda bir bakin , o dosyanin icinde bir
> >zamanlar calisan
> >squid'in Process ID'sini gorebilirsiniz.)
> >O dosyayi silince bu hatayi vermemesi gerekir.
> >
> >Bulent Tatlidil
> >
> >
> >
> >
>
>
-- Sets WarLIq Subicon Network Database & Technical Administrator Security & Project Coordinator