Resolve this type of failure
-bash:/usr/sbin/ntpdate:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
[Email protected] ~]#/usr/sbin/ntpdate time.dnion.com
-bash:/usr/sbin/ntpdate:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
Yum encountered a problem when installing the Yum problem
[email protected] ~]# 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] 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] Pycurl ERROR-"The requested URL Returned error:404 "
Trying other mirror.
^c^c^c
Current download cancelled, interrupt (CTRL-C) again within-seconds
To exit.
Modify Yum Source
[Email protected] ~]# cd/etc/yum.repos.d/
[Email protected] 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
[Email protected] yum.repos.d]# MV Centos-base.repo Centos-base.repo.bak
[Email protected] yum.repos.d]# MV Centos6-base-163.repo Centos-base.repo
[email protected] yum.repos.d]# Yum Clean all
Install glibc.i686 to solve the original problem
[email protected] yum.repos.d]# Yum install glibc.i686
[Email protected] yum.repos.d]#/usr/sbin/ntpdate time.dnion.com
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