有一个RAC问题
2015-10-12 11:01
337 查看
问题描述:
节点一:
节点二:
明明是第二个节点,应该是orcl2,为嘛要打开1的参数文件。
解决:
这样确实搞定了,但是为什么呢?查看配置文件,发现,原来是前面设置的时候我偷懒,两个节点参数文件相同,没有修改节点2的配置文件,所以,细心,需要时刻。
节点一:
SQL> select open_mode from gv$database; OPEN_MODE -------------------- READ WRITE READ WRITE
节点二:
Connected to an idle instance. SQL> SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl1.ora'
明明是第二个节点,应该是orcl2,为嘛要打开1的参数文件。
解决:
[oracle@lmrac2 ~]$ export ORACLE_SID=orcl2 [oracle@lmrac2 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon Oct 12 02:57:49 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options
这样确实搞定了,但是为什么呢?查看配置文件,发现,原来是前面设置的时候我偷懒,两个节点参数文件相同,没有修改节点2的配置文件,所以,细心,需要时刻。
export ORACLE_SID=orcl1
相关文章推荐
- eclipse打签名apk时出现GC limit error
- C#编程自学之数据类型和变量三
- 【Java】抽象工厂模式
- java 中split()方法使用注意
- Linux 下 YUM 安装 PHP 5.5
- ABAP 指针 FIELD-SYMBOLS
- Android bitmap.h is not found for native code compile
- GIT和SVN之间的五个基本区别
- djc xhs
- 电路入门小常识:电路常识性概念——输入、输出阻抗
- 关于ARP欺骗与MITM(中间人攻击)的一些笔记(一)
- Requesting Permissions at Run Time
- Maven学习笔记3-生命周期与插件
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- CocoaLumberjack——带颜色的Log
- win7一激活就蓝屏
- MFC一个工程添加多个项目
- Loadrunner:安装LR11.0破解步骤及License
- Git 学习笔记--删除错误提交的commit
- HDU_5500 Reorder the Books