Bo's Oracle Station

查看: 2328|回复: 0

课程第5次(2018-06-25星期一)

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2018-6-25 21:09:37 | 显示全部楼层 |阅读模式

OPatch:
  1. [oracle@station90 online]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch apply -connectString  orcl::: -connectString rcat:::
  2. Invoking OPatch 11.2.0.1.7

  3. Oracle 中间补丁程序安装程序版本 11.2.0.1.7
  4. 版权所有 (c) 2011, Oracle Corporation。保留所有权利。


  5. Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
  6. Central Inventory : /u01/app/oraInventory
  7.    from           : /etc/oraInst.loc
  8. OPatch version    : 11.2.0.1.7
  9. OUI version       : 11.2.0.3.0
  10. Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-07-21下午.log


  11. 补丁程序只应在 '-all_nodes' 模式下应用/回退。
  12. 将 RAC 模式转换为 '-all_nodes' 模式。
  13. Applying interim patch '13906496' to OH '/u01/app/oracle/product/11.2.0/dbhome_1'
  14. Verifying environment and performing prerequisite checks...

  15. 是否继续? [y|n]
  16. y
  17. User Responded with: Y
  18. All checks passed.
  19. Backing up files...

  20. 正在为组件 oracle.rdbms, 11.2.0.3.0 打补丁...
  21. The patch will be installed on active database instances.
  22. 正在数据库 'rcat' 上安装和启用联机补丁程序 'bug13906496.pch'。

  23. Patch 13906496 successfully applied
  24. Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-07-21下午.log

  25. OPatch succeeded.
  26. [oracle@station90 online]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch lsinventory
  27. Invoking OPatch 11.2.0.1.7

  28. Oracle 中间补丁程序安装程序版本 11.2.0.1.7
  29. 版权所有 (c) 2011, Oracle Corporation。保留所有权利。


  30. Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
  31. Central Inventory : /u01/app/oraInventory
  32.    from           : /etc/oraInst.loc
  33. OPatch version    : 11.2.0.1.7
  34. OUI version       : 11.2.0.3.0
  35. Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-07-46下午.log

  36. Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2018-06-25_21-07-46下午.txt

  37. --------------------------------------------------------------------------------
  38. 已安装的顶级产品 (1):

  39. Oracle Database 11g                                                  11.2.0.3.0
  40. 此 Oracle 主目录中已安装 1 个产品。


  41. 中间补丁程序 (1) :

  42. Patch (online) 13906496: applied on Mon Jun 25 21:07:27 CST 2018
  43. Unique Patch ID:  17324986
  44.    Created on 22 Jul 2014, 12:09:07 hrs PST8PDT
  45.    Bugs fixed:
  46.      13906496



  47. --------------------------------------------------------------------------------

  48. OPatch succeeded.
  49. [oracle@station90 online]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch rollback -i 13906496  -connectString  orcl::: -connectString rcat:::
  50. Invoking OPatch 11.2.0.1.7

  51. Oracle 中间补丁程序安装程序版本 11.2.0.1.7
  52. 版权所有 (c) 2011, Oracle Corporation。保留所有权利。

  53. 语法错误... Unrecognized Command or Option: failed to parse arguments "unknown option '-i'"
  54. Please use the option 'opatch rollback -help' to get correct syntax

  55. OPatch failed with error code 14
  56. [oracle@station90 online]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch rollback -id 13906496  -connectString  orcl::: -connectString rcat:::
  57. Invoking OPatch 11.2.0.1.7

  58. Oracle 中间补丁程序安装程序版本 11.2.0.1.7
  59. 版权所有 (c) 2011, Oracle Corporation。保留所有权利。


  60. Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
  61. Central Inventory : /u01/app/oraInventory
  62.    from           : /etc/oraInst.loc
  63. OPatch version    : 11.2.0.1.7
  64. OUI version       : 11.2.0.3.0
  65. Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-08-20下午.log

  66. RollbackSession 从 OH '/u01/app/oracle/product/11.2.0/dbhome_1' 回退中间补丁程序 '13906496'

  67. 补丁程序只应在 '-all_nodes' 模式下应用/回退。
  68. 将 RAC 模式转换为 '-all_nodes' 模式。

  69. 正在为组件 oracle.rdbms, 11.2.0.3.0 打补丁...
  70. The patch will be removed from active database instances.
  71. 正在数据库 'rcat' 上禁用和删除联机补丁程序 'bug13906496.pch'

  72. RollbackSession 从产品清单中删除中间补丁程序 '13906496'
  73. Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-08-20下午.log

  74. OPatch succeeded.
  75. [oracle@station90 online]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch lsinventory
  76. Invoking OPatch 11.2.0.1.7

  77. Oracle 中间补丁程序安装程序版本 11.2.0.1.7
  78. 版权所有 (c) 2011, Oracle Corporation。保留所有权利。


  79. Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
  80. Central Inventory : /u01/app/oraInventory
  81.    from           : /etc/oraInst.loc
  82. OPatch version    : 11.2.0.1.7
  83. OUI version       : 11.2.0.3.0
  84. Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-06-25_21-08-28下午.log

  85. Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2018-06-25_21-08-28下午.txt

  86. --------------------------------------------------------------------------------
  87. 已安装的顶级产品 (1):

  88. Oracle Database 11g                                                  11.2.0.3.0
  89. 此 Oracle 主目录中已安装 1 个产品。


  90. 此 Oracle 主目录中未安装任何中间补丁程序。


  91. --------------------------------------------------------------------------------

  92. OPatch succeeded.
  93. [oracle@station90 online]$
复制代码




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-18 13:54 , Processed in 0.101789 second(s), 24 queries .

快速回复 返回顶部 返回列表