Agent Unix crashes with error message U02003041 Invalid 'gethostbyname' call, file name. Error code: ('1' - 'HOST_NOT_FOUND')
search cancel

Agent Unix crashes with error message U02003041 Invalid 'gethostbyname' call, file name. Error code: ('1' - 'HOST_NOT_FOUND')

book

Article ID: 87325

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U02003041 Invalid 'gethostbyname' call, file name 'ip-'. Error code: ('1' - 'HOST_NOT_FOUND')

Right after startup, Unix / Linux agent throws a "U02003041 Invalid 'gethostbyname' call, file name. Error code: ('1' - 'HOST_NOT_FOUND')" error message and ends abnormally.

Environment

OS: All Linux/Unix
OS Version: N/A

Cause

Cause type:
Other
Root Cause: The agent is failing to get the hostname of the host it's running on.

Resolution

Add the agent's host name and IP to /etc/hosts, then restart the agent.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
N/A