解决此类故障
-bash: /usr/sbin/ntpdate: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@xnop029-CT-SDDX-102-34 ~]# /usr/sbin/ntpdate time.dnion.com
-bash: /usr/sbin/ntpdate: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
yum安装的时候遇到了问题 yum出现问题
[root@xnop029-CT-SDDX-102-34 ~]# yum install glibc.i686
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
http://centos.ustc.edu.cn/centos/6.6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn‘t resolve host ‘centos.ustc.edu.cn‘"
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/6.6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
^C^C^C
Current download cancelled, interrupt (ctrl-c) again within two seconds
to exit.
修改yum源
[root@xnop029-CT-SDDX-102-34 ~]# cd /etc/yum.repos.d/
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
--2015-11-10 11:32:28-- http://mirrors.163.com/.help/CentOS6-Base-163.repo
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# mv CentOS6-Base-163.repo CentOS-Base.repo
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# yum clean all
安装glibc.i686 解决原始问题
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# yum install glibc.i686
[root@xnop029-CT-SDDX-102-34 yum.repos.d]# /usr/sbin/ntpdate time.dnion.com
10 Nov 11:42:15 ntpdate[16542]: step time server 122.11.48.161 offset 126.030375 sec
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
原文地址:http://8401800.blog.51cto.com/8391800/1711363