I am trying to install Tokumx mongodb inside ubuntu VM using Putty. I have followed all the steps to install tokuMX mongodb from the link http://docs.tokutek.com/tokumx/tokumx-installation.html I have created /data/db folder inside root and given permission. when I ran mongod command , I got an error -> this is the screenshot.
It creates mongod.lock file inside data folder , I tried deleting that file and ran but got the same error. How to fix it? Any idea?
As said in the error message, you have to disable the transparent huge pages before launching mongod.
echo never > /sys/kernel/mm/transparent_hugepage/enabled
On Red Hat:
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled