ClamAV Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxx>, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured
Sep 17 16:15:20 neumann dovecot: IMAP(jha@xxxxxxxxxxxxxxx): Disconnected:
Logged out bytes=146/3849
Sep 17 16:15:25 neumann dovecot: imap-login: Login: user=<
jha@xxxxxxxxxxxxxxx>, method=PLAIN, rip=10.112.1.2, lip=10.112.1.2, secured
Sep 17 16:15:25 neumann dovecot: IMAP(jha@xxxxxxxxxxxxxxx): Disconnected:
Logged out bytes=296/5756
Sep 17 16:15:37 neumann postfix/qmgr[8795]: D43259FA98: from=<
root@xxxxxxxxxxxxxxx>, size=427, nrcpt=1 (queue active)
Sep 17 16:15:37 neumann postfix/qmgr[8795]: 29DE59FAA0: from=<
root@xxxxxxxxxxxxxxx>, size=943, nrcpt=1 (queue active)
Sep 17 16:15:37 neumann postfix/qmgr[8795]: 9FACC9FA90: from=<
root@xxxxxxxxxxxxxxx>, 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.\n
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.\n
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\nLibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld\nERROR: 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\nLibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld\nERROR: 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\nLibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld\nERROR: 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\nLibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld\nERROR: 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@xxxxxxxxxxxxxxx>, 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@xxxxxxxxxxxxxxx>, 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.\n
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\nLibClamAV
Error: cli_loaddbdir(): error parsing header of
/var/clamav/daily.cld\nERROR: 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\nLibClamAV Error: cli_loaddbdir(): error parsing
header of /var/clamav/daily.cld\nERROR: 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@xxxxxxxxxxx>, 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux