SP2-1503 and SP2-0152 error while connect sqlplus in oracle

SP2-1503: Unable to initialize Oracle call interface

SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly

Error
Get the following error in window environment during sqlplus connectivity.

sqlplus / as sysdba
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly

Solution:
Set the Environment variable at session level open cmd or command prompt

Set oracle_sid=orcl
set oracle_home=D:\oracle\product\10.2.0\db_1
set path=D:\oracle\product\10.2.0\db_1\bin
sqlplus / as sysdba

Please check it now after setting environment variable.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.