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 11.2.0.4 to 11.2.0.4 [Release 11.2]
Oracle Net Services - Version 10.2.0.2 to 11.2.0.3 [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***


Symptoms

 After upgrading to version 10.2.0.x, SQL*Plus connections fail with the following error:

ORA-21561 : OID generation failed

e.g.
-bash-2.05b$ sqlplus username/password@tns_connect_string

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

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

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

SQL>

Changes

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

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