[Linux] Cent OS 5.3 – Errno architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) does not match executable architecture

CentOS 5.3 が出た。
恐る恐る yum update。

2回目のyum update。

Errno architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) does not match executable architecture

げは!!!出かけなきゃならないし、メインシステムのダウンと同義だし、ホームページもTripletailだから全部落ちているし、バックエンドのシステムも落ちているコトに・・・。長い20分だった・・・。

スポンサードリンク

◆原因どこかなー!

[[email protected] ~]# perl /var/www/html/index.cgi
Errno architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) does not match executable architecture (i386-linux-thread-multi-2.6.18-53.el5) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Tripletail.pm line 1730.
BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Tripletail.pm line 1730.
Compilation failed in require at /var/www/html/index.cgi line 18.
BEGIN failed–compilation aborted at /var/www/html/index.cgi line 18.
[[email protected] ~]# cpan

cpan shell — CPAN exploration and modules installation (v1.7602)
ReadLine support enabled

cpan> install Scalar::Utils
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 11 Nov 2008 17:26:55 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.kddilabs.jp/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Errno architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) does not match executable architecture (i386-linux-thread-multi-2.6.18-53.el5) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17.
BEGIN failed–compilation aborted at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17.
Compilation failed in require at /usr/lib/perl5/5.8.8/Net/FTP.pm line 18.
BEGIN failed–compilation aborted at /usr/lib/perl5/5.8.8/Net/FTP.pm line 18.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/ftp.pm line 21.
]
Fetching with Net::FTP:
ftp://ftp.kddilabs.jp/CPAN/authors/01mailrc.txt.gz
Can’t locate object method “new” via package “Net::FTP” at /usr/lib/perl5/5.8.8/CPAN.pm line 2250.

Tripletail?perl?CentOS?cpan?

◆直し方

[[email protected] ~]# locate Errno.pm
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Errno.pm
/usr/lib/perl5/site_perl/5.8.8/Errno.pm

[[email protected] ~]# mv /usr/lib/perl5/site_perl/5.8.8/Errno.pm /usr/lib/perl5/si
te_perl/5.8.8/Errno.pm.bak

参考文献

↓これで解決できた

CentOS 5.3 にしたらPlaggerが動かなくなった – 肉とご飯と甘いもの @ sotarok :
http://d.hatena.ne.jp/sotarok/20090409/1239300821

↓わーわー!

わー!わー!(CentOS 5 で perl を yum update したらもう大変) – 日々のこと :
http://hibinokoto.jp/archives/2008/09/post-290.html

oldId.20090410191319161

関連記事

スポンサードリンク

Comments