[SERVER-17697] Not able to start replication between 2 ubuntu 14.04 LTS servers Created: 23/Mar/15  Updated: 23/Mar/15  Resolved: 23/Mar/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.0.1
Fix Version/s: None

Type: Question Priority: Critical - P2
Reporter: Shashank Kaw [X] Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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.



 Comments   
Comment by Ramon Fernandez Marina [ 23/Mar/15 ]

Thanks for your report Shashankkaw. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group.

Regards,
Ramón.

Generated at Thu Feb 08 03:45:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.