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

Not able to start replication between 2 ubuntu 14.04 LTS servers

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 3.0.1
    • Replication
    • None

    Description

      errmsg“ : ”No host described in new configuration 1 for replica set rs0 maps to this node",
      I am getting this message every time I do rs.initiate() This is how my /etc/hosts/ file looks on both the replica sets.

      Server 1 and server 2 "hosts" file

      127.0.0.1 localhost

      aa.bb.cc.dd DataMongo1

      ee.ff.gg.hh DataMongo2

      Server 1-mongod.conf file

      bind-ip aa.bb.cc.dd

      Server 2 -mongod.conf file

      bind-ip ee.ff.gg.hh

      changed server1 hostname to DataMongo1 and server2 to DataMongo2

      $hostname DataMongo1

      Port 27071 is uncommented on both servers

      Please help me with this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Shashankkaw Shashank Kaw [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: