freshclam hangs clamav - no mail delivered!
Posted: Sun Jan 23, 2011 6:24 pm
For the second time this week a freshclam update hangs clamd. Or at least I think it's freshclam. The last thing I see in clamd.log before the hickup:
The last rows is obviously from when I restart the clamd daemon.
Freshclam tried to update one more time, but when it is unable to reconnect with clamd it stops updating and doesn't retry.
About half an hour after the stop I start to get these in the maillog:
I haven't got a clue where to start looking for errors. It is kind of worrisome, because it seems like some of the mail is lost in transition when qmail-scanner is failing to scan it.
From /var/log/messages
Code: Select all
Sun Jan 23 13:01:27 2011 -> SelfCheck: Database modification detected. Forcing reload.
Sun Jan 23 13:01:27 2011 -> Stopping and restarting Clamuko.
Sun Jan 23 13:01:27 2011 -> Clamuko stopped.
Sun Jan 23 13:01:27 2011 -> Reading databases from /var/clamav
Sun Jan 23 13:01:36 2011 -> Database correctly reloaded (1888250 signatures)
Sun Jan 23 13:01:36 2011 -> Clamuko: Correctly registered with Dazuko.
Sun Jan 23 13:01:36 2011 -> Clamuko: Scan-on-open mode activated.
Sun Jan 23 13:01:36 2011 -> Clamuko: Scan-on-close mode activated.
Sun Jan 23 13:01:36 2011 -> Clamuko: Scan-on-exec mode activated.
Sun Jan 23 13:01:36 2011 -> Clamuko: Included path /home
Sun Jan 23 13:01:36 2011 -> Clamuko: Included path /var/tmp
Sun Jan 23 13:01:36 2011 -> Clamuko: Included path /usr/local/psa/tmp
Sun Jan 23 13:01:36 2011 -> Stopping and restarting Clamuko.
Sun Jan 23 13:01:36 2011 -> Clamuko: Included path /tmp
Sun Jan 23 22:59:58 2011 -> +++ Started at Sun Jan 23 22:59:58 2011
Freshclam tried to update one more time, but when it is unable to reconnect with clamd it stops updating and doesn't retry.
About half an hour after the stop I start to get these in the maillog:
Code: Select all
Jan 23 13:31:57 server7 X-Qmail-Scanner-2.08st: [server7.domain.tld129578471779017838] Requeuing: Maximum time exceeded. Something cannot handle this message. at /var/qmail/bin/qmail-scanner-queue.pl line 673.
From /var/log/messages
Code: Select all
Jan 23 13:01:24 server7 freshclam[17583]: ClamAV update process started at Sun Jan 23 13:01:24 2011
Jan 23 13:01:25 server7 freshclam[17583]: main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
Jan 23 13:01:25 server7 freshclam[17583]: daily.cld is up to date (version: 12560, sigs: 33049, f-level: 58, builder: gu
itar)
Jan 23 13:01:25 server7 freshclam[17583]: Downloading safebrowsing-26793.cdiff [100%]
Jan 23 13:01:27 server7 freshclam[17583]: safebrowsing.cld updated (version: 26793, sigs: 447604, f-level: 58, builder:
google)
Jan 23 13:01:27 server7 freshclam[17583]: bytecode.cld is up to date (version: 122, sigs: 30, f-level: 58, builder: edwi
n)
Jan 23 13:01:27 server7 freshclam[17583]: Database updated (1326897 signatures) from db.se.clamav.net (IP: 192.121.13.5)
Jan 23 13:01:27 server7 clamd[7462]: SelfCheck: Database modification detected. Forcing reload.
Jan 23 13:01:27 server7 clamd[7462]: Stopping and restarting Clamuko.
Jan 23 13:01:27 server7 clamd[7462]: Clamuko stopped.
Jan 23 13:01:28 server7 clamd[7462]: Reading databases from /var/clamav
Jan 23 13:01:36 server7 clamd[7462]: Database correctly reloaded (1888250 signatures)
Jan 23 13:01:36 server7 freshclam[17583]: Clamd successfully notified about the update.
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Correctly registered with Dazuko.
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Scan-on-open mode activated.
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Scan-on-close mode activated.
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Scan-on-exec mode activated.
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Included path /home
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Included path /var/tmp
Jan 23 13:01:36 server7 clamd[7462]: Clamuko: Included path /usr/local/psa/tmp
Jan 23 13:01:36 server7 clamd[7462]: Stopping and restarting Clamuko.