Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to obtain name info for:[(1*.*.**.***,"name or service not known"),(1*.*.**.***,"name or service not known"),

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*... : is my IP Address

My Cluster is 3 node replica set Buit with MongoDB 3.2.

i never seen this kind of errors logging in my other environments.

what might be issue causing this.

like image 786
rohith Avatar asked Mar 07 '16 16:03

rohith


1 Answers

Answer is very simple, node cannot resolve name from IP address. Please add those addresses and correlating names to: /etc/hosts -file

12.345.678.90  node1  node1.my.domain
12.345.678.91  node2  node2.my.domain
like image 194
JJussi Avatar answered Nov 18 '22 09:11

JJussi