ORA-27101 shared memory realm does not exist

记录一个报错

                                                           ORA-27101  shared memory realm does not exist 

   在搭建ADG的时候报错

ORA-27101  shared memory realm does not exist 

产生原因: 做ADG备库,最开始的时候正常启动,后来正常关库后,连接不上
现象:
用rman target sys/xx@primary auxiliary sys/xx@standby能正常连上状态是 mount, sqlplus / as sysdba 连接上就 nomount, 然后我就关了,再sqlplus / as sysdba 连启动到mount状态,用rman target sys/xx@primary auxiliary sys/xx@standby 就是未启动状态,最后我怀疑是实例名写错了,就用rman target sys/xx@standby 启动一下,sqlplus / as sysdba 启动一下,发现两个都起来了
 
 
内存使用情况

解决办法,.bash_profile文件是不是字符集设置了本地字符集

取消所有字符集的设置,保留一个和数据库一致的字符集

重新生效.bash_profile 文件,解决问题

原文地址:https://www.cnblogs.com/dqliuq1215/p/14283801.html