“errmsg” : "Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded:

Hi Everyone,

If you are facing issues with adding nodes to a replica set and getting the error as mentioned below:

“errmsg” : "Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded:

Please confirm on the below points:

  • All the nodes are up and running on all the correct ports
  • You have initiated the replica set using rs.initiate()
  • The host name passed in rs.add() is correct - check the /etc/hosts file for the value of “m103.mongodb.university” which should point to “192.168.103.100”

If the above are already in place and you still face the issue, please post the output of rs.status
and we’ll look into it further.

Thanks,
Muskan
Curriculum Support Engineer

5 Likes