0

Context

  • debian stretch
  • mongod version v3.2.11

Issue

I got exactly the same error as this post but the answer do not work in my case.

This is the error output from mongodb.log :

... start logs
...
I NETWORK  [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
W NETWORK  [HostnameCanonicalizationWorker] Failed to obtain address information for hostname r-025-07: Name or service not known
I CONTROL  [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends

Here is my /etc/hosts file :

127.0.0.1   localhost
127.0.1.1   debian8-source
127.0.0.1   r-025-07

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I restarted the server despite it's not usefull when /etc/hosts is edited.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.