CentOS update perl makes MailScanner fail
最近 CentOS 5.2 又有更新,其中更新 perl (perl-5.8.8-15.el5_2.1) 造成 MailScanner 無法啟動。
起先是無法執行 yum -y update,原因是安裝 MailSCanner 時,裝到舊版 perl 的一些套件造成 Conflict
解決方案:
rpm -e perl-bignum-0.21-1 perl-Math-BigRat-0.19-1 perl-Math-BigInt-1.86-1 perl-IO-1.2301-1 perl-File-Temp-0.19-1
然後:
yum -u update
接著要重裝被移除的套件:
perl -MCPAN -e shell
install bignum
install IO
install File::Temp
force install Scalar::Util
reboot
注意 MailSCanner 是否正確啟動!
Information and Links
Join the fray by commenting, tracking what others have to say, or linking to it from your blog.
迴響
CentOS update perl makes MailScanner fail
Sunny | 14/04/2009, 13:06
rpmfind 的套件也OK
Joseph | 15/04/2009, 09:40
Dear Sunny
rpmfind 的套件應該也OK
你可以用下列指令觀看郵件處理過程是否正常:
# tail -f /var/log/maillog
CentOS update perl makes MailScanner fail
Sunny | 15/04/2009, 10:43
Joseph 兄您好!
+分感謝你的回覆!
我依照你的指示檢查過 maillog, 收發郵件看似正常, 我想應該沒問題了。由於每次要做 yum update 時 perl 的套件都有沖突, 一直找解決方法,直至看到你的網誌才得以解決, 再一次多謝!


Joseph 兄您好!
我剛巧踫上跟你一樣情況, 後來在 google 搜尋到你的 Blog. 跟着去做果然能 update perl, 但我沒有做以下的步 perl -MCPAN -e shell, 而是去 rpmfind 下載删除了的套件去強行安裝 (rpm -ivh --forces perl*.rpm, 這樣會有問題嗎?