zoukankan      html  css  js  c++  java
  • ORA-27101: shared memory realm does not exist

    Oracle Error Tips by Burleson Consulting

     

    Oracle docs note this about ORA-27101:

    ORA-27101: shared memory realm does not exist

        Cause: Unable to locate shared memory realm

        Action: Verify that the realm is accessible

    The solution in Windows may be to start the Windows services.

    MOSC offers valuable information regarding ORA-27101. ORA-27101 is often thrown along with ORA-01034 during database installation.  ORA-27101 is also seen after

    installation is complete, when attempting to use SQL*Plus.

    To resolve this issue with ORA-27101, you should be sure that ORACLE_HOME and ORACLE_SID are correct, and ORACLE_HOME should not have trailing slash.

    For checking on trailing trash:

        $ echo $ORACLE_HOME
        $ /app/oracle/817/ << Incorrect

        $ echo $ORACLE_HOME
        $ /app/oracle/817 << Correct

    For ORACLE_SID:

        $ echo $ORACLE_SID
        $ ora817

        $ ps -ef | grep smon
        ora_smon_ORA817

    (Here, ORACLE_SID setting has been altered from ora817 to ORA817.)

    Basically, to resolve ORA-27101, Once ORACLE_HOME and ORACLE_SID are correct, and then attempt to start SQL*Plus.

    Question:

    I keep receiving ORA-27101 with ORA-01034 after I tried installing the Oracle XE on Windows XP.  Unfortunately, when I connect to the database, ORA-27101 is thrown

    instead.  Any help?

    Answer:

    ORA-27101 may indicate that the system was not able to find the shared memory realm.  So, you could be receiving ORA-27101 because you tried to modify the database

    parameters such as SGA size.  If this is something that you have done and feel this is why you are encountering ORA-27101, you can try to bring back the original

    parameters.  Another cause of ORA-27101 is that the instance pointer, or ORACLE_SID, may be gone.  If this is the case, to resolve ORA-27101 you should first try

    looking for ORACLE_SID. There are several different methods depending on what server you are using:

        For Unix- try using "echo $ORACLE_SID"
        For Windows- right click on My Computer?properties?Advance Tab?Environment Variable.  You can view here where or not ORACLE_SID is defined.

    If you find in either cases that ORACLE_SID is blank or undefined, this may be the cause of ORA_27101.  You can then set the ORACLE_SID appropriate for the database to

    resolve ORA-27101.

    Reader Comments:

        "After running Oracle 11 flawlessly for quite some time, this error suddenly arose in my environment this morning.  After about 5 hours of debugging, and know that

    nothing new had been installed and configured on my Oracle server, I discovered that this was occurring because my Windows Event Log was full.

        Apparently, if the Windows Event Log is full, then Oracle cannot attach to the shared memory realm properly during startup and you'll then get this error when

    attempting to login as any user.

        After cleaning out my various event logs, Oracle is now working properly again."

        -Doug

  • 相关阅读:
    我不想写题解的题们
    [清华集训2012]模积和
    2013杭电warm up1 Rotation Lock Puzzle
    2013杭电warm_up1 1010 Difference Between Primes
    2013 Multi-University Training Contest 3 (g) The Unsolvable Problem
    2013杭电warm up1 1002 Pet 求树结点的高度
    hdu 3789 奥运排序问题 模拟
    13杭电warmup1 1001 Children's Day
    2013杭州网络预选赛 1004 Save Labman No.004 求异面直线之间距离
    2013成都网络预选赛 1010 A Bit Fun
  • 原文地址:https://www.cnblogs.com/karmapeng/p/4451777.html
Copyright © 2011-2022 走看看