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

rs.initiate(); failed

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.1
    • Replication
    • Linux 2.6.18-274.3.1.el5 RH5 x86_64

    Description

      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
      }
      ~~

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: