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

bind_ip = 127.0.0.1 && rs.initiate(): error 93 "No host described in new configuration 1 for replica set indexers maps to this node"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc0
    • Component/s: Replication
    • None
    • ALL
    • Hide

      config file:

      bind_ip = 127.0.0.1
      replSet = myRS
      

      Start mongod with config file, then mongo shell:

      $ mongo
      > rs.status()
      {
              "info" : "run rs.initiate(...) if not yet done for the set",
              "ok" : 0,
              "errmsg" : "no replset config has been received",
              "code" : 94
      }
      > rs.initiate()
      {
              "info2" : "no configuration explicitly specified -- making one",
              "me" : "MYHOST:27017",
              "ok" : 0,
              "errmsg" : "No host described in new configuration 1 for replica set indexers maps to this node",
              "code" : 93
      }
      > rs.status()
      {
              "info" : "run rs.initiate(...) if not yet done for the set",
              "ok" : 0,
              "errmsg" : "no replset config has been received",
              "code" : 94
      }
      
      Show
      config file: bind_ip = 127.0.0.1 replSet = myRS Start mongod with config file, then mongo shell: $ mongo > rs.status() { "info" : "run rs.initiate(...) if not yet done for the set" , "ok" : 0, "errmsg" : "no replset config has been received" , "code" : 94 } > rs.initiate() { "info2" : "no configuration explicitly specified -- making one" , "me" : "MYHOST:27017" , "ok" : 0, "errmsg" : "No host described in new configuration 1 for replica set indexers maps to this node" , "code" : 93 } > rs.status() { "info" : "run rs.initiate(...) if not yet done for the set" , "ok" : 0, "errmsg" : "no replset config has been received" , "code" : 94 }

      With "bind_ip = 127.0.0.1" config, it's no more possible to create a replica set in mongodb 2.8.0-rc0:

      "errmsg" : "No host described in new configuration 1 for replica set indexers maps to this node",
      "code" : 93

      It worked with mongodb 2.6.4 (and 2.4 & 2.2 & 2.0 I think).

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            trsystran Thomas Riccardi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: