Issue
cPanel account creation/restore/transfer fails with an error :
invalid value for speed XX.xx%
Environment
- cPanel
- Cloudlinux
Solution
The issue is that LVE does not support LVE limits with a decimal value.
eg:
100.0%
50.0 %
50.50%
A workaround is to check for cPanel packages with the said decimal LVE limit.
eg: 58.52%
# grep -ril "58.52%" /var/cpanel/packages/
To fix them, edit the listed cpanel packages from WHM >> Edit a Package, set them to a non-decimal value instead, and click on save.
Or edit them manually from the terminal:
# vim /var/cpanel/packages/<affected package>
Change the decimal LVE limit to be a normal value(cpu=58.52% => cpu=58%) and run the following command:
# /usr/bin/cl-syncpkgs
This situation has also been reported to our developers internally, and a task has been created to add some logic on our side to accept and discard the decimal point in percentage limits: CLOS-2902.
Comments
0 comments
Article is closed for comments.