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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Replication
    • None
    • Environment:
      Linux OEL
    • ALL

      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

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

              Created:
              Updated:
              Resolved: