root@juju-stag-ue-summit-machine-0:~# mongo --ssl -u admin -p $(grep oldpassword /var/lib/juju/agents/machine-0/agent.conf | awk -e '{print $2}') localhost:37017/admin MongoDB shell version: 2.4.9 connecting to: localhost:37017/admin > show collections Thu Apr 9 00:00:02.440 error: { "$err" : "not master and slaveOk=false", "code" : 13435 } at src/mongo/shell/query.js:128 > rs.status() { "startupStatus" : 3, "info" : "run rs.initiate(...) if not yet done for the set", "ok" : 0, "errmsg" : "can't get local.system.replset config from self or any seed (EMPTYCONFIG)" } >
root@juju- stag-ue- summit- machine- 0:~# mongo --ssl -u admin -p $(grep oldpassword /var/lib/ juju/agents/ machine- 0/agent. conf | awk -e '{print $2}') localhost: 37017/admin 37017/admin shell/query. js:128
"startupStatus " : 3, replset config from self or any seed (EMPTYCONFIG)"
MongoDB shell version: 2.4.9
connecting to: localhost:
> show collections
Thu Apr 9 00:00:02.440 error: { "$err" : "not master and slaveOk=false", "code" : 13435 } at src/mongo/
> rs.status()
{
"info" : "run rs.initiate(...) if not yet done for the set",
"ok" : 0,
"errmsg" : "can't get local.system.
}
>