Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.3
-
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