Upgrade Amavisd-new
หลังจากที่ได้อับเดท amavisd-new จากเวอร์ชั่น amavisd-new-2.6.2 ไปเป็นเวอร์ชั่น amavisd-new-2.6.4 เมื่อสั่งรีสตาร์ service แล้วก็มีปัญหาดังข้างล่างนี้แหละครับ.
======================
Amavis-new problem: amavisd… fetch_modules: error loading required module MIME/Head.pm:
======================
[hana-code-insert name=’AdSense’ /]
(Do you need to predeclare whine?)
fetch_modules: error loading required module MIME/Decoder/Gzip64.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/Gzip64.pm line 97, near “whine “Encoding “”
Compilation failed in require at /usr/sbin/amavisd line 195.
ERROR: MISSING REQUIRED BASIC MODULES:
MIME::Head
MIME::Body
MIME::Entity
MIME::Parser
MIME::Decoder::Base64
MIME::Decoder::NBit
MIME::Decoder::UU
MIME::Decoder::Gzip64
BEGIN failed–compilation aborted at /usr/sbin/amavisd line 234.
[hana-code-insert name=’AdSense’ /]
Solution 1:
Upgrade Amavisd-new
Amavisd-new is a high-performance interface between mailer (MTA) and
content checkers: virus scanners or SpamAssassin. It talks to the MTA
via
– Check version
amavisd-new-2.6.2-1.1
– Download
$ wget //download.opensuse.org/repositories/server:/mail/SLE_10/x86_64/amavisd-new-2.6.4-6.2.x86_64.rpm
$ wget //download.opensuse.org/repositories/server:/mail/SLE_10/x86_64/amavisd-new-debuginfo-2.6.4-6.2.x86_64.rpm
– Upgrade
warning: amavisd-new-debuginfo-2.6.4-6.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 367fe7fc
Preparing… ########################################### [100%]
1:amavisd-new-debuginfo ########################################### [100%]
warning: amavisd-new-2.6.4-6.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 367fe7fc
Preparing… ########################################### [100%]
1:amavisd-new warning: /etc/amavisd.conf created as /etc/amavisd.conf.rpmnew
########################################### [100%]
[hana-code-insert name=’AdSense’ /]
Solution 2:
cpan> force install MIME::Decoder::Gzip64
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 26 Jan 2010 23:41:31 GMT
Running install for module MIME::Decoder::Gzip64
Running make for D/DO/DONEILL/MIME-tools-5.427.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://mirror.yourconnect.com/CPAN/authors/id/D/DO/DONEILL/MIME-tools-5.427.tar.gz
LWP failed with code[404] message[File ‘MIME-tools-5.427.tar.gz’ not found]
Fetching with Net::FTP:
ftp://mirror.yourconnect.com/CPAN/authors/id/D/DO/DONEILL/MIME-tools-5.427.tar.gz
Couldn’t fetch MIME-tools-5.427.tar.gz from mirror.yourconnect.com
….
Installing /usr/share/man/man3/MIME::Decoder::NBit.3pm
Installing /usr/share/man/man3/MIME::Entity.3pm
Installing /usr/share/man/man3/MIME::Parser::Filer.3pm
Installing /usr/share/man/man3/MIME::Head.3pm
Installing /usr/share/man/man3/MIME::Words.3pm
Installing /usr/share/man/man3/MIME::Field::ParamVal.3pm
Installing /usr/share/man/man3/MIME::Decoder::BinHex.3pm
Installing /usr/share/man/man3/MIME::Field::ConTraEnc.3pm
Installing /usr/share/man/man3/MIME::Tools.3pm
Installing /usr/share/man/man3/MIME::Decoder::Binary.3pm
Installing /usr/share/man/man3/MIME::Decoder.3pm
Installing /usr/share/man/man3/MIME::Decoder::UU.3pm
Installing /usr/share/man/man3/MIME::Decoder::QuotedPrint.3pm
Installing /usr/share/man/man3/MIME::Decoder::Base64.3pm
Installing /usr/share/man/man3/MIME::WordDecoder.3pm
Installing /usr/share/man/man3/MIME::Parser::Reader.3pm
Installing /usr/share/man/man3/MIME::Parser.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/MIME/tools/.packlist
/usr/bin/make install -j3 — OK
cpan> exit
Shutting down virus-scanner (amavisd-new): Waiting for the process [4450] to terminate
Daemon [4450] terminated by SIGTERM done
Starting virus-scanner (amavisd-new): done
เป็นอันเสร็จ.
2 thoughts on “Upgrade Amavisd-new”
i always use free virus scanners on the internet coz they are quite good too’.-
i use both Avast and AVG virus scanner because they are very good “:”