[MCOL-1166] rpm/debian packages installed from buildbot via repo fail to launch - mysql-bin.index' not found (Errcode: 13 Created: 2018-01-15 Updated: 2018-02-16 Resolved: 2018-02-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Build |
| Affects Version/s: | 1.1.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | David Hill (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 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 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/ |
| Comments |
| Comment by David Hill (Inactive) [ 2018-01-15 ] |
|
chmod -R 777 mysql 2018-01-15 19:32:20 140081767642880 [ERROR] InnoDB: Cannot open '/usr/local/mariadb/columnstore/mysql/db/ib_buffer_pool.incomplete' for writing: Permission denied Installation of system tables failed! Examine the logs in |
| Comment by David Hill (Inactive) [ 2018-01-15 ] |
|
Also only happening on builds from buildbot, local build machines 1.1.3 builds installed without issues |
| Comment by David Hill (Inactive) [ 2018-01-17 ] |
|
problem now showing up on debian 8 VM builds now.. post-mysqld-install Successfully Completed root@debian8-pm1:~# |
| Comment by David Hill (Inactive) [ 2018-01-26 ] |
|
retried build on Jan 26th, same issue post-mysqld-install Successfully Completed |
| Comment by David Hill (Inactive) [ 2018-02-14 ] |
|
additional information when package is install as root with root user permissions, the error occurs when i run post-install and postConfigure as root |
| Comment by David Hill (Inactive) [ 2018-02-14 ] |
|
down to the problem with this centos.. for some reason, this file cant get created by the mysqld user during setup.. /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 sudo -u mysql touch /usr/local/mariadb/columnstore/mysql/db/mysql-bin.index |
| Comment by David Hill (Inactive) [ 2018-02-15 ] |
|
fixed, problem was the umask setting in the /data/buildbot/bb-worker/buildbot.tac file on master and workers. changed from 0000 to 0022 |
| Comment by Andrew Hutchings (Inactive) [ 2018-02-16 ] |
|
Switched the fixed version to N/A as this doesn't affect a specific version and probably shouldn't be in the release notes |