Applicable to:
- Plesk for Linux
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/libtinfo.so.5: no version information available (required by -) -
Plesk is installed on Debian 9 with the latest Kernel version
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
Update the template via chroot-managing script and apply it to all or single domain:
-
Connect to the server using SSH.
-
Download and unpack the update_shroot.sh script (it can be found here):
# 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
If that does not resolve the issue, manually overwrite the library:
Overwrite old library:
# cp -a /lib32/libpthread.so.0 /var/www/vhosts/chroot/lib/libpthread.so.0
-
Update the template for all domains:
# ./update_chroot.sh --apply all
Note: The template can be applied to only one template as well by executing ./update_chroot.sh --apply example.com
If the issue still persists then rebuild chroot template.
Comments
2 comments
the link is not Found !!
plesk.zendesk.com/hc/article_attachments/360009607573/update_chroot.tar.gz
Hello @DoSieci
Thank you for pointing our attention to that! File attached, the article changed.
Please sign in to leave a comment.