[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2x Squid auf einem Server



Hallo :-),
sorry war mein Fehler ich hatte noch einen Tippfehler in der squid.conf,
war wohl vorgestern doch zu spät  :-[ . Nach Korrektur ging es via
squid.conf allerdings nicht via Runlevel Script, ist aber nicht weiter
schlimm.

Danke an alle die geholfen haben.

P.S. TA - Die Übernahme geht voran  :-D .

>On Thu, 26 May 2005, Stefan Drees wrote:
>
>  
>
>>>>Die PID-Datei wird von Squid erzeugt, das Script schnüffelt nur daran.
>>>>        
>>>>
>>>Vielleicht verstehe ich ja was falsch, aber beim Apache wird im
>>>init-Skript angegben, wo die PID-Datein steht.
>>>      
>>>
>>Das hätte ich auch erwartet, aber sowhl über Init Script als auch über 
>>squid.conf lässt sich die PID nicht ändern.
>>    
>>
>
>Hab's gerade versucht nachzuvollziehen:
>
>a15166696:~# apt-get install squid
>Reading Package Lists... Done
>Building Dependency Tree... Done
>The following extra packages will be installed:
>  squid-common
>Suggested packages:
>  squidclient squid-cgi logcheck-database resolvconf winbind
>The following NEW packages will be installed:
>  squid squid-common
>0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
>Need to get 0B/960kB of archives.
>After unpacking 6001kB of additional disk space will be used.
>Do you want to continue? [Y/n] 
>Preconfiguring packages ...
>Selecting previously deselected package squid-common.
>(Reading database ... 33612 files and directories currently installed.)
>Unpacking squid-common (from .../squid-common_2.5.9-9_all.deb) ...
>Selecting previously deselected package squid.
>Unpacking squid (from .../squid_2.5.9-9_i386.deb) ...
>Setting up squid-common (2.5.9-9) ...
>Setting up squid (2.5.9-9) ...
>Starting proxy server: squid.
>
>a15166696:~# cd /etc/squid/
>a15166696:/etc/squid# joe squid.conf
>a15166696:/etc/squid# grep -i pid squid.conf 
>#  TAG: pid_filename
>pid_filename /var/run/squid-blah.pid
>#       <pid>'.
>a15166696:/etc/squid# ps auxf | grep squid
>root     18116  0.0  0.2  4436 1248 ?        Ss   17:23   0:00 
>/usr/sbin/squid -D -sYC
>proxy    18119  0.0  0.9  7348 4640 ?        S    17:23   0:00  \_ (squid) -D -sYC
>
>a15166696:/etc/squid# cat /var/run/squid-blah.pid 
>18119
>
>...
>
>Zeig' mal bitte die Ausgabe von "grep -i pid /etc/squid/*.conf" bzw. die 
>Ausgabe von "grep PID /etc/init.d/squid*"
>
>
>t++
>



Reply to: