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

rs.initiate(); failed

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.1
    • Component/s: Replication
    • Environment:
      Linux 2.6.18-274.3.1.el5 RH5 x86_64
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      init step failed to run.

      cat /etc/mongod.conf
      ~~
      ...
      replSet = PRODrs
      ~~
      ~~
      > rs.status();
      {
      "startupStatus" : 3,
      "info" : "run rs.initiate(...) if not yet done for the set",
      "errmsg" : "can't get local.system.replset config from self or any seed (EMPTYCONFIG)",
      "ok" : 0
      }
      > rs.initiate();
      {
      "info2" : "no configuration explicitly specified – making one",
      "me" : "sd1pxx06lx.sakdirect.com:27017",
      "errmsg" : "couldn't initiate : can't find self in the replset config",
      "ok" : 0
      }
      ~~

        1. init_failed.txt
          0.8 kB
          Leonid Mikityanskiy
        2. mongod.conf
          2 kB
          Leonid Mikityanskiy
        3. mongod.log
          794 kB
          Leonid Mikityanskiy

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            lmikityanskiy Leonid Mikityanskiy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: