Applicable to:
- Plesk Onyx 17.8 for Linux
Symptoms
-
Cannot update Plesk: update fails on KernelCare extension.
-
Errors in
/var/log/plesk/install/autoinstaller3.log
:CONFIG_TEXT: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/CONFIG_TEXT: Setting up kernelcare (2.14-11) ...
depmod: ERROR: could not open directory /lib/modules/x.xx.xx-xxxx-std-ipv6-64: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
dpkg: error processing package kernelcare (--configure): -
/lib/modules
directory is absent# ls -ld /lib/modules
ls: cannot access /lib/modules: No such file or directory -
KernelCare is half-configured and "apt-get install -f" command fails to complete configuration:
# dpkg -l kernelcare
iF kernelcare 2.14-11 amd64 Tools for KernelCare - Repetitive attempts to configure
kernelcare
package can be found in/var/log/dpkg.log
:CONFIG_TEXT: 2019-03-13 06:36:40 status unpacked kernelcare:amd64 2.14-11
2019-03-13 06:36:40 status unpacked kernelcare:amd64 2.14-11
2019-03-13 06:36:40 status unpacked kernelcare:amd64 2.14-11
2019-03-13 06:36:40 status half-configured kernelcare:amd64 2.14-11 -
fsmng
utility was started several hours or days ago and keeps running:# ps auxwww root 32552 0.0 0.0 33784 9180 ? S mar21 3:24 \_ /usr/bin/python -Estt /opt/psa/admin/sbin/fsmng --fix-plesk-packages
root 19004 4.0 0.0 29640 3156 ? S 11:40 0:00 \_ /usr/bin/apt-get update
root 19007 0.0 0.0 33100 2144 ? S 11:40 0:00 \_ /usr/lib/apt/methods/http
root 19008 0.0 0.0 33096 2148 ? S 11:40 0:00 \_ /usr/lib/apt/methods/http
Cause
Product issue:
-
#PPPM-10348 "On Ubuntu and Debian, the plesk repair utility no longer hangs in case of apt-get returning an error."
Fixed in:- Plesk Obsidian 18 February 2020 (Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
As a workaround, remove KernelCare extension:
-
Go to Extensions > My Extensions > KernelCare > Remove
-
Connect to the server via SSH
-
Identify and kill 'fsmng' process
# killall fsmng
-
Upgrade packages:
# apt-get upgrade
If not helped, remove KernelCare package:
# rm -f /etc/init.d/kcare
# dpkg --force-all --purge kernelcareIf KernelCare removal is not acceptable, contact your hosting provider regarding the issue
Comments
0 comments
Please sign in to leave a comment.