When I run the following command: rs.initiate()
,
I get the following error:
"info2" : "no configuration explicitly specified -- making one",
"me" : "ip-10-0-2-113:27017",
"ok" : 0,
"errmsg" : "No host described in new configuration 1 for replica set s-1-rs maps to this node",
"code" : 93
I'm just running on the local host. I'm following this guide: http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/
I just skipped the part where they named the replica set.
In any case, how can I create a replica set and what am I doing wrong?
Thanks