本帖最后由 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]# 分析日志:
报错原因主要是由于无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.
|