Machine 1 (ip-10-240-29-21) Fri Jan 11 00:21:06.989 [initandlisten] MongoDB starting : pid=1087 port=27017 dbpath=/home/ubuntu/data 64-bit host=ip-10-240-29-21 Fri Jan 11 00:21:06.989 [initandlisten] Fri Jan 11 00:21:06.989 [initandlisten] ** NOTE: This is a development version (2.3.1) of MongoDB. Fri Jan 11 00:21:06.989 [initandlisten] ** Not recommended for production. Fri Jan 11 00:21:06.989 [initandlisten] Fri Jan 11 00:21:06.989 [initandlisten] db version v2.3.1, pdfile version 4.5 Fri Jan 11 00:21:06.989 [initandlisten] git version: e4cc1ddb3d248cd95a3996f48feb57807a50a7a5 Fri Jan 11 00:21:06.989 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49 Fri Jan 11 00:21:06.989 [initandlisten] options: { dbpath: "/home/ubuntu/data", fork: true, logpath: "/home/ubuntu/data/log.txt", port: 27017, replSet: "rs0", smallfiles: true } Fri Jan 11 00:21:07.012 [initandlisten] journal dir=/home/ubuntu/data/journal Fri Jan 11 00:21:07.012 [initandlisten] recover : no journal files present, no recovery needed Fri Jan 11 00:21:07.692 [initandlisten] preallocateIsFaster=true 7.08 Fri Jan 11 00:21:08.248 [initandlisten] preallocateIsFaster=true 5.16 Fri Jan 11 00:21:09.831 [initandlisten] preallocateIsFaster=true 5.04 Fri Jan 11 00:21:09.831 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.0 Fri Jan 11 00:21:13.596 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.1 Fri Jan 11 00:21:17.553 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.2 Fri Jan 11 00:21:21.678 [initandlisten] waiting for connections on port 27017 Fri Jan 11 00:21:21.680 [websvr] admin web console waiting for connections on port 28017 Fri Jan 11 00:21:21.682 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:21:21.682 [rsStart] replSet info you may need to run replSetInitiate -- rs.initiate() in the shell -- if that is not already done Fri Jan 11 00:21:31.682 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:21:41.682 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:21:51.682 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:21:58.014 [initandlisten] connection accepted from 127.0.0.1:55152 #1 (1 connection now open) Fri Jan 11 00:22:01.682 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:02.654 [conn1] replSet replSetInitiate admin command received from client Fri Jan 11 00:22:02.654 [conn1] replSet info initiate : no configuration specified. Using a default configuration for the set Fri Jan 11 00:22:02.654 [conn1] replSet created this configuration for initiation : { _id: "rs0", members: [ { _id: 0, host: "ip-10-240-29-21:27017" } ] } Fri Jan 11 00:22:02.654 [conn1] replSet replSetInitiate config object parses ok, 1 members specified Fri Jan 11 00:22:02.656 [conn1] replSet replSetInitiate all members seem up Fri Jan 11 00:22:02.656 [conn1] ****** Fri Jan 11 00:22:02.656 [conn1] creating replication oplog of size: 990MB... "~/data/log.txt" [readonly] 122L, 12977C rs0:PRIMARY> rs.status() { "set" : "rs0", "date" : ISODate("2013-01-11T01:15:55Z"), "myState" : 1, "members" : [ { "_id" : 0, "name" : "ip-10-240-29-21:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 3289, "optime" : { "t" : 1357866346000, "i" : 1 }, "optimeDate" : ISODate("2013-01-11T01:05:46Z"), "self" : true }, { "_id" : 1, "name" : "ip-10-226-97-195:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 609, "optime" : { "t" : 1357864849000, "i" : 1 }, "optimeDate" : ISODate("2013-01-11T00:40:49Z"), "lastHeartbeat" : ISODate("2013-01-11T01:15:55Z"), "lastHeartbeatRecv" : ISODate("1970-01-01T00:00:00Z"), "pingMs" : 264 } ], "ok" : 1 } Machine 2 (ip-10-226-97-195) Fri Jan 11 00:21:45.582 [initandlisten] MongoDB starting : pid=1083 port=27017 dbpath=/home/ubuntu/data 64-bit host=ip-10-226-97-195 Fri Jan 11 00:21:45.582 [initandlisten] Fri Jan 11 00:21:45.582 [initandlisten] ** NOTE: This is a development version (2.3.1) of MongoDB. Fri Jan 11 00:21:45.582 [initandlisten] ** Not recommended for production. Fri Jan 11 00:21:45.582 [initandlisten] Fri Jan 11 00:21:45.582 [initandlisten] db version v2.3.1, pdfile version 4.5 Fri Jan 11 00:21:45.582 [initandlisten] git version: e4cc1ddb3d248cd95a3996f48feb57807a50a7a5 Fri Jan 11 00:21:45.582 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49 Fri Jan 11 00:21:45.582 [initandlisten] options: { dbpath: "/home/ubuntu/data", fork: true, logpath: "/home/ubuntu/data/log.txt", port: 27017, replSet: "rs0", smallfiles: true } Fri Jan 11 00:21:45.608 [initandlisten] journal dir=/home/ubuntu/data/journal Fri Jan 11 00:21:45.608 [initandlisten] recover : no journal files present, no recovery needed Fri Jan 11 00:21:46.137 [initandlisten] preallocateIsFaster=true 7.5 Fri Jan 11 00:21:46.620 [initandlisten] preallocateIsFaster=true 5.12 Fri Jan 11 00:21:48.141 [initandlisten] preallocateIsFaster=true 5.98 Fri Jan 11 00:21:48.141 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.0 Fri Jan 11 00:21:52.341 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.1 Fri Jan 11 00:21:56.228 [initandlisten] preallocating a journal file /home/ubuntu/data/journal/prealloc.2 Fri Jan 11 00:22:00.032 [initandlisten] waiting for connections on port 27017 Fri Jan 11 00:22:00.034 [websvr] admin web console waiting for connections on port 28017 Fri Jan 11 00:22:00.036 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:00.036 [rsStart] replSet info you may need to run replSetInitiate -- rs.initiate() in the shell -- if that is not already done Fri Jan 11 00:22:10.036 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:20.036 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:30.037 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:40.037 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:22:50.037 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:00.037 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:10.037 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:20.038 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:30.038 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:40.039 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:23:50.039 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:24:00.039 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) Fri Jan 11 00:24:10.040 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG) "~/data/log.txt" [readonly] 216L, 23238C rs0:PRIMARY> rs.status() { "set" : "rs0", "date" : ISODate("2013-01-11T01:16:54Z"), "myState" : 1, "members" : [ { "_id" : 0, "name" : "ip-10-226-97-195:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 3309, "optime" : { "t" : 1357864849000, "i" : 1 }, "optimeDate" : ISODate("2013-01-11T00:40:49Z"), "self" : true } ], "ok" : 1 }