Failed to get name information for: [(1 *. *. **. ***, "name or service is unknown"), (1 *. *. **. ***, "name or service is unknown", ),

016-03-07T09:10:16.992-0600 W NETWORK [HostnameCanonicalizationWorker] Failed to obtain name info for: [ (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known") ] 2016-03-07T09:25:17.041-0600 W NETWORK [HostnameCanonicalizationWorker] Failed to obtain name info for: [ (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known") ] 2016-03-07T09:40:17.085-0600 W NETWORK [HostnameCanonicalizationWorker] Failed to obtain name info for: [ (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known"), (1*.*.**.***, "Name or service not known") ] 

1 * ... : my IP address

My cluster is a 3 node Buit replica set with MongoDB 3.2.

I have never seen such errors logged in other environments.

what could be the reason causing this.

+7
mongodb hostname
source share
1 answer

The answer is very simple, node cannot resolve the name from the IP address. Add these addresses and map the names: / etc / hosts -file

 12.345.678.90 node1 node1.my.domain 12.345.678.91 node2 node2.my.domain 
+1
source share

All Articles