My Oracle Support Banner

Connection Via Oracle Net Fails With Error ORA-21561: OID Generation Failed (Doc ID 559981.1)

Last updated on JANUARY 23, 2018

Applies to:

Oracle Net Services - Version to [Release 10.2 to 12.2]
Information in this document applies to any platform.


SQL*Plus connections from a remote client via the listener fail with the following error:

ORA-21561 : OID generation failed

-bash-2.05b$ sqlplus username/password@tns_connect_string

SQL*Plus: Release - Production on Fri Mar 7 16:15:10 2008

Copyright (c) 1982, 2006, Oracle. All Rights Reserved.

ORA-21561 : OID generation failed
Enter user-name: <username>/<password> @ <tns connect string>
Connected to:
Oracle Database 11g Enterprise Edition Release - 64bit Production
With the Partitioning and Data Mining options



It is likely that a recent upgrade has taken place.
This error is usually the result of a hostname (FQDN or shortname) resolution issue.


To view full details, 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 a vibrant support community of peers and Oracle experts.