Plesk service does not restart: libruntime.so: wrong ELF class

Created:

2016-11-16 12:53:47 UTC

Modified:

2017-08-08 13:32:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk service does not restart: libruntime.so: wrong ELF class

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk service psa does not restart:

    # service psa restart
    PSA is down, performing full restart.
    Starting psa... Starting sw-engine-fpm: /usr/sbin/sw-engine-fpm: error while loading shared libraries: libruntime.so: wrong ELF class: ELFCLASS32
  • Plesk upgrade fails with the error:

    /usr/bin/sw-engine: error while loading shared libraries: libruntime.so: wrong ELF class: ELFCLASS32

Cause

The issue is caused by the fact that libruntime.so library built for 32-bit architecture and OS's is 64-bit.

Resolution

Download and install platform-runtime package for x86_64 architecture from autoinstall.plesk.com , for example for Plesk 11.5, CentOS 6:

    # rpm -ivh http://autoinstall.plesk.com/PSA_11.5.30/dist-rpm-CentOS-6-x86_64/contrib/platform-runtime-1.0-38.rhel6.x86_64.rpm --force
Have more questions? Submit a request
Please sign in to leave a comment.