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

  • 相关阅读:
    Kotlin泛型与协变及逆变原理剖析
    struts2中action的class属性值意义
    重新设置Eclipse的workspace路径
    windows下将mysql加入环境变量
    Eclipse插件安装4种方法
    Maven常用命令
    IntelliJ IDEA光标变粗 backspace无法删除内容解决方法
    Weblogic Exception in AppMerge flows' progression
    Oracle的dual
    lgp20151222 解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.
  • 原文地址:https://www.cnblogs.com/karmapeng/p/4451777.html
Copyright © 2011-2022 走看看