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

Last updated on MARCH 23, 2017

Applies to:

Oracle Net Services - Version to [Release 11.2]
Oracle Net Services - Version to [Release 10.2 to 11.2]
Oracle Net Services - Version 12.2 BETA1 to 12.2 BETA1 [Release 12.2]
Information in this document applies to any platform.
***Checked for relevance on 30-APR-2013***


 After upgrading to version 10.2.0.x, SQL*Plus connections 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 10g Enterprise Edition Release - 64bit Production
With the Partitioning and Data Mining options



It is likely that a recent upgrade to 10.2.0.x or newer has taken place.


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