Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-5974

TokuHotbackup can't be installed on Amazon Linux 2

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.6.x, 5.7.x, 8.0.x
    • Fix Version/s: None
    • Component/s: Packaging, TokuBackup
    • Labels:
      None
    • Needs QA:
      Yes

      Description

      [root@amazon2 ~]# ps-admin --enable-tokubackup
      
      Checking SELinux status...
      INFO: SELinux is disabled.
      
      Checking if TokuDB plugin is available for installation ...
      INFO: ha_tokudb.so library for TokuDB found at /usr/lib64/mysql/plugin/ha_tokudb.so.
      
      Checking location of jemalloc library ...
      INFO: jemalloc library needed for TokuDB found at /usr/lib64/libjemalloc.so.1
      
      Checking location of TokuBackup library ...
      INFO: TokuBackup library found at /usr/lib64/mysql/libHotBackup.so
      
      Checking transparent huge pages status on the system...
      INFO: Transparent huge pages are currently disabled on the system.
      
      Checking if THP_SETTING variable is set to never or madvise in /etc/default/mysql...
      INFO: Variable THP_SETTING is not set to never or madvise in /etc/default/mysql.
      
      Checking TokuDB engine plugin status...
      INFO: TokuDB engine plugin is not installed.
      
      Checking TokuBackup plugin status...
      INFO: TokuBackup plugin is not installed.
      
      Checking if Percona Server is running with libHotBackup.so preloaded...
      ERROR: Percona Server is not running with libHotBackup.so preloaded, please restart mysql service to enable it and then run this script again...
      [root@amazon2 ~]# service mysql restart
      Redirecting to /bin/systemctl restart mysql.service
      [root@amazon2 ~]# ps-admin --enable-tokubackup
      Checking SELinux status...
      INFO: SELinux is disabled.
      
      Checking if TokuDB plugin is available for installation ...
      INFO: ha_tokudb.so library for TokuDB found at /usr/lib64/mysql/plugin/ha_tokudb.so.
      
      Checking location of jemalloc library ...
      INFO: jemalloc library needed for TokuDB found at /usr/lib64/libjemalloc.so.1
      
      Checking location of TokuBackup library ...
      INFO: TokuBackup library found at /usr/lib64/mysql/libHotBackup.so
      
      Checking transparent huge pages status on the system...
      INFO: Transparent huge pages are currently disabled on the system.
      
      Checking if THP_SETTING variable is set to never or madvise in /etc/default/mysql...
      INFO: Variable THP_SETTING is not set to never or madvise in /etc/default/mysql.
      
      Checking if LD_PRELOAD variable is set for libjemalloc.so.1 in /etc/default/mysql...
      INFO: Variable LD_PRELOAD for libjemalloc.so.1 is set in /etc/default/mysql.
      
      Checking if LD_PRELOAD variable is set for libHotBackup.so in /etc/default/mysql...
      INFO: Variable LD_PRELOAD for libHotBackup.so is set in /etc/default/mysql.
      
      Checking TokuDB engine plugin status...
      INFO: TokuDB engine plugin is not installed.
      
      Checking TokuBackup plugin status...
      INFO: TokuBackup plugin is not installed.
      
      Checking if Percona Server is running with libHotBackup.so preloaded...
      ERROR: Percona Server is not running with libHotBackup.so preloaded, please restart mysql service to enable it and then run this script again...
      
      [root@amazon2 ~]# /vagrant/old_vc.sh
      +------------------+
      | @@INNODB_VERSION |
      +------------------+
      | 8.0.16-7         |
      +------------------+
      +-----------+
      | @@VERSION |
      +-----------+
      | 8.0.16-7  |
      +-----------+
      +---------------------------------------------------+
      | @@VERSION_COMMENT                                 |
      +---------------------------------------------------+
      | Percona Server (GPL), Release 7, Revision 613e312 |
      +---------------------------------------------------+
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  hrvoje.matijakovic Hrvoje Matijakovic
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2 days, 30 minutes
                    2d 30m