Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6202

couldn't initiate : assertion db/pdfile.cpp:437

    • Linux

      I perform following tutorial for my knowledge
      http://docs.mongodb.org/manual/tutorial/convert-replica-set-to-replicated-shard-cluster/

      In this Tutorial i Start three mongod instances
      then
      mongo localhost:10001/admin
      db.runCommand({"replSetInitiate" :
      {"_id" : "firstset", "members" : [

      {"_id" : 1, "host" : "localhost:10001"}

      ,

      {"_id" : 2, "host" : "localhost:10002"}

      ,

      {"_id" : 3, "host" : "localhost:10003"}

      ]}})

      but above runCommand give me a following error

      { "errmsg" : "couldn't initiate : assertion db/pdfile.cpp:437", "ok" : 0 }

      then i try rs.initiate()
      but it also give same error
      {
      "info2" : "no configuration explicitly specified – making one",
      "me" : "devindia-desktop:10001",
      "errmsg" : "couldn't initiate : assertion db/pdfile.cpp:437",
      "ok" : 0
      }

      how can i solve this error what i doing wrong in this Tutorial

            Assignee:
            Unassigned Unassigned
            Reporter:
            phppassion1245 phppassion1245
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: