Mongo - error "not master and slaveOk=false"

Problem:

listDatabases failed:{ "ok" : 0, "errmsg" : "not master and slaveOk=false", "code" : 13435 } at src/mongo/shell/mongo.js:47

Solution:

Make sure you have the replication set: rs.initiate();

Comments

Popular posts from this blog

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted

Oracle - ORA-29282: invalid file ID, ORA-06512: at "SYS.UTL_FILE"