My Oracle Support Banner

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 to [Release 9.2 to 11.2]
SQL*Plus - Version to [Release 9.2 to 11.2]
Information in this document applies to any platform.


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.


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.