问题现象:
/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]#
阅读(3284) | 评论(0) | 转发(1) |