From clamav-users-bounces@lists.clamav.net  Wed Jul 16 11:58:07 2008
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 cx48EBJ6cP9r; Wed, 16 Jul 2008 11:58:06 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 08A7B16C0DF;
	Wed, 16 Jul 2008 11:58:04 +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 yA0SJOHnX6M1 for <clamav-users@tad.clamav.net>;
	Wed, 16 Jul 2008 11:58:00 +0200 (CEST)
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189])
	by tad.clamav.net (Postfix) with ESMTP id 5298A16C0D1
	for <clamav-users@lists.clamav.net>;
	Wed, 16 Jul 2008 11:58:00 +0200 (CEST)
Received: by fk-out-0910.google.com with SMTP id 19so3086905fkr.8
	for <clamav-users@lists.clamav.net>;
	Wed, 16 Jul 2008 02:58:00 -0700 (PDT)
Received: by 10.86.63.19 with SMTP id l19mr1723446fga.77.1216202280106;
	Wed, 16 Jul 2008 02:58:00 -0700 (PDT)
Received: by 10.86.93.6 with HTTP; Wed, 16 Jul 2008 02:58:00 -0700 (PDT)
Message-ID: <afb9186c0807160258o3a0fb85t20ed149c5c32434c@mail.gmail.com>
Date: Wed, 16 Jul 2008 10:58:00 +0100
From: "Gavin Bartle" <gavinbartle@gmail.com>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
In-Reply-To: <487DC461.7020306@in.fiorano.com>
MIME-Version: 1.0
Content-Disposition: inline
References: <afb9186c0807160213r68e35b07q4946e4a7f56c6f8f@mail.gmail.com>
	<487DBC55.1040901@internext.co.za>
	<afb9186c0807160220h2c473af3r73ddd2928807566e@mail.gmail.com>
	<487DC461.7020306@in.fiorano.com>
Subject: Re: [Clamav-users] Starting clamd [FAILED]
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

Hi, as far as i know clamd-0.93.3-1.el5.rf.i386.rpm is the latest
version , and i have that installed.

However i had the same problem starting clamd


[root@hwk-proxy-01 var]# cd /var/clamav/
[root@hwk-proxy-01 clamav]# ls
daily.cld  main.cvd  mirrors.dat
[root@hwk-proxy-01 clamav]# rm *
rm: remove regular file `daily.cld'? y
rm: remove regular file `main.cvd'? y
rm: remove regular file `mirrors.dat'? y

[root@hwk-proxy-01 clamav]# freshclam
ClamAV update process started at Wed Jul 16 10:58:24 2008
Downloading main.cvd [100%]
main.cvd updated (version: 47, sigs: 312304, f-level: 31, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 7724, sigs: 40895, f-level: 33, builder: guitar)
Database updated (353199 signatures) from db.gb.clamav.net (IP: 193.19.98.136)
WARNING: Clamd was NOT notified: Can't connect to clamd through
/tmp/clamd.socket
connect(): No such file or directory

[root@hwk-proxy-01 clamav]# service clamd start
Starting Clam AntiVirus Daemon: LibClamAV Error: cli_loaddbdir():
Can't open directory /var/clamav
ERROR: Unable to open file or directory
                                                           [FAILED]


2008/7/16 Britto I <britto@in.fiorano.com>:
> The same happened to me after upgradation of clamd.I could solve that
> issue like this
>
> 1.Upgrade clamd to the latest
> 2.Remove daily.cld and main.cvd and run freshclam( This time unable to
> notify clamd)
> 3.start clamd ( in my case it was started)
> 4.Remove those files again and run freshclam.
>
> --
> Britto
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

