No announcement yet.

Error when resetting a user's LVE limits

  • Filter
  • Time
  • Show
Clear All
new posts

  • Error when resetting a user's LVE limits

    When clicking "Reset limits to default" I get error:

    The received data is wrong. Contact support for resolution. Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/", line 48, in run_command text=convert_to_str, File "/opt/alt/python37/lib64/python3.7/", line 800, in __init__ restore_signals, start_new_session) File "/opt/alt/python37/lib64/python3.7/", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename)FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/lve/dbgovernor/': '/usr/share/lve/dbgovernor/'The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/usr/share/l.v.e-manager/utils/", line 16, in cloudlinux_cli_admin.main() File "/usr/share/l.v.e-manager/utils/", line 152, in main endpoint() File "/usr/share/l.v.e-manager/utils/", line 157, in cl_limits File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/", line 141, in run return self._set_run() File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/", line 551, in _set_run return self._set_action(uid, username) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/", line 641, in _set_action is_lvectl_error, ret_list, result = self._set_user_action(o, uid, username) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/", line 841, in _set_user_action self._mysql_governor.reset_user_limits_to_defaults (username, gov_limits) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/", line 514, in reset_user_limits_to_defaults ret_code, _, std_err = run_command(cmd_list, return_full_output=True) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/", line 53, in run_command ) from oserrclcommon.utils_cmd.ExternalProgramFailed: /usr/share/lve/dbgovernor/ reset_individual --user=lodgepar --limits=all. Cannot run command: [Errno 2] No such file or directory: '/usr/share/lve/dbgovernor/': '/usr/share/lve/dbgovernor/'

    I do not run MySQL governor, and have previously not had this error.

    I am trying to reset a user's limits because previously I have used this technique to correct a users MySQL usage which can get stuck on 100% PMEM usage.

  • #2

    It's a bug in lve-utils package, not fixed yet. As of now please just ignore it.
    Bug ID is LU-3666 and could be tracked over