Is the LVE manager not working on your server? Fix it right away!
LVE Manager is a plugin that allows us to control and monitor usage limits as per package.
However, this LVE manager can report errors due to incorrect package upgrades, permission problems, etc.
At Bobcares, we help customers fix server errors as part of our Server Management Services.
Today, we’ll see how we make LVE manager work on a cPanel server.
What is LVE manager?
Let’s first check more about the LVE manager.
Operating systems like CloudLinux restrict each user to a Lightweight Virtual Environment (LVE). Thus it isolates users from affecting other users on the server. In other words, when a user abuses server resources, it will not be a problem for other accounts.
LVE manager allows server owners to easily manage the user limits on a server. Usually, server owners create various packages having different limits for disk space, bandwidth usage, memory, etc.
This LVE manager gives a quick overview of account usage. Also, it helps to control and monitor limits.
When does LVE manager not working error happen?
At times, the LVE Manager can act up weirdly. Thus, it becomes impossible to manage users in the server.
Let’s take a look at a recent customer request that we received in our HelpDesk.
The yum update appeared to finish fine but since then LVE manager won’t load at all on WHM. Please can you login to our server and look at CageFS and Yum to see if there are errors that need fixing? Thank you.
The LVE Manager was loading a blank page.
Common causes for LVE manager problems
Quite often LVE Manager can fail to work due to multiple reasons. Let’s check them in detail.
Failed package update
Usually, the LVE Manager package gets installed on the servers. We confirm the presence of the lvemanager package. When this package becomes outdated, it can throw up errors in the LVE manager.
Permission problems
Similarly, wrong permissions also create problems. For instance, in one of our customer’s cPanel servers, LVE failed to work as the file /var/cpanel/cpanel.config had incorrect permissions. This prevented LVE Manager from displaying the user limits correctly. The right permissions for the file should be 644. Then only, LVE can read the data from the file.
How we fixed LVE manager not working error
Let’s now check how we fixed the LVE Manager.
To fix the error, our Support Engineers first checked the error logs and found the following.
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package lve.x86_64 0:1.5-13.el7.cloudlinux will be updated
This clearly showed problems with the yum update. Therefore, we corrected this and updated the LVE packages to the latest version.
[root@xx ~]# yum update lve lvemanager lve-stats lve-utils lve-wrappers
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* EA4: xx.xx.228.xx
* cpanel-addons-production-feed: xx.xx.228.xx
* cpanel-plugins: xx.xx.228.xx
* cloudlinux-x86_64-server-7: cl-mirror.fr.xxx.net
No packages marked for update
Finally, we checked and confirmed that LVE Manager, CageFS and Yum was working as intended in the server.
[Finding problems with LVE Manager on your server? We’ll fix it for you.]
Conclusion
In short, LVE manager not working error happens due to package problems or wrong permissions. Today, we saw how our Support Engineers fixed the server packages and made LVM Manager working again.
0 Comments