Symptoms
-
Unable to run Scheduled Tasks in Plesk, it fails with the following error message:
PLESK_ERROR: Task “ls /” completed with error in 1 seconds, output:
-: /lib/x86_64-linux-gnu/libpthread.so.5: no version information available (required by -) -
Plesk is installed on Debian 9
Cause
Corrupted libraries from the chroot template.
All or some of the libraries in the chroot template are different from the system ones:
# md5sum /var/www/vhosts/chroot/lib/libpthread.so.0 /lib32/libpthread.so.0
e3946191b7247399a550fc11f4c769bd /var/www/vhosts/chroot/lib/libpthread.so.0
531ed8289e20f12f8bdbf27aab0cf965 /lib32/libpthread.so.0
# md5sum /var/www/vhosts/chroot/lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libpthread.so.0
22553951d60f711e3cee465e63e12fe0 /var/www/vhosts/chroot/lib/x86_64-linux-gnu/libpthread.so.0
e3946191b7247399a550fc11f4c769bd /lib/x86_64-linux-gnu/libpthread.so.0
# md5sum /lib/x86_64-linux-gnu/libc.so.6 /var/www/vhosts/chroot/lib/x86_64-linux-gnu/libc.so.6
3e5c9b44fc491e6dd5e480fcb316bf2d /lib/x86_64-linux-gnu/libc.so.6
8548e4731a83e6ed3fc167633d28c21f /var/www/vhosts/chroot/lib/x86_64-linux-gnu/libc.so.6
Resolution
-
Connect to the server via SSH.
-
Download and unpack the update_shroot.sh script:
# wget https://support.plesk.com/hc/en-us/article_attachments/360018016800/update_chroot.tar.gz
# tar -xvzf update_chroot.tar.gz -
Add to chroot template:
# ./update_chroot.sh –add /lib32/libpthread.so.0
-
Update chroot template:
For all domains:# ./update_chroot.sh –apply all
For particular domain:
# ./update_chroot.sh –apply example.com
If the issue still persists rebuild chroot template.