Author Topic: Squid postrotate error in Anacron job 'cron.daily' e-mail  (Read 2316 times)

LinuxRocks

  • Zen Apprentice
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Squid postrotate error in Anacron job 'cron.daily' e-mail
« on: April 17, 2012, 01:06:09 am »
Hi All :)

I am getting the following error every night after anacron works its magic.

Any ideas on how to fix the error?

Code: [Select]
/etc/cron.daily/logrotate:
squid: ERROR: Could not send signal 10 to process 15554: (3) No such process
error: error running shared postrotate script for '/var/log/squid/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1

It seems like after rotating the logs, squid tries to kill itself and restart, but cannot find the original pid in /var/run. Almost like it crashed and restarted and didn't update its pid file.

Just started happening this week. I do recall there was a remote services update that came across, so might be related. Here is the update log from April:

Code: [Select]
Start-Date: 2012-04-02  18:40:47
Upgrade: zentyal-software (2.2.3, 2.2.4)
End-Date: 2012-04-02  18:41:01

Start-Date: 2012-04-04  19:09:33
Upgrade: libtiff4 (3.9.2-2ubuntu0.7, 3.9.2-2ubuntu0.8)
End-Date: 2012-04-04  19:09:38

Start-Date: 2012-04-07  09:05:02
Upgrade: libcupscgi1 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), cups-client (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), libcupsmime1 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), libgnutls26 (2.8.5-2, 2.8.5-2ubuntu0.1), libcupsppdc1 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), cups-common (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), libcups2 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), cups (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), libcupsdriver1 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6), libpng12-0 (1.2.42-1ubuntu2.4, 1.2.42-1ubuntu2.5), libcupsimage2 (1.4.3-1ubuntu1.5, 1.4.3-1ubuntu1.6)
End-Date: 2012-04-07  09:05:25

Start-Date: 2012-04-10  09:33:32
Upgrade: zentyal-remoteservices (2.2.5, 2.2.6)
End-Date: 2012-04-10  09:33:52

Start-Date: 2012-04-13  09:01:11
Upgrade: zentyal-printers (2.2.1, 2.2.2)
End-Date: 2012-04-13  09:01:28

Thanks!
Joe