Dollar Universe does not start failed in u_listen Unknown host
search cancel

Dollar Universe does not start failed in u_listen Unknown host

book

Article ID: 86991

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Dollar Universe node refuses to  start with the below errors in the universe.log

| 2013-07-25 17:23:20 |ERROR|X|UTL|pid=26293.1| u_ouv_serv | failed in u_listen: Unknown host
| 2013-07-25 17:23:20 |ERROR|X|UTL|pid=26301.1| u_listen | u_gethostbyname(HOSTNAME) returns error: Unknown host (gethostbyname_(HOSTNAME) returns error)

Environment

Dollar Universe 6.x and 7.x

Cause

Cause type:Configuration
Root Cause: The root cause is that the following is defined in nsswitch.conf
hosts: cluster files dns
Option files means it will look into/etc/hosts file to resolve the hostname.
Option dns means it will look into DNS server to resolve the hostname.

Resolution

Define the following in nsswitch.conf and make sure that the hostname used by Dollar Universe is defined in /etc/hosts
#################
hosts: files cluster dns
#################

That way Dollar Universe will be able to resolve the local hostname correctly