Skip to main content

ERROR : Ran adminbin Cpanel/hooks/mysql::adduser

Comments

7 comments

  • musioc
    Do you experience this problem too?
    0
  • cPanelMichael
    Hello :) Please check the output from /usr/local/cpanel/logs/error_log when this issue occurs. Do you see any additional output compared to what shows up in the user interface? Thank you.
    0
  • musioc
    Hello Thank you for your reply There is not any additional output. This is error log: root@server [~]# tail -f /usr/local/cpanel/logs/error_log [2013-10-22 12:03:29 +0430] info [cpmysql] Creating MySQL database cpuser_db for user cpuser [2013-10-22 12:04:17 +0430] info [cpmysql] Creating MySQL virtual user cpuser_dbuser for user cpuser Undefined subroutine &Cpanel::DB::get_map called at /usr/share/lve/dbgovernor/utils/dbgovernor_map line 84. [2013-10-22 12:04:18 +0430] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request subprocess exited with status 255: namespace=[Cpanel] module=[hooks] function=[mysql::adduser]: set error in context mysql: raw_response=[{"error":1,"data":"","statusmsg":"Ran adminbin Cpanel/hooks/mysql::adduser","version":"2.3","exit_code":65280,"mode":"full","status":1,"timeout":0,"action":"run"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 123 Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'hooks', 'function', 'mysql::adduser', 'data', HASH(0x446bdf0), 'action', 'run', 'env', HASH(0x4470250)) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 77 Cpanel::AdminBin::adminstor('hooks', 'mysql::adduser', HASH(0x446bdf0)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 45 Cpanel::EventHandler::hook('mysql', 'adduser', HASH(0x44202e0), ARRAY(0x439d680)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 112 Cpanel::EventHandler::post_event(1, 'post', 'Mysql', 'adduser', ARRAY(0x2070fa0), ARRAY(0x439d680)) called at cpanel line 1414 main::__ANON__('') called at cpanel line 1885 main::real_exectag('') called at cpanel line 4135 main::dotag_finished_headers(1) called at cpanel line 3955 main::cpanel_parseblock('\x0A\x0A\x0A\x0A\x0A\x0A\x0A
    \x0A\x0A
    \x0A\x0A\x0A\x0A\x0A

    \x0A\x0A\x0A\x0A\x09\x0A\x09

    \x09

    \x0A\x09
    \x0A\x09\x09 \x0A\x09
    \x0A\x09\x0A\x0A\x0A
    \x0A

    \x0A

    : \x0A
    \x0A :

    \x0A
    \x0A\x0A\x0A " />\x0A " />\x0A
    \x0A\x0A \x0A\x0A
    \x0A " class="input-button" />\x0A \x0A\x0A
    \x0A\x0A\x0A\x0A
    \x0A\x0A\x0A') called at cpanel line 3869 main::y(GLOB(0x3e2a510)) called at cpanel line 5227 main::run_standard_mode() called at cpanel line 767 [2013-10-22 12:04:18 +0430] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[hooks] function=[mysql::adduser]: set error in context mysql: statusmsg=[Ran adminbin Cpanel/hooks/mysql::adduser] at /usr/local/cpanel/Cpanel/Wrap.pm line 128 Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'hooks', 'function', 'mysql::adduser', 'data', HASH(0x446bdf0), 'action', 'run', 'env', HASH(0x4470250)) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 77 Cpanel::AdminBin::adminstor('hooks', 'mysql::adduser', HASH(0x446bdf0)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 45 Cpanel::EventHandler::hook('mysql', 'adduser', HASH(0x44202e0), ARRAY(0x439d680)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 112 Cpanel::EventHandler::post_event(1, 'post', 'Mysql', 'adduser', ARRAY(0x2070fa0), ARRAY(0x439d680)) called at cpanel line 1414 main::__ANON__('') called at cpanel line 1885 main::real_exectag('') called at cpanel line 4135 main::dotag_finished_headers(1) called at cpanel line 3955 main::cpanel_parseblock('\x0A\x0A\x0A\x0A\x0A\x0A\x0A
    \x0A\x0A
    \x0A\x0A\x0A\x0A\x0A

    \x0A\x0A\x0A\x0A\x09\x0A\x09

    \x09

    \x0A\x09
    \x0A\x09\x09 \x0A\x09
    \x0A\x09\x0A\x0A\x0A
    \x0A

    \x0A

    : \x0A
    \x0A :

    \x0A
    \x0A\x0A\x0A " />\x0A " />\x0A
    \x0A\x0A \x0A\x0A
    \x0A " class="input-button" />\x0A \x0A\x0A
    \x0A\x0A\x0A\x0A
    \x0A\x0A\x0A') called at cpanel line 3869 main::y(GLOB(0x3e2a510)) called at cpanel line 5227 main::run_standard_mode() called at cpanel line 767 ^C root@server [~]#

    0
  • musioc
    I'm sure I was installed db_governer! I can see /usr/sbin/db_governor in processes list But I can not remove, upgrade or install dbgoverner again! Doc: [url=http://docs.cloudlinux.com/installation3.html]MySQL Governor > Installation root@server [~]# yum update db-governor db-governor-mysql --enablerepo=cloudlinux-updates-testing Loaded plugins: fastestmirror, rhnplugin Loading mirror speeds from cached hostfile * cloudlinux-x86_64-server-6: cl-mirror.uk2group.com * rpmforge: mirror.yongbok.net cloudlinux-updates-testing | 1.1 kB 00:00 cloudlinux-updates-testing/primary | 554 kB 00:01 cloudlinux-updates-testing 2159/2159 Setting up Update Process No Match for argument: db-governor No package db-governor available. No Match for argument: db-governor-mysql No package db-governor-mysql available. No Packages marked for Update root@server [~]# yum install db-governor --enablerepo=cloudlinux-updates-testing Loaded plugins: fastestmirror, rhnplugin Loading mirror speeds from cached hostfile * cloudlinux-x86_64-server-6: cl-mirror.uk2group.com * rpmforge: mirror.yongbok.net Setting up Install Process No package db-governor available. Error: Nothing to do root@server [~]# /usr/share/lve/dbgovernor/install-mysql.py --install -bash: /usr/share/lve/dbgovernor/install-mysql.py: No such file or directory root@server [~]# yum remove db-governor db-governor-mysql Loaded plugins: fastestmirror, rhnplugin Setting up Remove Process No Match for argument: db-governor Loading mirror speeds from cached hostfile * cloudlinux-x86_64-server-6: cl-mirror.uk2group.com * rpmforge: mirror.yongbok.net No Match for argument: db-governor-mysql No Packages marked for removal root@server [~]#
    0
  • cPanelMichael
    I have moved this over to the "Cloud Linux" forum. You should receive more feedback here. Thank you.
    0
  • iseletsk
    Please, edit this file: /usr/share/lve/dbgovernor/utils/dbgovernor_map change this line #!/usr/bin/perl with this line. #!/usr/local/cpanel/3rdparty/bin/perl
    0
  • musioc
    It is solved now. Thank you ;)
    0

Please sign in to leave a comment.