当SID=racdb时 当sys system 分别 报错 ORA-27101: shared memory realm does not exist

简介: <div id="content" class="bigfont mycontent" style="zoom:1; line-height:23px; font-size:14px; margin:18px 28px; font-family:'lucida Grande',Verdana,'Microsoft YaHei'; clear:both; min-height:200px;
一、     system用户
[oracle@t1 ~]$ sqlplus system/manager@racdb1

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 2 15:07:29 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

SQL> conn strmadmin/strmadmin
ERROR:
ORA- 01034: ORACLE not available
ORA- 27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory


Warning: You are no longer connected to ORACLE.
SQL> ho 
[oracle@t1 ~]$ env | grep ORA
ORACLE_SID=racdb
ORACLE_BASE=/u1/oracle
ORACLE_HOME=/u1/oracle/product/10.2.0/db_1

bash: exot: command not found


二、     sys用户
[oracle@t1 ~]$ sqlplus sys/sys@racdb1 as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 2 15:08:49 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

SQL> conn strmadmin/strmadmin
ERROR:
ORA- 01034: ORACLE not available
ORA- 27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory


Warning: You are no longer connected to ORACLE.


SQL> conn strmadmin/strmadmin
ERROR:
ORA- 01034: ORACLE not available
ORA- 27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory


Warning: You are no longer connected to ORACLE.
SQL> conn strmadmin/strmadmin
ERROR:
ORA- 01034: ORACLE not available
ORA- 27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory


SQL> show user
USER is ""
SQL> exit
上面这种方法  
可以这样解决不
1
export ORACLE_SID=racdb
sqlplus system/manager@racdb1
报错


[oracle@t1 ~]$ export ORACLE_SID=racdb1
dba
conn strmadmin/strmadmin
不报错

目录
相关文章
|
Oracle 关系型数据库 数据库
Oracle 报错:exceeded simultaneous SESSIONS_PER_USER limit
Oracle 报错:exceeded simultaneous SESSIONS_PER_USER limit
Oracle 报错:exceeded simultaneous SESSIONS_PER_USER limit
|
Oracle 关系型数据库 数据库
ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist的原因分析
        今天突然接到同事电话,说oracle数据库连接不上了,我远程过去用pl/sql developer登录,提示ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist.意思是oracle无法使用,共享内存领域不存在。
2336 0
|
关系型数据库 Oracle
ORACLE报错:enviroment variable ORACLE_SID not defined,please define int
版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396667 ...
1021 0
|
Oracle 安全 关系型数据库
su - oracle报错su: cannot set user id: Resource temporarily unavailable
今天上线服务器连接数较多,我们知道ORACLE是多进程数据库,那么一个session 往往对应了一个OS的process,今天使用root进行切换的时候居然报错。 在测试上模拟再现 [root@testmy proc]# su - oracle su: can...
1890 0