虚位以待(AD)
虚位以待(AD)
首页 > 数据库 > MongoDB数据库 > mongodb踩到的坑

mongodb踩到的坑
类别:MongoDB数据库   作者:码皇   来源:<a href="http://blog.csdn.net/anigon" target="_blank" rel="nofollow"   点击:

正在学习centos7,正好这段时间公司有用到mongodb,试着用epel源安装了mongodb-2 6 12,然后激活mongod:systemctl enbale mongod,接着启动:sytemctl start mongod,死活起不起来,日志中显示:Please make at

mongodb踩到的坑。正在学习centos7,正好这段时间公司有用到mongodb,试着用epel源安装了mongodb-2.6.12,然后激活mongod:systemctl enbale mongod,接着启动:sytemctl start mongod,死活起不起来。

日志中显示:Please make at least 3379MB available in /var/lib/mongodb/journal or use --smallfiles,查看系统空间,小于journal需要的空间,要么加上--smallfiles启动,要么就只能把数据目录换到空间的分区了。

相关热词搜索: