Plesk down /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

Created:

2016-12-18 06:43:06 UTC

Modified:

2017-08-16 15:42:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk down /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

Applicable to:

  • Plesk 11.x for Linux

Symptoms

Plesk down. Some binaries could not run. The error appears:

/usr/local/psa/admin/bin/mail_auth_view: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

Kernel architecture is x686

~]# uname -p -m
i686 i686

Cause

The discrepancy between Plesk packages and installed OS architecture. The server has x86 kernel whilst some Plesk binaries are 64-bit.

Resolution

  1. Find affected x64 binaries

    # rpm -qa | egrep 'psa|plesk|^sw' | while read i; do rpm -ql $i | while read b; do file $b | grep 64-bit; done; done

    /var/qmail/bin/qmail-remote.moved: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
    /usr/lib/plesk-9.0/mailsrv_entities_dump: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped
    /usr/local/psa/admin/sbin/mailmng: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped
  2. Find a package binary belongs to

    # rpm -qf /usr/local/psa/admin/sbin/glmng
    psa-mail-driver-common-11.0.9-cos5.build110121128.16
  3. Download it from Plesk repository

    # wget http://autoinstall.plesk.com/PSA_11.0.9/dist-rpm-CentOS-5-i386/opt/maildrivers/psa-mail-driver-common-11.0.9-cos5.build110121128.16.i386.rpm
  4. Replace installed version with downloaded one

    # rpm -Uhv --force psa-mail-driver-common-11.0.9-cos5.build110121128.16.i386.rpm
Have more questions? Submit a request
Please sign in to leave a comment.