Percona Server 5.7 can't be restarted after TokuDB has been installed with ps_tokudb_admin
Bug #1527535 reported by
Hrvoje Matijakovic
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Fix Released
|
Medium
|
Tomislav Plavcic |
Bug Description
After Tokudb get installed with ps_tokudb_admin in Percona Server 5.7 server can't be restarted due to error:
mysqld_safe mysqld_safe must be run as root for setting transparent huge pages!
Commenting out :
thp-setting=never
in my.cnf resolves this issue, but then THP could be re-enabled after server restart causing issues for TokuDB.
tags: | added: pkg tokudb |
To post a comment you must log in.
This is because of when you are going to install percona- server- server- 5.7 it will remove percona- server- tokudb- 5.6 but not install new percona- server- tokudb- 5.7 package :
root@percona- XPS-15: ~# sudo apt-get install percona- server- server- 5.7 server- client- 5.7 percona- server- common- 5.7 server- client- 5.6 percona- server- server- 5.6 server- tokudb- 5.6 server- client- 5.7 percona- server- common- 5.7 server- server- 5.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
percona-
The following packages will be REMOVED:
percona-
percona-
The following NEW packages will be installed:
percona-
percona-
Process Will end up:
No directory, logging in with HOME=/ ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ......
.151228 10:46:59 mysqld_safe mysqld_safe must be run as root for setting transparent huge pages!
.......
Killing the process: ....... /var/lib/ dpkg/info/ percona- server- server- 5.7.postinst: line 87: 5963 Killed invoke-rc.d mysql start server- server- 5.7 (--configure): server- server- 5.7
.......
dpkg: error processing package percona-
subprocess installed post-installation script returned error exit status 137
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
percona-
If you remove thp-setting=never from my.cnf still will not be able to start PS with TokuDB:
2015-12- 28T06:57: 08.671881Z 0 [ERROR] Can't open shared library '/usr/lib/ mysql/plugin/ tokudb_ backup. so' (errno: 0 /usr/lib/ mysql/plugin/ tokudb_ backup. so: cannot open shared ob 28T06:57: 08.671887Z 0 [Warning] Couldn't load plugin named 'tokudb_backup' with soname 'tokudb_backup.so'. 28T06:57: 08.671901Z 0 [ERROR] Can't open shared library '/usr/lib/ mysql/plugin/ ha_tokudb. so' (errno: 0 /usr/lib/ mysql/plugin/ ha_tokudb. so: cannot open shared object fil 28T06:57: 08.671905Z 0 [Warning] Couldn't load plugin named 'TokuDB' with soname 'ha_tokudb.so'. 28T06:57: 08.671914Z 0 [ERROR] Can't open shared library '/usr/lib/ mysql/plugin/ ha_tokudb. so' (errno: 0 /usr/lib/ mysql/plugin/ ha_tokudb. so: cannot open shared object fil 28T06:57: 08.671917Z 0 [Warning] Couldn't load plugin named 'TokuDB_file_map' with soname 'ha_tokudb.so'. 28T06:57: 08.671926Z 0 [ERROR] Can't open shared library '/usr/lib/ mysql/plugin/ ha_tokudb. so' (errno: 0 /usr/lib/ mysql/plugin/ ha_tokudb. so: cannot open shared object fil 28T06:57: 08.671929Z 0 [Warning] Couldn't load plugin named 'TokuDB_ fractal_ tree_info' with soname 'ha_tokudb.so'. 28T06:57: 08.671938Z 0 [ERROR] Can't open shared library '/usr/lib/ mysql/p. ..
ject file: No such file or directory)
2015-12-
2015-12-
e: No such file or directory)
2015-12-
2015-12-
e: No such file or directory)
2015-12-
2015-12-
e: No such file or directory)
2015-12-
2015-12-