Chrooted SSH/SFTP login is not possible: segmentation fault

Created:

2016-11-16 13:02:28 UTC

Modified:

2017-08-08 13:12:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Chrooted SSH/SFTP login is not possible: segmentation fault

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Chrooted SSH/SFTP login is not possible. /var/log/messages contains the following:

Mar  4 20:20:35 atlas systemd: Started Session 285240 of user plesktest.
Mar 4 20:20:35 atlas systemd: Starting Session 285240 of user plesktest.
Mar 4 20:20:35 atlas kernel: traps: bash[38754] general protection ip:7f227f954324 sp:7ffe39357f68 error:0 in ld-linux-x86-64.so.2[7f227f93f000+21000]
Mar 4 20:20:35 atlas systemd-logind: Removed session 285240.
Mar 4 20:20:35 atlas systemd: Removed slice user-10084.slice.
Mar 4 20:20:35 atlas systemd: Stopping user-10084.slice.

OR

Mar  4 20:20:35 atlas kernel: bash[4338]: segfault at 0 ip           (null) sp 00007ffe97dad578 error 14 in bash[400000+dd000]

Cause

Corrupted ld-linux-x86-64.so.2 in /var/www/vhosts/<HOSTNAME>/usr/lib64/ld-linux-x86-64.so.2

Resolution

Copy /usr/lib64/ld-2.17.so which is target for ld-linux-x86-64.so.2 to /var/www/vhosts/<HOSTNAME>/usr/lib64/ld-linux-x86-64.so.2

# ls -1 /var/www/vhosts/*/usr/lib64/ld* | while read i; do cp -f /usr/lib64/ld-2.17.so $i; done
Have more questions? Submit a request
Please sign in to leave a comment.