SP2-0642: SQL*Plus Internal Error State 2130 ORA-24315: Illegal Attribute Type (Doc ID 1060880.1)

Last updated on AUGUST 09, 2017

Applies to:

Oracle Net Services - Version 9.2.0.8.0 to 11.2.0.1 [Release 9.2 to 11.2]
SQL*Plus - Version 9.2.0.8 to 11.2.0.4 [Release 9.2 to 11.2]
Information in this document applies to any platform.

Symptoms

Unable to connect to SQL*Plus when using more than one tnsname entry in the tnsnames.ora file.

When trying to connect, the following errors are encountered:

SP2-0642: SQL*Plus internal error state 2130, context 0:0:0
Unsafe to proceed
ORA-24315: illegal attribute type


The connection works if the SID Name is used, but returns the above errors when using the Service Name.

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