FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-21-2009, 10:52 AM
Vadim Kolchev
 
Default Clamav problem

I installed clamav and want to update virus database but it tells me i
got the latest database. However when I view info about my clamav it
tells I have 0 entries in database. How can I fix it?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-17-2012, 11:45 AM
jiten jha
 
Default ClamAV Problem

Dear Friends,

I have postfix mail server When I try to install amavisd-new, clamAV,
SpamAssassin follow this link "http://wiki.centos.org/HowTos/Amavisd".
I have done all the configuration after that when I restart clamav
So It is giving my this error message

Stopping Clam AntiVirus Daemon: [FAILED]
Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD
header in /var/clamav/daily.cld
LibClamAV Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld
ERROR: Malformed database
[FAILED]



When I send mail to any one after that i check log so it is showing me


Sep 17 16:15:20 neumann dovecot: imap-login: Login: user=<
jha@phys.iitb.ac.in>, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured
Sep 17 16:15:20 neumann dovecot: IMAP(jha@phys.iitb.ac.in): Disconnected:
Logged out bytes=146/3849
Sep 17 16:15:25 neumann dovecot: imap-login: Login: user=<
jha@phys.iitb.ac.in>, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured
Sep 17 16:15:25 neumann dovecot: IMAP(jha@phys.iitb.ac.in): Disconnected:
Logged out bytes=296/5756
Sep 17 16:15:37 neumann postfix/qmgr[8795]: D43259FA98: from=<
root@phys.iitb.ac.in>, size=427, nrcpt=1 (queue active)
Sep 17 16:15:37 neumann postfix/qmgr[8795]: 29DE59FAA0: from=<
root@phys.iitb.ac.in>, size=943, nrcpt=1 (queue active)
Sep 17 16:15:37 neumann postfix/qmgr[8795]: 9FACC9FA90: from=<
root@phys.iitb.ac.in>, size=427, nrcpt=1 (queue active)
Sep 17 16:15:38 neumann amavis[8836]: (08836-02) (!)ClamAV-clamd: Can't
connect to UNIX socket /var/run/clamav/clamd.sock: 2, retrying (2)
Sep 17 16:15:38 neumann amavis[8835]: (08835-03) (!)ClamAV-clamd: Can't
connect to UNIX socket /var/run/clamav/clamd.sock: 2, retrying (2)
Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)ClamAV-clamd av-scanner
FAILED: run_av error: Too many retries to talk to
/var/run/clamav/clamd.sock (Can't connect to UNIX socket
/var/run/clamav/clamd.sock: No such file or directory) at (eval 100) line
375.

Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!!)WARN: all primary
virus scanners failed, considering backups
Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)ClamAV-clamd av-scanner
FAILED: run_av error: Too many retries to talk to
/var/run/clamav/clamd.sock (Can't connect to UNIX socket
/var/run/clamav/clamd.sock: No such file or directory) at (eval 100) line
375.

Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!!)WARN: all primary
virus scanners failed, considering backups
Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)run_av
(ClamAV-clamscan) FAILED - unexpected exit 2, output="LibClamAV Error:
cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld
LibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld
ERROR: Malformed database"
Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)ClamAV-clamscan
av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="LibClamAV
Error: cl_cvdhead: Can't read CVD header in
/var/clamav/daily.cld
LibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld
ERROR: Malformed database" at (eval 100)
line 596.
Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!!)TROUBLE in check_mail:
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 17 16:15:44 neumann amavis[8836]: (08836-02) (!)PRESERVING EVIDENCE in
/var/amavis/tmp/amavis-20120917T161537-08836
Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)run_av
(ClamAV-clamscan) FAILED - unexpected exit 2, output="LibClamAV Error:
cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld
LibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld
ERROR: Malformed database"
Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)ClamAV-clamscan
av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="LibClamAV
Error: cl_cvdhead: Can't read CVD header in
/var/clamav/daily.cld
LibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld
ERROR: Malformed database" at (eval 100)
line 596.
Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!!)TROUBLE in check_mail:
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 17 16:15:44 neumann amavis[8835]: (08835-03) (!)PRESERVING EVIDENCE in
/var/amavis/tmp/amavis-20120917T161537-08835
Sep 17 16:15:45 neumann postfix/lmtp[8932]: 29DE59FAA0: to=<
jha@phys.iitb.ac.in>, relay=127.0.0.1[127.0.0.1]:10024, delay=799,
delays=792/0.04/0/7.2, dsn=4.5.0, status=deferred (host
127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08835-03,
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA
command))
Sep 17 16:15:45 neumann postfix/lmtp[8931]: D43259FA98: to=<
jha@phys.iitb.ac.in>, relay=127.0.0.1[127.0.0.1]:10024, delay=810,
delays=803/0.02/0.01/7.2, dsn=4.5.0, status=deferred (host
127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08836-02,
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA
command))
Sep 17 16:15:46 neumann amavis[8836]: (08836-03) (!)ClamAV-clamd: Can't
connect to UNIX socket /var/run/clamav/clamd.sock: 2, retrying (2)
Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!)ClamAV-clamd av-scanner
FAILED: run_av error: Too many retries to talk to
/var/run/clamav/clamd.sock (Can't connect to UNIX socket
/var/run/clamav/clamd.sock: No such file or directory) at (eval 100) line
375.

Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!!)WARN: all primary
virus scanners failed, considering backups
Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!)run_av
(ClamAV-clamscan) FAILED - unexpected exit 2, output="LibClamAV Error:
cl_cvdhead: Can't read CVD header in /var/clamav/daily.cld
LibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld
ERROR: Malformed database"
Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!)ClamAV-clamscan
av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="LibClamAV
Error: cl_cvdhead: Can't read CVD header in
/var/clamav/daily.cld
LibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld
ERROR: Malformed database" at (eval 100)
line 596.
Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!!)TROUBLE in check_mail:
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 17 16:15:52 neumann amavis[8836]: (08836-03) (!)PRESERVING EVIDENCE in
/var/amavis/tmp/amavis-20120917T161545-08836
Sep 17 16:15:52 neumann postfix/lmtp[8932]: 9FACC9FA90: to=<
your-address@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=834,
delays=819/7.3/0.02/7.1, dsn=4.5.0, status=deferred (host
127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08836-03,
virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA
command))


