Error enabling TokuDB through ps_tokudb_admin
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Fix Released
|
Medium
|
Tomislav Plavcic | |||
5.7 |
Fix Released
|
Medium
|
Tomislav Plavcic |
Bug Description
Ubuntu 15.10
Docker 1.9.1
On container building:
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
151129 08:15:18 mysqld_safe Adding '/usr/lib/
151129 08:15:18 mysqld_safe Logging to '/var/lib/
151129 08:15:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
mysqld is alive
Checking if Percona Server is running with jemalloc enabled...
grep: /proc/840/environ: Permission denied
ERROR: Percona Server is not running with jemalloc, please restart mysql service to enable it and then run this script...
Previous version of ps_tokudb_admin:
# Check if server is running with jemalloc - if not warn that restart is needed
if [ $ENABLE = 1 ]; then
printf "Checking if Percona Server is running with jemalloc enabled...\n"
JEMALLOC_
if [ $JEMALLOC_STATUS = 0 ]; then
printf "ERROR: Percona Server is not running with jemalloc, please restart mysql service to enable it and then run this script...\n\n";
exit 1
else
printf "INFO: Percona Server is running with jemalloc enabled.\n\n";
fi
fi
Current version of ps_tokudb_admin with bug:
# Check if server is running with jemalloc - if not warn that restart is needed
if [ $ENABLE = 1 ]; then
printf "Checking if Percona Server is running with jemalloc enabled...\n"
grep -qc jemalloc /proc/$
JEMALLOC_
if [ $JEMALLOC_STATUS = 1 ]; then
printf "ERROR: Percona Server is not running with jemalloc, please restart mysql service to enable it and then run this script...\n\n";
exit 1
else
printf "INFO: Percona Server is running with jemalloc enabled.\n\n";
fi
fi
tags: | added: pkg |
Previous issue about jemalloc https:/ /bugs.launchpad .net/percona- server/ +bug/1422538