Hi, We had similar problems:
Apr 10 18:50:07 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] SelfCheck: Database status OK. Apr 10 19:20:13 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] SelfCheck: Database status OK. Apr 10 19:50:41 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] SelfCheck: Database modification detected. Forcing reload. Apr 10 19:50:42 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] Reading databases from /var/sendmail/clamav-db Apr 10 19:52:52 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 1) Apr 10 19:55:02 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 2) Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 3) Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 3) Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] reload db failed: Unable to lock database directory Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] Terminating because of a fatal error. Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] Can't unlink the pid file /var/run/clamd.pid Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] Socket file removed. Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.error] Can't unlink the pid file /var/run/clamd.pid Apr 10 19:57:12 jaguar.misty.com clamd[10009]: [ID 702911 local6.info] --- Stopped at Tue Apr 10 19:57:12 2007 Apr 10 20:47:41 jaguar.misty.com clamd[7043]: [ID 702911 local6.info] No stats for Database check - forcing reload Apr 10 20:47:41 jaguar.misty.com clamd[7043]: [ID 702911 local6.info] Reading databases from /var/sendmail/clamav-db Apr 10 20:49:51 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 1) Apr 10 20:52:01 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 2) Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 3) Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory (try 3) Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.info] Terminating because of a fatal error. Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] reload db failed: Unable to lock database directory Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] Can't unlink the pid file /var/run/clamd.pid Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.info] Socket file removed. Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.error] Can't unlink the pid file /var/run/clamd.pid Apr 10 20:54:11 jaguar.misty.com clamd[7043]: [ID 702911 local6.info] --- Stopped at Tue Apr 10 20:54:11 2007 On Wed, Apr 11, 2007 at 12:46:44PM +0200, jacusy wrote: > Hello, > > this night my clamd-process terminated with an error. The reason was > that freshclam took too long to do its update, so that clamd could not > lock the database. So clamd exited. But this behaviour is very fatal > because the mail system (postfix with amavis) relys on clamd, so if it > is down, the whole mail traffic is blocked!! Caused of an error while > updating...... > > What to do against? > > > The logs: > clamd.log > > Wed Apr 11 01:53:40 2007 -> SelfCheck: Database status OK. > > Wed Apr 11 02:27:53 2007 -> SelfCheck: Database modification detected. > > Forcing reload. > > Wed Apr 11 02:28:07 2007 -> Reading databases from > > /usr/local/clamav/share/clamav > > Wed Apr 11 02:30:17 2007 -> ERROR: reload db failed: Unable to lock > > database directory (try 1) > > Wed Apr 11 02:32:27 2007 -> ERROR: reload db failed: Unable to lock > > database directory (try 2) > > Wed Apr 11 02:34:37 2007 -> ERROR: reload db failed: Unable to lock > > database directory (try 3) > > Wed Apr 11 02:34:37 2007 -> ERROR: reload db failed: Unable to lock > > database directory > > Wed Apr 11 02:34:37 2007 -> Terminating because of a fatal error.Wed > > Apr 11 02:34:37 2007 -> Socket file removed. > > Wed Apr 11 02:34:37 2007 -> Pid file removed. > > Wed Apr 11 02:34:37 2007 -> --- Stopped at Wed Apr 11 02:34:37 2007 > > > freshclam.log > > ClamAV update process started at Wed Apr 11 02:23:01 2007 > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 62.26.160.3) > > Trying host db.de.clamav.net (85.25.252.58)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 85.25.252.58) > > Trying host db.de.clamav.net (85.199.169.78)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 85.199.169.78) > > Trying host db.de.clamav.net (85.214.44.186)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 85.214.44.186) > > Trying host db.de.clamav.net (88.198.17.100)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 88.198.17.100) > > Trying host db.de.clamav.net (88.198.104.251)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 88.198.104.251) > > Trying host db.de.clamav.net (89.149.194.18)... > > connect_error: getsockopt(SO_ERROR): fd=5 error=110: Connection timed out > > Can't connect to port 80 of host db.de.clamav.net (IP: 89.149.194.18) > > Trying host db.de.clamav.net (194.77.146.139)... > > nonblock_connect: connect(): fd=5 errno=103: Software caused > > connection abort > > Can't connect to port 80 of host db.de.clamav.net (IP: 194.77.146.139) > > Trying host db.de.clamav.net (195.246.234.199)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 195.246.234.199) > > Trying host db.de.clamav.net (213.174.32.130)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 213.174.32.130) > > Trying host db.de.clamav.net (217.115.136.166)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 217.115.136.166) > > Trying host db.de.clamav.net (217.160.141.39)... > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 217.160.141.39) > > ERROR: getpatch: Can't download main-43.cdiff from db.de.clamav.net > > nonblock_connect: connect timing out (30 secs) > > Can't connect to port 80 of host db.de.clamav.net (IP: 62.26.160.3) > > > (this goes on for some pages....) > > Trying host database.clamav.net (194.77.146.139)... > > nonblock_connect: connect(): fd=9 errno=103: Software caused > > connection abort > > Can't connect to port 80 of host database.clamav.net (IP: 194.77.146.139) > > Ignoring mirror 195.246.234.199 (due to previous errors) > > Trying host database.clamav.net (213.174.32.130)... > > Downloading daily-3065.cdiff [0%] > > daily.inc updated (version: 3065, sigs: 3293, f-level: 14, builder: sven) > > Database updated (107793 signatures) from database.clamav.net (IP: > > 213.174.32.130) > > WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd > > -------------------------------------- > > ClamAV update process started at Wed Apr 11 05:23:01 2007 > > main.inc is up to date (version: 43, sigs: 104500, f-level: 14, > > builder: sven) > > daily.inc is up to date (version: 3065, sigs: 3293, f-level: 14, > > builder: sven) > > > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html -- Mark G. Thomas ([EMAIL PROTECTED]) voice: 215-591-3695 http://mail-cleaner.com/ _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html