I tried to delete all ny data folder and restart anything from
scratch.
I now find more in my log:
Thu Aug 4 17:57:25 [conn4] replSet replSetInitiate admin command
received from client
Thu Aug 4 17:57:25 [conn4] replSet replSetInitiate config object
parses ok, 3 members specified
Thu Aug 4 17:57:25 [conn4] replSet replSetInitiate all members seem
up
Thu Aug 4 17:57:25 [conn4] ******
Thu Aug 4 17:57:25 [conn4] creating replication oplog of size:
183MB...
Thu Aug 4 17:57:25 [FileAllocator] allocating new datafile /usr/local/
var/mongodb/r1/local.ns, filling with zeroes...
Thu Aug 4 17:57:25 [FileAllocator] done allocating datafile /usr/
local/var/mongodb/r1/local.ns, size: 16MB, took 0.009 secs
Thu Aug 4 17:57:25 [FileAllocator] allocating new datafile /usr/local/
var/mongodb/r1/local.0, filling with zeroes...
Thu Aug 4 17:57:26 [FileAllocator] done allocating datafile /usr/
local/var/mongodb/r1/local.0, size: 64MB, took 0.307 secs
Thu Aug 4 17:57:26 [FileAllocator] allocating new datafile /usr/local/
var/mongodb/r1/local.1, filling with zeroes...
Thu Aug 4 17:57:27 [FileAllocator] done allocating datafile /usr/
local/var/mongodb/r1/local.1, size: 128MB, took 0.263 secs
Thu Aug 4 17:57:28 [FileAllocator] allocating new datafile /usr/local/
var/mongodb/r1/local.2, filling with zeroes...
Thu Aug 4 17:57:28 [FileAllocator] done allocating datafile /usr/
local/var/mongodb/r1/local.2, size: 256MB, took 0.464 secs
Thu Aug 4 17:57:32 [conn4] ******
Thu Aug 4 17:57:32 [conn4] replSet replSetInitiate exception:
nonmatching repl set name in _id field; check --replSet command line
Thu Aug 4 17:57:32 [conn4] query admin.$cmd ntoreturn:1 command:
{ replSetInitiate: { _id: "development", members: [ { _id: 0.0, host:
"localhost:27017" }, { _id: 1.0, host: "localhost:27018" }, { _id:
2.0, host: "localhost:27019", arbiterOnly: true } ] } } reslen:154
6396ms
Thu Aug 4 17:57:32 [conn2] query admin.$cmd ntoreturn:1 command:
{ listDatabases: 1 } reslen:249 1606ms
Thu Aug 4 17:57:32 [startReplSets] replSet can't get
local.system.replset config from self or any seed (EMPTYCONFIG)
Thu Aug 4 17:57:32 [conn4] end connection
127.0.0.1:53482
Thu Aug 4 17:57:42 [startReplSets] replSet can't get
local.system.replset config from self or any seed (EMPTYCONFIG)
Do I have to return something from the js code that execute the
rs.initiate() ?
Thanks