ARTS-S mongo关闭与启动
关闭
mongo admin --eval "db.shutdownServer()"
删除dbdata目录下的mongo.lock
启动
/usr/bin/mongod --dbpath=/data/mongo --logpath=/data/logs/mongo --bind_ip 10.11.12.13,127.0.0.1
mongo admin --eval "db.shutdownServer()"
删除dbdata目录下的mongo.lock
/usr/bin/mongod --dbpath=/data/mongo --logpath=/data/logs/mongo --bind_ip 10.11.12.13,127.0.0.1