DUAS cannot connect to UVMS u_retrieve_ipaddress_from u_gethostbyname_mf Unknown host
search cancel

DUAS cannot connect to UVMS u_retrieve_ipaddress_from u_gethostbyname_mf Unknown host

book

Article ID: 371476

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The connection to UVMS fails. The file universe.log fills up with the following message:

|ERROR|X|IO |pid=p.t| u_retrieve_ipaddress_from | u_gethostbyname_mf(uvms_hostname) returns error: Unknown host (gethostbyname_r(uvms_hostname) returns -1) 

 

The DNS resolution of the UVMS by the command 'host' or 'nslookup' works and returns the correct IP address.

 

If you have the following, similar error with return code 0 instead of -1, please check this article:

|ERROR|X|IO |pid=p.t| u_retrieve_ipaddress_from | u_gethostbyname_mf(uvms_hostname) returns error: Unknown host (gethostbyname_r(uvms_hostname) returns 0) 

Cause

The command gethostbyname_r fails due to a configuration issue.

Resolution

Make sure that the required files /etc/hosts, /etc/resolv.conf and /etc/netsvc.conf/ are accessible by the DollarUniverse user.