unable to understand why it is giving me this error . Please help me .


--
Thanks & Regards
Jitendra Jha
+91-7498370550
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-17-2012, 12:13 PM
"Shiv. Nath"
 
Default ClamAV Problem

On 9/17/12 11:45 AM, jiten jha wrote:
> Dear Friends,
>
> I have postfix mail server When I try to install amavisd-new, clamAV,
> SpamAssassin follow this link "http://wiki.centos.org/HowTos/Amavisd".
> I have done all the configuration after that when I restart clamav
> So It is giving my this error message
>
> Stopping Clam AntiVirus Daemon: [FAILED]
> Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD
> header in /var/clamav/daily.cld
> LibClamAV Error: cli_loaddbdir(): error parsing header of
> /var/clamav/daily.cld
> ERROR: Malformed database
> [FAILED]
>
>
>
> When I send mail to any one after that i check log so it is showing me
> unable to understand why it is giving me this error . Please help me .
>
>
Hi,

This is not critical error, it simply means that database of clamav that
contains definition information has corrupted. there are more than one
way to fix it.
1.) yum remove clam clamav-db* followed by yum install clamav-db
2.) find & move the following files to temp location run freshclam.
daily.cvd main.cld, mirrors.dat

Thanks
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-17-2012, 05:23 PM
Bill Campbell
 
Default ClamAV Problem

On Mon, Sep 17, 2012, Shiv. Nath wrote:
>On 9/17/12 11:45 AM, jiten jha wrote:
>> Dear Friends,
>>
>> I have postfix mail server When I try to install amavisd-new, clamAV,
>> SpamAssassin follow this link "http://wiki.centos.org/HowTos/Amavisd".
>> I have done all the configuration after that when I restart clamav
>> So It is giving my this error message
>>
>> Stopping Clam AntiVirus Daemon: [FAILED]
>> Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD
>> header in /var/clamav/daily.cld
>> LibClamAV Error: cli_loaddbdir(): error parsing header of
>> /var/clamav/daily.cld
>> ERROR: Malformed database
...
>
>This is not critical error, it simply means that database of clamav that
>contains definition information has corrupted. there are more than one
>way to fix it.
>1.) yum remove clam clamav-db* followed by yum install clamav-db
>2.) find & move the following files to temp location run freshclam.
>daily.cvd main.cld, mirrors.dat

