ORA-27101: shared memory realm does not exist

Oracle Error Tips by Burleson Consulting

Oracle docs note this about ORA-27101:

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

时间: 2024-10-14 23:18:54

ORA-27101: shared memory realm does not exist的相关文章

ORA-27101: shared memory realm does not exist 错误的处理

我试图连接数据库时的ORA-01034 和 ORA-27101错误信息,它总是显示这样的信息,“ORA-01034 - Oracle not available”和“ORA-27101 - shared memory realm does not exist”. 不能连接到我的Oracle 数据库上.因为碰到防火墙的问题次数比较多,这次也先看看,发现根本就没什么拦截的.查看了一下监听,数据库实例也是运行着的.奇怪的事情,刚才还好好的,重启了机器就不行了.上网找了找,问题就解决了. 解决的方法倒是

oracle连接数据库报错:ORA-01034: ORACLE not available(Oracle 不存在),ORA-27101: shared memory realm does not exist

花一天半的时间解决客户端连接服务端的oracle数据库,无法连接问题.ORA-01034: ORACLE not available(Oracle 不存在),ORA-27101: shared memory realm does not   exist 分析:前几天还可以连接数据库,但是昨天开始,本地无缘无故的不能连接服务端数据库.网上很多人说造成这个问题的原因是异常关机 ,数据库没有在关机之前关闭.我公司人说在前几天确实有人重启过电脑,就当是这个原因吧,有时间一定要把真正原因找出来. 下面主要

shared memory realm does not exist

1. 先描述一个连接Oracle 10g的错误:“shared memory realm does not exist” 如图所示Sqlplus连接时出现这个错误: 2. Oracle 服务器主要组件分析 下图所示为Oracle服务器主要组件:       如上图所示:Oracle服务器的组件结构,Oracle服务器可以看做由两部分组成:Oracle实例和Oracle数据库,上图被加粗直线分为两个部分,直线上半部分表示Oracle实例,而直线之下表示Oracle数据库.如Oracle Start

Oracle设置默认数据库,ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist

Oracle 设置默认数据库 如果我们的服务器上或者电脑上安装了多个数据库,当我们使用sqlplus时如果为指定数据库时登录到的是哪一个数据库呢?今天遇到了一个老问题: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist 以前也遇到过:根据网上的博文一步一步操作下就OK了,可是今天试了下不行,经过分析发现原来是我登录进入是另一个数据库,可如果每次都指定登录到那个数据库太麻烦了,就去查询了些资料

Oracle重启 error: ora-01034:oracle not available ora-27101:shared memory realm does not exist

error: ora-01034:oracle not available ora-27101:shared memory realm does not exist 苦咖啡 他的博客中一篇文章完美的解决了问题

oracle登录时shared memory realm does not exist的解决方法

解决办法:1.用CMD进入命令行2.sqlplus /nolog 3.conn / as sysdba4.startup 然后用sqlplus进入命令

ORA-27100 shared memory realm already exists错误解决方法

环境:win 2003   + oracle 10g win 2003服务器物理内存4G oracle10g SGA             1504M 事故背景: 调整SGA大小,因为OS的内存只有4G,建议SGA的大小不要超过60%,我调整为2G SQL> alter systemset sga_max_size=2000m scope=spfile; 重启数据库报错ORA-27100 shared memory realm already exists 分析原因:对于32位机器ORACLE

简单解决“ORA-27100: shared memory realm already exists”的问题

折腾Oracle时,出现了“ORA-27100: shared memory realm already exists”的问题.上网查问题根源,乃是32位机SGA及PGA不能大于1.7G之故. SGA的设置在SPFILEORCL.ORA里面,但该文件是一个二进制文件,不好随便编辑. 网上给的解决办法是用一个“正常的”PFILE启动Oracle,然后重新生成SPFILE,操作颇繁琐.其实SGA过大的问题也不难解决,不必用 “PFILE”那样曲折迂回的办法:用一个二进制编辑器打开SPFILEORCL

Insufficient space for shared memory file

linux下应用无故反应异常,登陆服务器查看发现: -bash-4.1$ jps Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:    /tmp/hsperfdata_kf01/4830 Try using the -Djava.io.tmpdir= option to select an alternate temp location. 4830 Jps -bash-4.