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

Getting error "couldn't initiate : can't find self in the replset config my port:" while initilizing replica set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      Linux OEL
    • Operating System:
      ALL

      Description

      I have Following replica sets set ups
      1: primary
      2: slave
      1: Arbiter
      Primary and Arbiter on same machine

      config = {_id: 'r1', members: [{_id: 0, host: '< 192.168.50.225:10000>'}, {_id: 3, host: '< 192.168.50.225:15000>',arbiterOnly : true , priority: 0},{_id: 1, host: '< 192.168.50.117:10000>', priority: 0} ,{_id: 2, host: '< 192.168.50.239:10000>', priority: 0}]}  
       
      rs.initiate(config)

      Out put of above command
      > rs.initiate(config)
      {
      "errmsg" : "couldn't initiate : can't find self in the replset config my port: 10000",
      "ok" : 0
      }

      Pleas Help me
      Thanks JRV

        Attachments

          Activity

            People

            Assignee:
            kristina Kristina Chodorow
            Reporter:
            jitendra908@gmail.com jitendra verma
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: