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"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 2.8.0-rc0
    • None
    • 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 }

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: