Symptoms
CloudLinux Manager in WHM shows that the server needs to be rebooted after rebooting, and an error similar to the following can be found in the system log.
modprobe: ERROR: could not insert 'kmodlve': Cannot allocate memory
Description
The issue occurs due to the systemd.unified_cgroup_hierarchy
value set to 1
at boot. The value should be 0
.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open the
/etc/default/grub
file in your preferred text editor. - On the
GRUB_CMDLINE_LINUX
line, changesystemd.unified_cgroup_hierarchy=1
tosystemd.unified_cgroup_hierarchy=0
. - Save the changes and exit the text editor.
- Rebuild the GRUB configuration.
grub2-mkconfig -o /etc/grub2.cfg
grub2-mkconfig -o /etc/grub2-efi.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/almalinux/grub.cfg
- Reboot the server.
Additional resources
LVE load fail: could not insert 'kmodlve': Cannot allocate memory
Comments
0 comments
Article is closed for comments.