From clamav-users-bounces@lists.clamav.net  Wed Apr 11 12:47:05 2007
Return-Path: <clamav-users-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id NZtPZVq56Q0B; Wed, 11 Apr 2007 12:47:04 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 2EA9B32406E;
	Wed, 11 Apr 2007 12:46:52 +0200 (CEST)
X-Original-To: clamav-users@tad.clamav.net
Delivered-To: clamav-users@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id VDF5dSQu+KXM for <clamav-users@tad.clamav.net>;
	Wed, 11 Apr 2007 12:46:47 +0200 (CEST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by tad.clamav.net (Postfix) with SMTP id 6DE55324067
	for <clamav-users@lists.clamav.net>;
	Wed, 11 Apr 2007 12:46:47 +0200 (CEST)
Received: (qmail invoked by alias); 11 Apr 2007 10:46:47 -0000
Received: from dslb-084-056-017-016.pools.arcor-ip.net (EHLO [192.168.19.253])
	[84.56.17.16]
	by mail.gmx.net (mp023) with SMTP; 11 Apr 2007 12:46:47 +0200
X-Authenticated: #6535115
X-Provags-ID: V01U2FsdGVkX1+PmcJ3omKP6aRCMDXMPTNAOCFdaOJfgdkMOLcYvM
	lMANsFsnCac8Kw
Message-ID: <461CBC94.3040607@gmx.net>
Date: Wed, 11 Apr 2007 12:46:44 +0200
From: jacusy <jacusy@gmx.net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: clamav-users@lists.clamav.net
X-Y-GMX-Trusted: 0
Subject: [Clamav-users] error stops clamd
X-BeenThere: clamav-users@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
List-Id: ClamAV users ML <clamav-users.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>,
	<mailto:clamav-users-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-users@lists.clamav.net>
List-Help: <mailto:clamav-users-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>,
	<mailto:clamav-users-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: clamav-users-bounces@lists.clamav.net
Errors-To: clamav-users-bounces@lists.clamav.net

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

