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

rpm/debian packages installed from buildbot via repo fail to launch - mysql-bin.index' not found (Errcode: 13

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.3
    • Icebox
    • Build
    • None
    • 2018-02, 2018-03, 2018-04

    Description

      any set of rpms or debian packages that is built from the columnstore buildbot machine can get installed using a yu/apt-get report setup, but they are fail to start in postConfigure. Error ruuing the post-mysqld-install scripts...

      This command is being run in the script, which points to the error:

      /usr/local/mariadb/columnstore/mysql/scripts/mysql_install_db --rpm --user=mysql --defaults-extra-file=/usr/local/mariadb/columnstore/mysql/my.cnf --basedir=/usr/local/mariadb/columnstore/mysql
      2018-01-15 19:24:20 140465003727744 [ERROR] mysqld: File '/usr/local/mariadb/columnstore/mysql/db/mysql-bin.index' not found (Errcode: 13 "Permission denied")

      NOTES: the index file doesnt exist and the directory its looking for it in to locate or creast it has permissions of mysqld:mysql

      ls -l db/
      total 110608
      rw-rw--- 1 mysql mysql 358 Jan 15 19:23 debian-9-pm1-bin.000001
      rw-rw--- 1 mysql mysql 26 Jan 15 19:23 debian-9-pm1-bin.index
      rw-rw--- 1 mysql mysql 0 Jan 15 19:23 debian-9-pm1-bin.state
      rw-rw--- 1 mysql mysql 12582912 Jan 15 19:23 ibdata1
      rw-rw--- 1 mysql mysql 50331648 Jan 15 19:23 ib_logfile0
      rw-rw--- 1 mysql mysql 50331648 Jan 15 19:23 ib_logfile1
      drwx-x-x 2 mysql mysql 4096 Jan 15 19:23 mysql
      drwxr-xr-x 2 mysql mysql 4096 Jan 15 18:43 test

      Attachments

        Activity

          People

            hill David Hill (Inactive)
            hill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.