# Error enabling TokuDB - Percona Server not running with jemalloc enabled

**URL:** <https://forums.percona.com/t/error-enabling-tokudb-percona-server-not-running-with-jemalloc-enabled/4450>\
**Category:** Other MySQL® Questions\
**Created:** [October 13, 2015, 6:41pm UTC](https://forums.percona.com/t/error-enabling-tokudb-percona-server-not-running-with-jemalloc-enabled/4450 "2015-10-13T18:41:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![user500](https://avatars.discourse-cdn.com/v4/letter/u/ee7513/32.png) [@user500](https://forums.percona.com/u/user500)\
**Post date:** [October 13, 2015, 6:41pm UTC](https://forums.percona.com/t/error-enabling-tokudb-percona-server-not-running-with-jemalloc-enabled/4450/1 "2015-10-13T18:41:22Z")

</div>

Hi,

I’m having trouble enabling TokuDB with Percona Server 5.6.

I have installed:

- Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-63-generic x86\_64)
- Percona Server 5.6.26-74.0-1.trusty
- Percona Server TokuDB 5.6.26-74.0-1.trusty
- libjemalloc1 3.6.0-2.trusty

In ‘/etc/mysql/my.cnf’ under [mysqld\_safe] I have added: ‘malloc-lib = /usr/lib/x86\_64-linux-gnu/libjemalloc.so.1’.

When I run ‘sudo ps\_tokudb\_admin --enable -u root -p’ I get:

Checking if Percona Server is running with jemalloc enabled…  
ERROR: Percona Server is not running with jemalloc, please restart mysql service to enable it and then run this script…

The error remains after restarting the mysql service and the server.

Thank you,  
Patrick
