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 AUTOMIC WORKLOAD AUTOMATION

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.

Cause

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

Environment

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

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