首页 > 其他分享 >opatch auto 单独安装DB的PSU时,提示 apply failed

opatch auto 单独安装DB的PSU时,提示 apply failed

时间:2022-08-15 21:23:00浏览次数:83  
标签:dbhome product auto app DB 0.4 11.2 failed u01

一套测试环境,GI是19c,而DB是11.2.0.4,打算针对DB安装最新的PSU时。使用opatch auto方式报错。

[root@19cracdg1 software]# /u01/app/oracle/product/11.2.0.4/dbhome_1/OPatch/opatch auto /software/31718723 -oh /u01/app/oracle/product/11.2.0.4/dbhome_1
Executing /u01/app/19.0.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0.4/dbhome_1/OPatch/crs/patchDB.pl -patchdir /software -patchn 31718723 -oh /u01/app/oracle/product/11.2.0.4/dbhome_1

This is the main log file: /u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/opatchauto2022-08-15_20-03-28.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/opatchauto2022-08-15_20-03-28.report.log

Stopping RAC /u01/app/oracle/product/11.2.0.4/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0.4/dbhome_1 successfully

patch /software/31718723/29938455/custom/server/29938455  apply successful for home  /u01/app/oracle/product/11.2.0.4/dbhome_1
ERROR: patch /software/31718723/31537677  apply failed  for home  /u01/app/oracle/product/11.2.0.4/dbhome_1

Starting RAC /u01/app/oracle/product/11.2.0.4/dbhome_1 ...
ERROR: Failed to start resources from  database home /u01/app/oracle/product/11.2.0.4/dbhome_1
ERROR: ERROR: Refer log file for more details.


opatch auto failed.
[root@19cracdg1 software]#

 

1、查看opatch的日志,有如下报错:

Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0.4/dbhome_1'
You must apply the patch with the install user
Command invocation returned Error... '', Return Code = 1
Execution of PRE script failed, with return value = 1

Do you want to proceed? [y|n]
N (auto-answered by -silent)
User Responded with: N
ApplySession failed in system modification phase... 'Execution of PRE script failed, with return value = 1'

日志中提示,需要将软件的安装用户来应用这个补丁。。。

 

2、手动安装补丁。手动使用分解后的步骤安装这个PSU,一切顺利。说明就是opatch auto方式存在问题。

 

3、搜索MOS,找到文章《opatch auto Fails to Apply DBPSU With Error OUI-67133:Execution of PRE script failed and OUI-67124:ApplySession failed in system modification phase (Doc ID 2468874.1)》。

 

4、为了验证就是这个问题,将已经安装好的PSU rollback掉。根据文章中的workaround,再次使用opatch auto方式安装 DB的PSU,此时不再报错。

 

标签:dbhome,product,auto,app,DB,0.4,11.2,failed,u01
From: https://www.cnblogs.com/missyou-shiyh/p/16589660.html

相关文章

  • 新建db_prop_channel库,执行以下语句
    数据库名称:db_prop_channel表名中文名说明Req_tgkh_dbf投顾开户请求表对应中登请求协议Req_tgkh_tmp_zwj投顾开户请求主文件表Rep_tgkh_dbf投顾开户......
  • autodl-配置图神经网络环境4
    pipinstalltorch-scatter-fhttps://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.htmlpipinstalltorch-sparse-fhttps://pytorch-geometric.com/whl/torch-......
  • DBPack 限流熔断功能发布说明
    上周我们发布了v0.4.0版本,增加了限流熔断功能,现对这两个功能做如下说明。限流DBPack限流熔断功能通过filter实现。要设置限流规则,首先要定义RateLimitFilter:-......
  • autodl3-配置深度学习环境
    1.激活conda在jupyterlab终端输入vim ~/.bashrc  首先输入i,进入编辑模式在最后加上路径:(minconda路径)   按esc:wq保存退出    刷新    ---......
  • autodl-使用2配置环境
    1.安装pytorch  StartLocally|PyTorch   进入虚拟环境   ......
  • Failed to list *v1.CronJob: the server could not find the requested resource
    基础环境kubectlversionClientVersion:version.Info{Major:"1",Minor:"20",GitVersion:"v1.20.7",GitCommit:"132a687512d7fb058d0f5890f07d4121b3f0a2e2",GitTre......
  • QGIS | 解决打开ESRI *.mdb数据报错的问题
    QGIS|解决打开ESRI*.mdb数据报错的问题 有些朋友在使用QGIS打开ESRI的*.mdb数据时,会报错:“InvalidDataSource:PGeo:D:\MyData\arcgistutorialdata\ArcTutor\Da......
  • docker MongoDB
    dockerpullmongodockerrun--namemongo--restart=always-p27017:27017-v/mnt/mongodb/data:/data/mongo/db-v/mnt/mongodb/backup:/data/mongo/backup-v/m......
  • 【WPF】TextBox 、PasswordBox水印效果
    两种方式可以实现TextBox的水印效果1、行为,详细请看2、样式,下面主要介绍样式现实水印效果。效果如下:   xaml完整代码<Windowx:Class="WpfApp05.MainWindow"......
  • App测试时常用的adb命令你都掌握了哪些呢?
    本次训练营开营时间:8月7日14:00-17:00名额有限,扫码即可锁定听课名额adb全称为AndroidDebugBridge(Android调试桥),是AndroidSDK中提供的用于管理Android模拟......