dbpath=/usr/local/mongodb/mongodbserver1/data
logpath=/usr/local/mongodb/mongodbserver1/logs/mongodb.log
bind_ip=0.0.0.0
port=27017
pidfilepath=/usr/local/mongodb/mongodbserver1/data/rs1.pid
fork=true
replSet = rs1
keyFile=/usr/local/mongodb/keyfile/key
setParameter=enableLocalhostAuthBypass=true
show dbs
报错
not master and slaveOk=false
~
~
~
没有这个主线和slaveOk
版本的问题吧,