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.
