From clamav-users-bounces@lists.clamav.net  Wed Jul 16 10:11:45 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 E4o6rLiydkjb; Wed, 16 Jul 2008 10:11:45 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 2B02A16C0D1;
	Wed, 16 Jul 2008 10:11:41 +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 wwPm4Gwti8rv for <clamav-users@tad.clamav.net>;
	Wed, 16 Jul 2008 10:11:37 +0200 (CEST)
X-Greylist: delayed 770 seconds by postgrey-1.27 at tad;
	Wed, 16 Jul 2008 10:11:37 CEST
Received: from uk-chillies.internext.co.za (uk-chillies.internext.co.za
	[80.68.94.92])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by tad.clamav.net (Postfix) with ESMTP id 5D7B616C098
	for <clamav-users@lists.clamav.net>;
	Wed, 16 Jul 2008 10:11:37 +0200 (CEST)
Received: from [192.168.0.32] (dsl-243-79-56.telkomadsl.co.za [41.243.79.56])
	(authenticated bits=0)
	by uk-chillies.internext.co.za (8.14.2/8.14.2) with ESMTP id
	m6G7wfQX025359
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <clamav-users@lists.clamav.net>; Wed, 16 Jul 2008 09:58:45 +0200
Message-ID: <487DAA30.2030400@internext.co.za>
Date: Wed, 16 Jul 2008 09:58:40 +0200
From: Stefan Schoeman <stefan@internext.co.za>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: ClamAV users ML <clamav-users@lists.clamav.net>
References: <afb9186c0807150830x5a9db140x3c476891c7852f09@mail.gmail.com>
	<afb9186c0807160054y22f28f2p120836311df206df@mail.gmail.com>
In-Reply-To: <afb9186c0807160054y22f28f2p120836311df206df@mail.gmail.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

Maybe try :

chown -R clamav /var/clamav
and then
freshclam

Perhaps the files inside /var/clamav are not present, or do not belong 
to the correct user.

Gavin Bartle wrote:
> Hi folks
>
> Im running CentOS 5, squid is installed, next step clam then dans.
> However im having problems getting clam install ;
>
> i've installed the following packages via RPM -i
>
> http://packages.sw.be/clamav/clamav-0.93.3-1.el5.rf.i386.rpm
> http://packages.sw.be/clamav/clamav-db-0.93.3-1.el5.rf.i386.rpm
> http://packages.sw.be/clamav/clamav-devel-0.93.3-1.el5.rf.i386.rpm
> http://packages.sw.be/clamav/clamd-0.93.3-1.el5.rf.i386.rpm
>
> however when i try to start the clamd i get the below
>
> [root@hwk-proxy-01 var]# 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]
>
> The folder is there in /var
>
> drwxr-xr-x  2 clamav clamav 4096 Jul  9 21:24 clamav
>
> I'm sure this is a pretty simple error but its all new to me, ive been
> hunting online but cant find any solution, can anyone help ?
>
> Many thanks
> Gavin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>   

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

