My Oracle Support Banner

OUD / Oracle Net Services: Error "TNS-03505: Failed to resolve name" when Running "tnsping <ALIAS_NAME>" (Doc ID 2126333.1)

Last updated on APRIL 14, 2022

Applies to:

Oracle Net Services - Version and later
Oracle Unified Directory - Version and later
Information in this document applies to any platform.


Using Oracle Net Manager on Oracle 12c client side to manage the Oracle Net Service, and there is no problem with Oracle Net Manager but the Oracle client cannot get alias name. The Database Net Services Entry is stored in OUD.

Error output "TNS-03505: Failed to resolve name" when running tnsping <ALIAS_NAME>

OUD log shows entry found (with nentries=1) -

[15/Mar/2016:10:26:29 -0400] SEARCH REQ conn=0 op=1 msgID=2 base="cn=<ALIAS_NAME>,cn=OracleContext,<SUFFIX_DN>" scope=base filter="(objectclass=*)" attrs="objectclass,orclNetDescString,orclNetDescName,orclVersion"
[15/Mar/2016:10:26:29 -0400] SEARCH RES conn=0 op=1 msgID=2 result=0 nentries=1 etime=31






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

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