日期:2014-05-16  浏览次数:20931 次

shared memory realm does not exist
机子上装了2个数据库orcl,B,后来把B数据库给删了,结果登录SQL*PLUS,conn system/psw,可以连接上,但是转换用户时就出现shared memory realm does not exist。感觉删除数据库时没有关闭B数据库所致。该怎么解决?
---------------------------------
连接到: 
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show user
USER 为 "SYSTEM"
SQL> conn scott/owen
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist


------解决方案--------------------
数据库安装2个?不太理解,是安装了2个数据库?还是数据库的2个实例?

不过看你的错误,是你的数据库实例没有启动造成的
------解决方案--------------------
show parameter instance_name

看一下你连的是哪个实例, orcl 还是 b 的
------解决方案--------------------
你的ORCLE_SID设置了没有
我不知道你是怎删数据库的