← Back to team overview

aims team mailing list archive

[Bug 1073478] [NEW] squid3 does not clean up pid file

 

You have been subscribed to a public bug by Jan Groenewald (jan-aims):

Squid3 on Precise does not clean up its PID file, causing logrotate to 
spit out an error each night when cron runs it. This is on a server where
we want squid3 installed and ready to go but not running by default.

0 root@rackspace:/etc/mysql#start squid3 
squid3 start/running, process 10392
0 root@rackspace:/etc/mysql#cat /var/run/squid3.pid 
10392
0 root@rackspace:/etc/mysql#stop squid3 
squid3 stop/waiting
0 root@rackspace:/etc/mysql#cat /var/run/squid3.pid 
10392
0 root@rackspace:/etc/mysql#logrotate -f /etc/logrotate.d/squid3 
squid: ERROR: Could not send signal 10 to process 10392: (3) No such process
error: error running shared postrotate script for '/var/log/squid3/*.log '
1 root@rackspace:/etc/mysql#lsb_release -d
Description:    Ubuntu 12.04.1 LTS
0 root@rackspace:/etc/mysql#dpkg -l squid3
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                                  Description
+++-========================================-========================================-================================================================================================
ii  squid3                                   3.1.19-1ubuntu3.12.04.1                  Full featured Web Proxy cache (HTTP proxy)
0 root@rackspace:/etc/mysql#

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
squid3 does not clean up pid file
https://bugs.launchpad.net/bugs/1073478
You received this bug notification because you are a member of AIMS, which is subscribed to the bug report.