Oracle Online Patching报错"This is not a RAC setup. OPatch cannot determine the local node name"
Oracle Online Patching报错"This is not a RAC setup. OPatch cannot determine the local node name"
问题描述
Oracle 11.2.0.4.0有一个BUG为
Bug 18034737 - Tracefiles from wxxx space management slave processes after upgrade to 11.2.0.4 (Doc ID 18034737.8)。
具体会一直产生trc文件,文件内容重复报错以下信息:
- Segment does not exist or being held by someone else
对该bug可以忽略或打上对应的补丁。
由于BUG的补丁包可以在线打,当你online对所有节点打的时候
- opatch apply online -connectString <SID_Node1>:<Username_Node1>:<Password_Node1>:<Node1_Name>,<SID_Node2>:<Username_Node2>:<Password_Node2>:<Node2_Name>,<SID_NodeN>:<Username_NodeN>:<Password_NodeN>:<NodeN_Name>
会报错如下信息:
- This is not a RAC setup. OPatch cannot determine the local node name,
- but the value to "connectString" option has the node name.
- Please remove the node name if only local node is being patched.
- See help file for more details about "connectString" option.
解决方法
上网搜索报错信息目前是搜索不到的,但是opatch的写法是按照readme的规则来,没有任何问题。
于是从mos上边搜索,有这样两篇文档:
Fail to apply online patch to remote node with OPatch 12.2.0.1.14 (Doc ID 2433910.1)
OPatch: Behavior Changes starting in OPatch 12.2.0.1.9 and 11.2.0.3.16 releases (Doc ID 2232156.1)
根据Doc ID 2232156.1(从12.2.0.1.9版开始),当使用“ opatch apply”在RAC集群的RAC节点上应用补丁时,它将仅对本地节点应用补丁。群集中的其他节点。因此对于在线修补程序,如果在“ -connectString”中指定了远程节点,则OPatch命令将失败。
注意:
将在线修补程序应用于11.2时,在OPatch 11.2.0.3.16或更高版本上也会发生此问题。
请使用上面的apply / rollback命令来避免这种错误。
因此,这是一个由于OPatch版本问题必定发生的报错。我的OPatch版本是11.2.0.3.21因此对所有节点online patch的时候也会有这个错误。
由于无法对所有节点同时在线打补丁,因此只能一个节点一个节点的打,就没再次报错了。
- opatch apply online -connectString <SID>:<USERNAME>:<PASSWORD>:
过程
- [oracle@dev-rac01 18034737]$ opatch apply online -connectStringqadb1:sys:qadbsys:dev-rac01,qadb2:sys:qadbsys:dev-rac02
- Oracle Interim Patch Installer version 11.2.0.3.21
- Copyright (c) 2020, Oracle Corporation. All rights reserved.
- Syntax Error... Unrecognized Command or Option: failed to parse arguments "unknown option '-connectStringqadb1:sys:qadbsys:dev-rac01,qadb2:sys:qadbsys:dev-rac02'"
- Please use the option 'opatch apply -help' to get correct syntax
- OPatch failed with error code 14
- [oracle@dev-rac01 18034737]$ opatch apply online -connectString qadb1:sys:qadbsys:dev-rac01,qadb2:sys:qadbsys:dev-rac02
- Oracle Interim Patch Installer version 11.2.0.3.21
- Copyright (c) 2020, Oracle Corporation. All rights reserved.
- Oracle Home : /u01/app/oracle/product/11.2.0/db_1
- Central Inventory : /u01/app/oraInventory
- from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
- OPatch version : 11.2.0.3.21
- OUI version : 11.2.0.4.0
- Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-05-10_13-22-40PM_1.log
- Verifying environment and performing prerequisite checks...
- This is not a RAC setup. OPatch cannot determine the local node name,
- but the value to "connectString" option has the node name.
- Please remove the node name if only local node is being patched.
- See help file for more details about "connectString" option.
- UtilSession failed: Invalid values specified.
- Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-05-10_13-22-40PM_1.log
- OPatch failed with error code 73
改为单个节点打:
- opatch apply online -connectString qadb1:sys:qadbsys:
- [oracle@dev-rac01 18034737]$ opatch apply online -connectString qadb1:sys:qadbsys:
- Oracle Interim Patch Installer version 11.2.0.3.21
- Copyright (c) 2020, Oracle Corporation. All rights reserved.
- Oracle Home : /u01/app/oracle/product/11.2.0/db_1
- Central Inventory : /u01/app/oraInventory
- from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
- OPatch version : 11.2.0.3.21
- OUI version : 11.2.0.4.0
- Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-05-10_13-39-19PM_1.log
- Verifying environment and performing prerequisite checks...
- OPatch continues with these patches: 18034737
- Do you want to proceed? [y|n]
- y
- User Responded with: Y
- All checks passed.
- Provide your email address to be informed of security issues, install and
- initiate Oracle Configuration Manager. Easier for you if you use your My
- Oracle Support Email address/User Name.
- Visit http://www.oracle.com/support/policies.html for details.
- Email address/User Name:
- You have not provided an email address for notification of security issues.
- Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
- Backing up files...
- The patch should be applied/rolled back in '-all_nodes' mode only.
- Converting the RAC mode to '-all_nodes' mode.
- Applying interim patch '' to OH '/u01/app/oracle/product/11.2.0/db_1'
- Patching component oracle.rdbms, 11.2.0.4.0...
- Installing and enabling the online patch 'bug18034737.pch', on database 'qadb1'.
- Patch 18034737 successfully applied.
- Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-05-10_13-39-19PM_1.log
- OPatch succeeded.
之后对其他节点用同样的方法打上即可。
Oracle Online Patching报错"This is not a RAC setup. OPatch cannot determine the local node name"的更多相关文章
- 安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined
安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined 出现这种错误是因为主机名和/etc/host ...
- [转]ORACLE 11G 导出报错(EXP-00003)未找到段 (0,0) 的存储定义
http://blog.csdn.net/qq_19524879/article/details/51313205 ORACLE 11G 导出报错(EXP-00003)未找到段 (0,0) 的存储定义 ...
- Oracle Client安装报错
Oracle Client安装报错:引用数据不可用于验证此操作系统分发的先决条件 http://tunps.com/p/11797.html 原因是Oracle Client 11g版本不支持最新的W ...
- 报错:ERROR! The server quit without updating PID file (/usr/local/var/mysql/chenyuntekiMacBook-Air.local.pid).
在Mac上通过brew install mysql 安装了完mysql 执行mysql.server start 报错:ERROR! The server quit without updating ...
- Oracle创建dblink报错:ORA-01017、ORA-02063解决
Oracle环境:oracle 10.2.0.1 创建的 public dblink 连接oracle 11.2.0.3 ORA-01017: invalid username/password; l ...
- Oracle 12.2报错ORA-15032、ORA-15410或ORA-15411解决
现象:在Oracle 12.2.0.1 RAC环境,在其ASM实例中,如果添加不同大小或者不同数量的LUN到failgroup中,会报错: ORA-15032: not all alterations ...
- 修改oracle数据库内存报错
今天修改oracle数据库内存时, alter system set memory_max_target=10240M scope=spfile;语句正确修改:但重启时却报错 : SQL> al ...
- Oracle 12.2 报错:ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_7458"
alert报错 2019-01-12T10:10:11.499130+08:00Errors in file /u01/app/oracle/diag/rdbms/rac1/rac112/trace/ ...
- Oracle安装出现报错
报错信息如下: >>> Couldnot execute auto check for display colors using command /usr/bin/xdpyinfo. ...
随机推荐
- Java实现 蓝桥杯VIP 算法提高 彩票
算法提高 彩票 时间限制:1.0s 内存限制:256.0MB 问题描述 为丰富男生节活动,贵系女生设置彩票抽奖环节,规则如下: 1.每张彩票上印有7个各不相同的号码,且这些号码的取值范围为[1, 33 ...
- java实现连续数的公倍数
为什么1小时有60分钟,而不是100分钟呢?这是历史上的习惯导致. 但也并非纯粹的偶然:60是个优秀的数字,它的因子比较多. 事实上,它是1至6的每个数字的倍数.即1,2,3,4,5,6都是可以除尽6 ...
- java实现迷宫走法
** 迷宫走法** 迷宫问题 对于走迷宫,人们提出过很多计算机上的解法.深度优先搜索.广度优先搜索是使用最广的方法.生活中,人们更愿意使用"紧贴墙壁,靠右行走"的简单规则. 下面的 ...
- Java实现第九届蓝桥杯小朋友崇拜圈
小朋友崇拜圈 题目描述 班里N个小朋友,每个人都有自己最崇拜的一个小朋友(也可以是自己). 在一个游戏中,需要小朋友坐一个圈, 每个小朋友都有自己最崇拜的小朋友在他的右手边. 求满足条件的圈最大多少人 ...
- java代码(13) ---Predicate详解
Predicate详解 遇到Predicate是自己在自定义Mybatis拦截器的时候,在拦截器中我们是通过反射机制获取对象的所有属性,在查看这些属性上是否有我们自定义的UUID注解 如果有该注解,那 ...
- PAT 锤子剪刀布
大家应该都会玩“锤子剪刀布”的游戏:两人同时给出手势,胜负规则如图所示: 现给出两人的交锋记录,请统计双方的胜.平.负次数,并且给出双方分别出什么手势的胜算最大. 输入格式: 输入第 1 行给出正整数 ...
- Python中的三种等待时间
一.强制等待 不论页面是否加载完成,都要等待指定时间才能执行下一步, 单位秒,time.sleep(5) import time time.sleep(10) # 强制等待10秒时间 二.隐式等待( ...
- 数据的存储结构浅析LSM-Tree和B-tree
目录 顺序存储与哈希索引 SSTable和LSM tree B-Tree 存储结构的比对 小结 本篇主要讨论的是不同存储结构(主要是LSM-tree和B-tree),它们应对的不同场景,所采用的底层存 ...
- Linux的文件系统及文件缓存知识点整理
Linux的文件系统 文件系统的特点 文件系统要有严格的组织形式,使得文件能够以块为单位进行存储. 文件系统中也要有索引区,用来方便查找一个文件分成的多个块都存放在了什么位置. 如果文件系统中有的文件 ...
- 区分http请求状态码来理解缓存(协商缓存和强制缓存)
什么是http缓存呢,当我们使用chrome浏览器,按F12打开控制台,在网络请求中有时候看到状态码是200,有时候状态码是304,当我们去看这种请求的时候,我们会发现状态码为304的状态结果是:St ...