/usr/local/mongodb/bin/mongod --fork --shardsvr --port 27017 --dbpath /export/mongodb/data/shard1/ --logpath /export/mongodb/logs/shard1/log.log --logappend --replSet s1 --auth --rest --keyFile /export/mongodb/keyfile
mongodb 启动时报警
permissions on /export/mongodb/keyfile are too open
这是因为mongo key文件权限过大造成的
解决方法:
chmod 600 /export/mongodb/keyfile
阅读(6247) | 评论(0) | 转发(0) |