RHEL6 ld-linux.so.2: bad ELF interpreter: No such file or directory

| No Comments

  安装DirectAdmin时出现bad ELF interpreter的错误:

./install.sh: ./directadmin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
./install.sh: ./directadmin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

  下面有说找不到directadmin.conf:

##################################################
*************************************
*                                   *
*   All parts have been installed   *
*                                   *
*************************************

Type: /sbin/service httpd restart
./install.sh: ./directadmin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
./install.sh: ./directadmin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

System Security Tips:
  http://help.directadmin.com/item.php?id=247


*********************************
*
* Cannot find /usr/local/directadmin/conf/directadmin.conf
* Please see this guide:
* http://help.directadmin.com/item.php?id=267
*
*********************************

  从上面的安装日志可以看出,DirectAdmin已经安装完了,但是install.sh脚本在执行./directadmin时才出现的bad ELF interpreter错误。这是因为64位的系统中系统中没有glibc.i686这个包,在执行32位的./directadmin时出现的异常。建议安装下面几个相关的包:

yum install glibc.i686 openssl098e.i686 libstdc++.i686

  最后尝试使用下面的命令完成安装:

cd /usr/local/directadmin
./directadmin i
./directadmin p

本文结束。

Leave a comment