One should run 'freshclam' periodically to update the clamav
database.

Bill
--
INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792

With Congress, every time they make a joke it's a law; and every time
they make a law it's a joke.
-- Will Rogers
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-17-2012, 06:17 PM
jiten jha
 
Default ClamAV Problem

On Mon, Sep 17, 2012 at 10:53 PM, Bill Campbell <centos@celestial.com>wrote:

> On Mon, Sep 17, 2012, Shiv. Nath wrote:
> >On 9/17/12 11:45 AM, jiten jha wrote:
> >> Dear Friends,
> >>
> >> I have postfix mail server When I try to install amavisd-new, clamAV,
> >> SpamAssassin follow this link "http://wiki.centos.org/HowTos/Amavisd".
> >> I have done all the configuration after that when I restart clamav
> >> So It is giving my this error message
> >>
> >> Stopping Clam AntiVirus Daemon: [FAILED]
> >> Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read
> CVD
> >> header in /var/clamav/daily.cld
> >> LibClamAV Error: cli_loaddbdir(): error parsing header of
> >> /var/clamav/daily.cld
> >> ERROR: Malformed database
> ...
> >
> >This is not critical error, it simply means that database of clamav that
> >contains definition information has corrupted. there are more than one
> >way to fix it.
> >1.) yum remove clam clamav-db* followed by yum install clamav-db
> >2.) find & move the following files to temp location run freshclam.
> >daily.cvd main.cld, mirrors.dat
>
> One should run 'freshclam' periodically to update the clamav
> database.
>
> Bill
> --
> INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
> Voice: (206) 236-1676 Mercer Island, WA 98040-0820
> Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
>
> With Congress, every time they make a joke it's a law; and every time
> they make a law it's a joke.
> -- Will Rogers
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Dear Friends,

Thanks for reply but I have little problem to run "freshclam" command here
we have proxy setting so I am not able to downloand or run command it is
not connect to db.local.clamav.net . Is there any other way to download
file 3 files.

--
Thanks & Regards
Jitendra Jha
+91-7498370550
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-17-2012, 06:22 PM
"John R. Dennison"
 
Default ClamAV Problem

On Mon, Sep 17, 2012 at 11:47:47PM +0530, jiten jha wrote:
>
> Thanks for reply but I have little problem to run "freshclam" command here
> we have proxy setting so I am not able to downloand or run command it is
> not connect to db.local.clamav.net . Is there any other way to download
> file 3 files.

Can you please trim your replies?

freshclam supports the use of a proxy. See freshclam.conf for more
information.






John
--
Space isn't remote at all. It's only an hour's drive away if your car could
go straight upwards.

-- Fred Hoyle (1915-2001), British astronomer and science fiction author,
"Sayings of the Week", The Observer (9 September 1979)
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-18-2012, 06:01 AM
jiten jha
 
Default ClamAV Problem

On Mon, Sep 17, 2012 at 11:52 PM, John R. Dennison <jrd@gerdesas.com> wrote:

> On Mon, Sep 17, 2012 at 11:47:47PM +0530, jiten jha wrote:
> >
> > Thanks for reply but I have little problem to run "freshclam" command
> here
> > we have proxy setting so I am not able to downloand or run command it is
> > not connect to db.local.clamav.net . Is there any other way to download
> > file 3 files.
>
> Can you please trim your replies?
>
> freshclam supports the use of a proxy. See freshclam.conf for more
> information.
>
>
>
>
>
>
> John
> --
> Space isn't remote at all. It's only an hour's drive away if your car
> could
> go straight upwards.
>
> -- Fred Hoyle (1915-2001), British astronomer and science fiction author,
> "Sayings of the Week", The Observer (9 September 1979)
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
Thanks Friends now it is working fine.

--
Thanks & Regards
Jitendra Jha
+91-7498370550
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org