My Oracle Support Banner

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 04, 2022

Applies to:

PL/SQL - Version 10.2.0.4 and later
Information in this document applies to any platform.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.