标签:
安装MONGODB 3.0.6的时候提示警告信息,如下:
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always‘.
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** We suggest setting it to ‘never‘
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten]
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is ‘always‘.
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten] ** We suggest setting it to ‘never‘
2015-09-09T11:04:35.011+0800 I CONTROL [initandlisten]
有人说,执行如下命令:
echo "never" > /sys/kernel/mm/transparent_hugepage/enabled
echo "never" > /sys/kernel/mm/transparent_hugepage/defrag
但是,在执行之前去查看enabled和defrag文件的话,已经是never状态,因此根本不是这个问题。
最后确认发现是缺少了以下的依赖包,安装即可:
gcc-4.4.7-16.el6.x86_64.rpm
gcc-c++-4.4.7-16.el6.x86_64.rpm
libgcc-4.4.7-16.el6.x86_64.rpm
libgomp-4.4.7-16.el6.x86_64.rpm
libstdc++-4.4.7-16.el6.x86_64.rpm
libstdc++-devel-4.4.7-16.el6.x86_64.rpm
WARNING: /sys/kernel/mm/transparent_hugepage/enabled is
标签:
原文地址:http://www.cnblogs.com/hankyoon/p/5169428.html