重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 41|回复: 0

[补丁] 应用psu补丁报Error : The opatch Applicable check failed.错误

[复制链接]
发表于 2020-5-20 17:39:24 | 显示全部楼层 |阅读模式
本帖最后由 jiawang 于 2020-5-20 17:42 编辑

应用psu包报错如下:
[root@strong setup]#/u01/app/grid/product/11.2.0/grid/OPatch/opatch auto /setup/30805461/
Executing/u01/app/grid/product/11.2.0/grid/perl/bin/perl /u01/app/grid/product/11.2.0/grid/OPatch/crs/patch11203.pl-patchdir /setup -patchn 30805461 -paramfile/u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
This is the main log file:/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2020-05-13_14-13-58.log
This file will show your detectedconfiguration and all the steps that opatchauto attempted to do on your system:
/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2020-05-13_14-13-58.report.log
2020-05-13 14:13:58: Starting OracleRestart Patch Setup
Using configuration parameter file:/u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Error : The opatchApplicable check failed.  Thepatch /setup/30805461/29938455/custom/server/29938455 is not applicable to/u01/app/oracle/product/11.2.0/db_1
Error : The opatch Applicable checkfailed.  The patch/setup/30805461/30670774 is not applicable to/u01/app/oracle/product/11.2.0/db_1
Error:Patch Applicable check failed for/u01/app/oracle/product/11.2.0/db_1
opatch auto failed.
[root@strong setup]#
分析日志:
728925ec4fb4830484.png

报错原因主要是由于无fuser命令导致CheckSystemCommandAvailable失败.处理办法为安装上相关程序
解决办法:安装psmisc.x86_64包
[root@strong~]# yum install psmisc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-16.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================
Package                          Arch                             Version                                Repository                      Size
===============================================================================================================================================
Installing:
psmisc                           x86_64                           22.20-16.el7                           base                           141 k
Transaction Summary
===============================================================================================================================================
Install  1 Package
Total download size: 141 k
Installed size: 475 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : psmisc-22.20-16.el7.x86_64                                                                                                  1/1
  Verifying  : psmisc-22.20-16.el7.x86_64                                                                                                  1/1

Installed:
  psmisc.x86_64 0:22.20-16.el7                                                                                                                 

Complete!


然后重新打补丁成功
root@strong ~]# /u01/app/grid/product/11.2.0/grid/OPatch/opatch auto /setup/30805461/
Executing/u01/app/grid/product/11.2.0/grid/perl/bin/perl/u01/app/grid/product/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /setup-patchn 30805461 -paramfile/u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
This is the main log file:/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2020-05-13_14-38-54.log
This file will show your detectedconfiguration and all the steps that opatchauto attempted to do on your system:
/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2020-05-13_14-38-54.report.log
2020-05-13 14:38:54: Starting OracleRestart Patch Setup
Using configuration parameter file:/u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC/u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC/u01/app/oracle/product/11.2.0/db_1 successfully
patch/setup/30805461/29938455/custom/server/29938455 apply successful for home /u01/app/oracle/product/11.2.0/db_1
patch /setup/30805461/30670774  apply successful for home  /u01/app/oracle/product/11.2.0/db_1
Starting RAC/u01/app/oracle/product/11.2.0/db_1 ...
Started RAC/u01/app/oracle/product/11.2.0/db_1 successfully
opatch auto succeeded.





回复

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2020-6-3 16:24 , Processed in 0.114987 second(s), 24 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

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