Announcement

Collapse
No announcement yet.

Install MySQL Governor Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install MySQL Governor Error

    Hello,

    I'm trying to install "MySQL Governor" and I'm getting the following error:

    =====
    /usr/share/lve/dbgovernor/mysqlgovernor.py --install --yes
    !!!Before making any changing with database make sure that you have reserve copy of users data!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!Ctrl+C for cancellation of installation!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Instruction: how to create whole database backup - http://docs.cloudlinux.com/index.htm..._up_mysql.html
    Saving current enabled module: mysql:cl-MySQL80
    Cached module: mysql:cl-MySQL80
    ---
    metadata:
    command: configureservice
    reason: Disabled monitoring for mysql.
    result: 1
    version: 1
    Start download current installed packages
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    URL http://httpupdate.cpanel.net/RPM/unk...l8.x86_64.rpm; status 404
    WARNING!!!! Package mysql-community-icu-data-files-8.0.31-1.el8.x86_64 was not downloaded
    WARNING!!!! Package mysql-community-libs-8.0.31-1.el8.x86_64 was not downloaded
    WARNING!!!! Package mysql-community-common-8.0.31-1.el8.x86_64 was not downloaded
    WARNING!!!! Package mysql-community-client-plugins-8.0.31-1.el8.x86_64 was not downloaded
    WARNING!!!! Package mysql-community-client-8.0.31-1.el8.x86_64 was not downloaded
    WARNING!!!! Package mysql-community-server-8.0.31-1.el8.x86_64 was not downloaded
    Trying to load custom packages from yum
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-client-8.0.31-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-common-8.0.31-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-icu-data-files-8.0.31-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-server-8.0.31-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-libs-8.0.31-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysql-community-client-plugins-8.0.31-1.el8.x86_64.rpm was loaded
    Start download packages for new installation
    This system is receiving updates from CloudLinux Network server.
    303 files removed
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-devel-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-devel-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient16-5.1.73-2.el8.cloudlinux.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient15-5.0.91-3.el8.cloudlinux.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient18-5.5.62-3.el8.cloudlinux.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/numactl-devel-2.0.12-13.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/numactl-devel-2.0.12-13.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/numactl-2.0.12-13.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/libaio-0.3.112-1.el8.x86_64.rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL-meta-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL80-common-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL80-libs-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL80-server-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL80-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MySQL80-devel-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm was loaded
    ​New packages will be installed:
    cl-MySQL-meta-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL-meta-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL-meta-devel-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL80-client-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL80-common-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL80-devel-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL80-libs-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    cl-MySQL80-server-8.0.31-1.module_el8.6.0+6600.0+759083fb.cloudlinux.x86_64 .rpm
    libaio-0.3.112-1.el8.x86_64.rpm
    mysqlclient15-5.0.91-3.el8.cloudlinux.x86_64.rpm
    mysqlclient16-5.1.73-2.el8.cloudlinux.x86_64.rpm
    mysqlclient18-5.5.62-3.el8.cloudlinux.x86_64.rpm
    numactl-2.0.12-13.el8.x86_64.rpm
    numactl-devel-2.0.12-13.el8.x86_64.rpm
    Traceback (most recent call last):
    File "/usr/share/lve/dbgovernor/mysqlgovernor.py", line 352, in <module>
    main(sys.argv[1:])
    File "/usr/share/lve/dbgovernor/mysqlgovernor.py", line 216, in main
    if manager.install(opts.install_beta, opts.yes, opts.wizard):
    File "/usr/share/lve/dbgovernor/modules/base.py", line 276, in install
    self.my_cnf_manager('backup_my_cnf_d')
    File "/usr/share/lve/dbgovernor/modules/base.py", line 162, in my_cnf_manager
    actions.get(action)(my_cnf_d_path)
    File "/usr/share/lve/dbgovernor/modules/base.py", line 152, in <lambda>
    'backup_my_cnf_d': lambda x: shutil.copytree(x, "/etc/my.cnf.d.govprev")
    File "/opt/alt/python37/lib64/python3.7/shutil.py", line 324, in copytree
    os.makedirs(dst)
    File "/opt/alt/python37/lib64/python3.7/os.py", line 223, in makedirs
    mkdir(name, mode)
    FileExistsError: [Errno 17] File exists: '/etc/my.cnf.d.govprev'
    ======​

    Has anyone had this problem and managed to resolve it?

    Thank you.

  • #2
    Hello,

    Have you had a MySQL governor previously installed on that server? It is failing because the previous version of my.cnf.d.govprev exists.
    Anyway, to make it run you have to rename the /etc/my.cnf.d.govprev directory. Just be sure you have MySQL backups in place.

    Comment


    • #3
      Hello,

      Thanks for the answer. It was a great help and solved the problem!

      I renamed the folder, and did the installation procedure. Everything went well!

      Thank you!

      Comment

      Working...
      X