WHM Login Error: Too many levels of symbolic links

Symptoms

WHM login fails and returns the following error:

undef error - open(/var/run/system_needs_reboot.cache): Too many levels of symbolic links at /usr/local/cpanel/Cpanel/Serverinfo/CachedRebootStatus.pm line 47.

Cause

This issue is caused by the recently released kmod-lve-2.1-60.el8.x86_64 package from the cloudlinux-updates-testing repository when used together with kernels patched for the Dirty Frag vulnerability.

Related issue:

  • Dirty Frag vulnerability mitigation for Linux kernel


Resolution

1. Remove the problematic package

dnf remove kmod-lve-2.1-60.el8.x86_64 -y

2. Install the previous stable version

dnf install kmod-lve-2.1-59.el8.x86_64 -y

3. Disable the testing repository

Disable the cloudlinux-updates-testing repository to prevent the package from being automatically updated again.

yum-config-manager --disable cloudlinux-updates-testing

4. Reinitialize CageFS

cagefsctl --reinit

5. Reboot the server

reboot

Additional Notes

  • This issue primarily affects CloudLinux 8 systems using the testing repository.

  • Downgrading to kmod-lve-2.1-59.el8.x86_64 resolves the symlink loop issue.

  • Ensure the testing repository remains disabled until an official fix is released for CPANEL-53234.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server. Check for...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

How to fix boot problem because of CLN kernel

Some of our clients contacted us recently about the boot problem of their server after installing...