Solved – Why did I get ORA-27101 Shared Memory Realm does not exist?

When trying to connect to the database using sqlplus, I am getting the “ORA-27101 Shared Memory Realm does not exist” error. What is the cause and how do I resolve this?

The following error is returned when invoking sqlplus.

    $SQL*Plus: Release 12.1.2 – Production on Mon May 10 21:32:30 2015

    Copyright (c) 1982, 2015, Oracle. All rights reserved.

    Enter user-name: vst_dba
    Enter password:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist


According to the lookup from oerr, this could be due to:

    27101, 00000, “shared memory realm does not exist”
    Unable to locate shared memory realm
    Verify that the realm is accessible

This is usually due to an invalid ORACLE_HOME or ORACLE_SID varaible set at the OS level.


First verify that the database that you are trying to connect to is up and running.

    $ps -ef|grep smon
    oracle 43526 1 0 21:13 ? 00:00:00 ora_smon_EQ1

Next check the environment value for the ORACLE_HOME and ORACLE_SID.

    $echo $ORACLE_SID
    $echo $ORACLE_HOME

Since the ORACLE_SID value is incorrect export the correct value and try connecting again.

    $export ORACLE_SID=EQ2

Then invoke sqlplus

    SQL*Plus: Release 12.1.2 – Production on Mon May 10 21:42:11 2015

    Copyright (c) 1982, 2015, Oracle. All rights reserved.

    Enter user-name: vst_dba
    Enter password:

Issue resolved.

Related OraTips

What is the purpose of the NOFILENAMECHECK parameter? Learn why the NOFILENAMECHECK parameter is used.

ORA-27054: NFS file system not mounted with correct options – For the about a week I have been getting an “ORA-27054: NFS file system not mounted with correct options” error when running an RMAN backup to a NFS mount point. The system administrator has not been successful in identifying the cause as it shows that the correct mount point options are being used. Metalink Doc […]

Other Articles

Setting up Oracle 12c Active Data Guard Database In the Multitenant world, the PDB Database is considered an independent database but the operational tasks performed at the CDB level effect all the PDB databases plugged into it. The task of setting up of a Data Guard, switching or failing over are all performed at the CDB level. When the Data Guard is initially setup, with the CDB database, all PDB’s are also replicated to the target. Read more here.

Oracle 12c Database: What is Oracle 12c? There has been a lot of buzz recently about Oracle 12c. Everyone in any way related to Oracle technologies, really want to know what Oracle 12c is and why it is important. Well, simply put it is the next generation naming convention for all Oracle products. Learn more about it here.

Note: This Oracle documentation was created for reference for use by Vitalsofttech DBA’s. If you have any questions please post by clicking on the ASK A QUESTION link above.

Top IT Courses- Oracle SQLStep by Step SQL

Leave a Reply

Your email address will not be published.