Ora-29257 When Trying to Use UTL_INADDR to Get IP Address or Host Name of a Server (Doc ID 1270653.1)

Last updated on MARCH 05, 2013

Applies to:

PL/SQL - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 05-Mar-2013***

Symptoms

When using either the get_host_address() or get_host_name() function of the UTL_INADDR package to get host information, you receive an ORA-29257 error much like below:

ORA-29257: host SOMEHOST unknown
ORA-06512: at "SYS.UTL_INADDR", line 19
ORA-06512: at "SYS.UTL_INADDR", line 40

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms