Resources Limits are not shown in cPanel Statistics

Issue:
Users are experiencing a problem where Resource Usage details are missing from their cPanel interface's Statistics panel. This issue results in users being unable to view their Resource Limits.

Environment:
- CloudLinux 8
- WHM/cPanel
- LVE (Lightweight Virtual Environment)

Cause:
The issue arises due to the absence of the file `/usr/local/cpanel/Cpanel/CPAN/Locale/Maketext/Utils/MarkPhrase.pm`.

Solution:
To resolve this issue, follow these steps:

1. Create the Missing File:
SSH into your server as root and create the file `/usr/local/cpanel/Cpanel/CPAN/Locale/Maketext/Utils/MarkPhrase.pm` if it does not exist. Add the following content to the file:

package Cpanel::CPAN::Locale::Maketext::Utils::MarkPhrase;

sub import {
no strict 'refs';
*{ caller() . '::translatable' } = \&translatable;
}

sub translatable {
return $_[0];
}

1;

2. Update CloudLinux:
Ensure your CloudLinux installation is up to date. As of March 14, 2024, a fix for this issue has been released according to the CloudLinux changelog. Update the `lvemanager` package using the following command:

yum update lvemanager --enablerepo=cloudlinux-rollout-5-bypass

Verification:
After completing the steps above, check if the issue persists by logging into cPanel as a user and verifying that the Resource Usage and Limits are now displayed correctly in the Statistics panel.

This solution addresses the problem by creating the necessary file and ensuring that your CloudLinux environment is updated with the latest fix. If the issue continues after applying these steps, please contact our support team for further assistance.

Update:
This Knowledge Base article was last updated on March 14, 2024, reflecting the latest information and steps to resolve the missing Resource Usage issue in cPanel.

  • 3 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...