Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3510

RPM package installation returned errors.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1
    • Component/s: installation
    • Labels:
      None
    • Sprint:
      2019-06

      Description

      Build tested: 1.4.0-1

      engine commit:
      eadc94c

      When installing the RPM packages, the following errors were reported. Packages did get installed and postConfigure ran successfully. The stack was functional.

      [root@localhost ~]# rpm -ivh *.rpm
      Preparing... ################################# [100%]
      Updating / installing...
      1:MariaDB-common-10.4.8_3-1.el7 ################################# [ 8%]
      2:mariadb-columnstore-libs-1.4.0-1 ################################# [ 15%]
      3:MariaDB-client-10.4.8_3-1.el7 ################################# [ 23%]
      4:MariaDB-server-10.4.8_3-1.el7 ################################# [ 31%]
      chown: invalid user: ‘mysql:mysql’
      /var/tmp/rpm-tmp.n7lew9: line 61: /usr/local/mariadb/columnstore/mysql/bin/mysql_install_db: No such file or directory
      chown: invalid user: ‘mysql:mysql’
      chmod: cannot access ‘db/mysql’: No such file or directory
      chown: invalid user: ‘mysql’
      chmod: cannot access ‘/usr/lib*/mysql/plugin/auth_pam_tool_dir’: No such file or directory
      chown: cannot access ‘/usr/lib*/mysql/plugin/auth_pam_tool_dir/auth_pam_tool’: No such file or directory
      chmod: cannot access ‘/usr/lib*/mysql/plugin/auth_pam_tool_dir/auth_pam_tool’: No such file or directory
      libsemanage.map_file: Unable to open /usr/share/mysql/policy/selinux/mariadb.pp
      (No such file or directory).
      libsemanage.semanage_direct_install_file: Unable to read file /usr/share/mysql/policy/selinux/mariadb.pp
      (No such file or directory).
      /usr/sbin/semodule: Failed on /usr/share/mysql/policy/selinux/mariadb.pp!
      sbin/restorecon: lstat(var/lib/mysql) failed: No such file or directory
      warning: %post(MariaDB-server-10.4.8_3-1.el7.x86_64) scriptlet failed, exit status 255
      5:MariaDB-shared-10.4.8_3-1.el7 ################################# [ 38%]
      6:mariadb-columnstore-platform-1.4.################################# [ 46%]
      The next step is:

      If installing on a pm1 node using non-distributed install

      /usr/local/mariadb/columnstore/bin/postConfigure

      If installing on a pm1 node using distributed install

      /usr/local/mariadb/columnstore/bin/postConfigure -d

      If installing on a non-pm1 using the non-distributed option:

      /usr/local/mariadb/columnstore/bin/columnstore start

      7:MariaDB-gssapi-server-10.4.8_3-1.################################# [ 54%]
      8:mariadb-columnstore-storage-engin################################# [ 62%]
      9:MariaDB-shared-debuginfo-10.4.8_3################################# [ 69%]
      10:MariaDB-server-debuginfo-10.4.8_3################################# [ 77%]
      11:MariaDB-gssapi-server-debuginfo-1################################# [ 85%]
      12:MariaDB-common-debuginfo-10.4.8_3################################# [ 92%]
      13:MariaDB-client-debuginfo-10.4.8_3################################# [100%]
      warning: %posttrans(MariaDB-server-10.4.8_3-1.el7.x86_64) scriptlet failed, exit status 5

      [root@localhost ~]# cat /data/qa/release/1.4.0-1/centos7/gitversionInfo.txt
      engine commit:
      eadc94c
      [root@localhost ~]# rpm -qa |grep -i mariadb
      MariaDB-server-10.4.8_3-1.el7.x86_64
      MariaDB-common-debuginfo-10.4.8_3-1.el7.x86_64
      MariaDB-common-10.4.8_3-1.el7.x86_64
      MariaDB-shared-debuginfo-10.4.8_3-1.el7.x86_64
      mariadb-columnstore-libs-1.4.0-1.x86_64
      mariadb-columnstore-platform-1.4.0-1.x86_64
      MariaDB-server-debuginfo-10.4.8_3-1.el7.x86_64
      MariaDB-client-10.4.8_3-1.el7.x86_64
      MariaDB-gssapi-server-10.4.8_3-1.el7.x86_64
      MariaDB-gssapi-server-debuginfo-10.4.8_3-1.el7.x86_64
      mariadb-columnstore-storage-engine-1.4.0-1.x86_64
      MariaDB-shared-10.4.8_3-1.el7.x86_64
      MariaDB-client-debuginfo-10.4.8_3-1.el7.x86_64

        Attachments

          Activity

            People

            Assignee:
            dleeyh Daniel Lee
            Reporter:
            dleeyh Daniel Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: