问题现象:
/usr/local/bin/scli: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
正常的现象:
[root@BJ3 iso]# yum install ld-linux.so.2
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
* base:
base | 4.0 kB 00:00 ...
base/primary_db | 4.2 MB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.7.el6 set to be updated
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.7.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.7.el6.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.12.7-1.1.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================
Package Arch Version Repository Size
==================================================================================================
Installing:
glibc i686 2.12-1.7.el6 base 4.3 M
Installing for dependencies:
nss-softokn-freebl i686 3.12.7-1.1.el6 base 109 k
Transaction Summary
==================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total download size: 4.4 M
Installed size: 13 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------------------------
Total 76 MB/s | 4.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : glibc-2.12-1.7.el6.i686 1/2
Installing : nss-softokn-freebl-3.12.7-1.1.el6.i686 2/2
Installed:
glibc.i686 0:2.12-1.7.el6
Dependency Installed:
nss-softokn-freebl.i686 0:3.12.7-1.1.el6
Complete!
[root@BJ3 iso]#
[root@BJ3 iso]
如果yum install 安装报错,就需要使用rpm 强制安装了。
处理方法:
安装glibc包
[root@BJ1 glibc]# ll
total 30696
-rw-r--r-- 1 root root 1161176 Sep 19 18:06 glib2-2.22.5-5.el6.i686.rpm
-rw-r--r-- 1 root root 1176560 Sep 19 18:06 glib2-2.22.5-5.el6.x86_64.rpm
-rw-r--r-- 1 root root 1312492 Sep 19 18:06 glib2-devel-2.22.5-5.el6.i686.rpm
-rw-r--r-- 1 root root 1313524 Sep 19 18:06 glib2-devel-2.22.5-5.el6.x86_64.rpm
-rw-r--r-- 1 root root 4466416 Sep 19 18:06 glibc-2.12-1.7.el6.i686.rpm
-rw-r--r-- 1 root root 3920028 Sep 19 18:06 glibc-2.12-1.7.el6.x86_64.rpm
-rw-r--r-- 1 root root 14815992 Sep 19 18:06 glibc-common-2.12-1.7.el6.x86_64.rpm
-rw-r--r-- 1 root root 983372 Sep 19 18:06 glibc-devel-2.12-1.7.el6.i686.rpm
-rw-r--r-- 1 root root 982972 Sep 19 18:06 glibc-devel-2.12-1.7.el6.x86_64.rpm
-rw-r--r-- 1 root root 605080 Sep 19 18:06 glibc-headers-2.12-1.7.el6.x86_64.rpm
-rw-r--r-- 1 root root 157512 Sep 19 18:06 glibc-utils-2.12-1.7.el6.x86_64.rpm
-rw-r--r-- 1 root root 278096 Sep 19 18:06 glibmm24-2.22.1-1.el6.x86_64.rpm
-rw-r--r-- 1 root root 111912 Sep 19 18:09 nss-softokn-freebl-3.12.7-1.1.el6.i686.rpm
-rw-r--r-- 1 root root 117720 Sep 19 18:09 nss-softokn-freebl-3.12.7-1.1.el6.x86_64.rpm
[root@BJ3 glibc]# rpm -ivh * --force --nodeps
#刷HBA微码
[root@BJ3 qlchba]# ./Update.sh
Uninstalling SCLI (if present)
SCLI removal complete
Detected Architecture: x86_64
Installing 32-bit SCLI Utility
Preparing... ########################################### [100%]
1:scli ########################################### [100%]
SCLI has been successfully installed
Updating Flash on HBA port(s) - QMI2572. Please wait...
Flash update complete. Changes have been saved to both ports of this HBA.
Skipping flash update on HBA instance 1 - QMI2572 (Already done)
[root@BJ3 qlchba]#
阅读(3307) | 评论(0) | 转发(1) |