19c 节点2打补丁时遇到 oui-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 3502680
  • 博文数量: 718
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7790
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(718)

文章存档

2024年(4)

2023年(74)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客
相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: oracle

2021-04-08 18:55:05


linux7.7上 安装oracle rac 19.3,在节点2打数据库19.9补丁时遇到错误。

对gi打补丁
[root@host2 31720429]#  opatchauto apply /tmp/31720429/31750108

  1. opatchauto session is initiated at thu apr 8 17:31:37 2021

  2. system initialization log file is /u01/app/19c/grid/cfgtoollogs/opatchautodb/systemconfig2021-04-08_05-31-41pm.log.

  3. 会话日志文件是/u01/app/19c/grid/cfgtoollogs/opatchauto/opatchauto2021-04-08_05-32-12pm.log
  4. 此会话的 id 为 wxlv

  5. executing opatch prereq operations to verify patch applicability on home /u01/app/19c/grid
  6. patch applicability verified successfully on home /u01/app/19c/grid

  7. executing patch validation checks on home /u01/app/19c/grid
  8. patch validation checks successfully completed on home /u01/app/19c/grid

  9. performing prepatch operations on crs - bringing down crs service on home /u01/app/19c/grid
  10. prepatch operation log file location: /u01/app/grid/crsdata/host2/crsconfig/crs_prepatch_apply_inplace_host2_2021-04-08_05-32-54pm.log
  11. crs service brought down successfully on home /u01/app/19c/grid

  12. start applying binary patch on home /u01/app/19c/grid
  13. binary patch applied successfully on home /u01/app/19c/grid

  14. performing postpatch operations on crs - starting crs service on home /u01/app/19c/grid
  15. postpatch operation log file location: /u01/app/grid/crsdata/host2/crsconfig/crs_postpatch_apply_inplace_host2_2021-04-08_05-44-32pm.log
  16. crs service started successfully on home /u01/app/19c/grid


  17. opatchauto 成功。


  18. --------------------------------summary--------------------------------


  19. patching is completed successfully. please find the summary as follows:


  20. host:host2
  21. crs home:/u01/app/19c/grid
  22. version:19.0.0.0.0
  23. summary:


  24. ==following patches were successfully applied:


  25. patch: /tmp/31720429/31750108/31771877
  26. log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-04-08_17-35-39下午_1.log


  27. patch: /tmp/31720429/31750108/31772784
  28. log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-04-08_17-35-39下午_1.log


  29. patch: /tmp/31720429/31750108/31773437
  30. log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-04-08_17-35-39下午_1.log


  31. patch: /tmp/31720429/31750108/31780966
  32. log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-04-08_17-35-39下午_1.log



  33. opatchauto session completed at thu apr 8 17:49:40 2021
  34. time taken to complete the session 18 minutes, 4 seconds

按readme.html中说明执行opatchauto应该对grid和db都打上补丁呀,但是检查db没有打上,于是单独对db_home打补丁
[root@host2 31720429]# /u01/app/oracle/product/19c/db_1/opatch/opatchauto apply /tmp/31720429/31750108 -oh /u01/app/oracle/product/19c/db_1


  1. opatchauto session is initiated at thu apr 8 17:50:39 2021


  2. system initialization log file is /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatchautodb/systemconfig2021-04-08_05-50-46pm.log.


  3. 会话日志文件是/u01/app/oracle/product/19c/db_1/cfgtoollogs/opatchauto/opatchauto2021-04-08_05-51-05pm.log
  4. 此会话的 id 为 pvr4


  5. executing opatch prereq operations to verify patch applicability on home /u01/app/oracle/product/19c/db_1
  6. patch applicability verified successfully on home /u01/app/oracle/product/19c/db_1

  7. executing patch validation checks on home /u01/app/oracle/product/19c/db_1
  8. patch validation checks successfully completed on home /u01/app/oracle/product/19c/db_1

  9. verifying sql patch applicability on home /u01/app/oracle/product/19c/db_1
  10. no step execution required.........

  11. preparing to bring down database service on home /u01/app/oracle/product/19c/db_1
  12. no step execution required.........

  13. performing prepatch operation on home /u01/app/oracle/product/19c/db_1
  14. perpatch operation completed successfully on home /u01/app/oracle/product/19c/db_1

  15. start applying binary patch on home /u01/app/oracle/product/19c/db_1
  16. failed while applying binary patches on home /u01/app/oracle/product/19c/db_1


  17. 未能执行 [opatchautobinaryaction] 补丁程序操作, 有关详细信息, 请查看日志。故障:
  18. patch target : host2->/u01/app/oracle/product/19c/db_1 类型 [rac]
  19. details: [
  20. ---------------------------patching failed---------------------------------
  21. command execution failed during patching in home: /u01/app/oracle/product/19c/db_1, host: host2.
  22. command failed: /u01/app/oracle/product/19c/db_1/opatch/opatchauto apply /tmp/31720429/31750108 -oh /u01/app/oracle/product/19c/db_1 -target_type rac_database -binary -invptrloc /u01/app/oracle/product/19c/db_1/orainst.loc -jre /u01/app/oracle/product/19c/db_1/opatch/jre -persistresult /u01/app/oracle/product/19c/db_1/opatchautocfg/db/sessioninfo/sessionresult_host2_rac_2.ser -analyzedresult /u01/app/oracle/product/19c/db_1/opatchautocfg/db/sessioninfo/sessionresult_analyze_host2_rac_2.ser
  23. command failure output:
  24. ==following patches failed in apply:


  25. patch: /tmp/31720429/31750108/31771877
  26. log: /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2021-04-08_17-51-45下午_1.log
  27. reason: failed during patching: oracle.opatch.opatchsdk.opatchexception: applysession 在系统修改阶段失败... 'applysession::apply failed: java.io.ioexception: oracle.sysman.oui.patch.patchexception: java.io.filenotfoundexception: /u01/app/orainventory/contentsxml/oui-patch.xml (权限不够)'

  28. after fixing the cause of failure run opatchauto resume

  29. ]
  30. opatchauto-68061: 业务流程引擎失败。
  31. opatchauto-68061: 业务流程引擎失败, 返回代码为 1
  32. opatchauto-68061: 有关详细资料, 请查看日志。
  33. opatchauto 失败。


  34. opatchauto session completed at thu apr 8 17:55:39 2021
  35. time taken to complete the session 5 minutes, 0 second


  36.  opatchauto failed with error code 42

提示中oui-patch.xml (权限不够),具体检查一下权限与节点1不一样,这是bug导致的失败。

解决方法是:
1、复制节点1上的文件
 host1 $ cd $oracle_home/inventory/oneoffs
 host1 $ scp -r * host2:$pwd

2、修改权限
 host2 # chmod 660 /u01/app/orainventory/contentsxml/oui-patch.xml

3、重新执行打补丁命令

这是在打节点2的db补丁时遇到的问题,节点1却没事。

阅读(1281) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图