Upgrade ClamAV

Assalamu’alaikum,
Hari ini ada problem dengan clamAV dimailserver, mail tidak bisa running dengan baik dan kalau dilihat dari history seperti dibawah

mail-s# /usr/local/sbin/clamd &
[1] 92976
mail-s# LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see http://www.clamav.net/eol-clamav-094 and http://www.clamav.net/download (length: 169)
LibClamAV Error: Problem parsing database at line 742
LibClamAV Error: Can’t load daily.ndb: Malformed database
LibClamAV Error: cli_tgzload: Can’t load daily.ndb
LibClamAV Error: Can’t load /usr/local/share/clamav/daily.cld: Malformed database
ERROR: Malformed database

Kalau di lihat dengan mailq seperti dibawah

(host 127.0.0.1[127.0.0.1] said: 451-4.5.0 Error in processing, id=02808-01-29, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamd/clamd.ctl (Can’t connect to UNIX socket /var/run/clamd/clamd.ctl: Socket operation on non-socket) at (eval 54) line 325.; ClamAV-clamscan av-scanner FAILED: /usr/local/bin/clamscan unexpected exit 50, output=”LibClamAV Warning: *********************************************************** 451-4.5.0 LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** 451-4.5.0 LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq *** 451-4.5.0 LibClamAV Warning: *********************************************************** 451-4.5.0 LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see http://www.clamav.net/eol-clamav-094 and http://www.clamav.net/download (length: 169) 451-4.5.0 LibClamAV Error: Problem parsing database at line 742 451-4.5.0 LibClamAV Error: Can’t load daily.ndb: Malformed database 451-4.5.0 LibClamAV Error: cli_tgzload: Can’t load daily.ndb 451-4.5.0 LibClamAV Error: Can’t load /usr/local/share/clamav/daily.cld: Malformed database 451 4.5.0 ERROR: Malformed database” at (eval 54) line 543. (in reply to end of DATA command))

Dari error tersebut ternya ta memang ada bug di clamav versi di bawah 0.95, seperti informasi dari site clam dibawah
http://www.clamav.net/lang/en/2009/10/05/eol-clamav-094/

Karena ternyata clamAV dimailserver masih memakai versi 0.94
mail-s# /usr/local/sbin/clamd –v
ClamAV 0.94.2/10751/Fri Apr 16 10:23:45 2010

Oke…so, tentu kita harus upgrade versi clamAV, caranya
1. download clamav yang terbaru
mail-s# wget http://downloads.sourceforge.net/clamav/clamav-
0.96.tar.gz
2. extract clamav
mail-s# tar -xzvf clamav-0.96.tar.gz
3. configure dan make install
mail-s# cd clamav-0.96
mail-s# ./configure
mail-s# make && make install
4. Finish

Coba kita lihat sekarang versinya
mail-s# /usr/local/sbin/clamd –v
ClamAV 0.96/10751/Fri Apr 16 10:23:45 2010

Semoga bermanfaat dan thanks to Mr. Bagus yang telah memabantu solving problem

Wassalamu’alaikum Wr Wb,
Al-Faqir,Saudi Arabia

Leave a comment

No comments yet.

Comments RSS TrackBack Identifier URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s