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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 949|回复: 0
打印 上一主题 下一主题

[补丁] 会话日志报错Prerequisite check “CheckApplicable“ fa...

[复制链接]
跳转到指定楼层
楼主
发表于 2024-4-23 16:37:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 jiawang 于 2024-4-23 16:37 编辑

[root@hisce OPatch]# /u01/app/19.12.0/grid/OPatch/opatchauto  apply /setup/32895426 -oh /u01/app/19.12.0/grid

OPatchauto session is initiated at Tue Apr 16 21:22:25 2024

System initialization log file is /u01/app/19.12.0/grid/cfgtoollogs/opatchautodb/systemconfig2024-04-16_09-22-28PM.log.

Session log file is /u01/app/19.12.0/grid/cfgtoollogs/opatchauto/opatchauto2024-04-16_09-22-31PM.log
The id for this session is YDIF

Executing OPatch prereq operations to verify patch applicability on home /u01/app/19.12.0/grid
Patch applicability verified successfully on home /u01/app/19.12.0/grid


Executing patch validation checks on home /u01/app/19.12.0/grid
Patch validation checks successfully completed on home /u01/app/19.12.0/grid


Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.12.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/hisce/crsconfig/hapatch_2024-04-16_09-23-08PM.log
CRS service brought down successfully on home /u01/app/19.12.0/grid


Start applying binary patch on home /u01/app/19.12.0/grid
Failed while applying binary patches on home /u01/app/19.12.0/grid

Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : hisce->/u01/app/19.12.0/grid Type[siha]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /u01/app/19.12.0/grid, host: hisce.
Command failed:  /u01/app/19.12.0/grid/OPatch/opatchauto  apply /setup/32895426 -oh /u01/app/19.12.0/grid -target_type has -binary -invPtrLoc /u01/app/19.12.0/grid/oraInst.loc -jre /u01/app/19.12.0/grid/OPatch/jre -persistresult /u01/app/19.12.0/grid/opatchautocfg/db/sessioninfo/sessionresult_hisce_siha_1.ser -analyzedresult /u01/app/19.12.0/grid/opatchautocfg/db/sessioninfo/sessionresult_analyze_hisce_siha_1.ser
Command failure output:
==Following patches FAILED in apply:

Patch: /setup/32895426/32916816
Log: /u01/app/19.12.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2024-04-16_21-23-21PM_1.log
Reason: Failed during Analysis: CheckPatchApplicable Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:

Patch 32916816:
Copy Action: Source File "/setup/32895426/32916816/files/bin/ocrcheck.bin" does not exists or is not readable
'oracle.has.crs, 19.0.0.0.0': Cannot copy file from 'ocrcheck.bin' to '/u01/app/19.12.0/grid/bin/ocrcheck.bin'
Copy Action: Source File "/setup/32895426/32916816/files/bin/ocrconfig.bin" does not exists or is not readable
'oracle.has.crs, 19.0.0.0.0' ...

After fixing the cause of failure Run opatchauto resume

]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.

OPatchauto session completed at Tue Apr 16 21:23:35 2024
Time taken to complete the session 1 minute, 10 seconds

opatchauto failed with error code 42


mos方案:
[root@hisce install]# /u01/app/19.12.0/grid/crs/install/rootcrs.sh –prepatch
Invalid option –prepatch
rootcrs.sh  [-verbose] [-upgrade ] [-checkcrsentities <yes|no>]
             [-paramfile <parameter_file>]
             [-deconfig [-deinstall] [-keepdg] [-lastnode] | -downgrade [-ocrbackupfile <OCR_backup_file>] [-online]] [-force]
[-unlock | -lock [-crshome <path_to_CRS_home>]]
             [[-prepatch [-cleanpids] | -postpatch] [-norestart] [-nonrolling] [-rollback]] [-dstcrshome <destination_patch_home>]
             [-join -existingnode <node_name>]
             [-move -dstcrshome <path to CRS home>]
             [-converttoextended [-first -sites <sites list>] -site <node site>]
             [-convertcluster <conversion type> -manifestfile <manifest file> [-lastnode]]
             [-init] [-first -force] [-cleansockets]
  Options:
   -verbose    Run this script in verbose mode.
   -upgrade    Oracle HA is being upgraded from previous version.
   -lock       Lock CRS home.
   -paramfile  Complete path of file specifying HA parameter values
   -lastnode   Force the node this is executing on to be considered the last node of the deconfiguration and perform actions associated with deconfiguring the last node.
   -downgrade  Downgrade Oracle Clusterware.
   -deconfig   Remove Oracle Clusterware to allow it to be uninstalled or reinstalled.
   -deinstall  Reset the permissions on CRS home during deconfiguration.
   -keepdg     Keep existing diskgroups during deconfiguration.
   -force      Force the execution of steps in install or delete that cannot be verified to be safe.
   -unlock     Unlock CRS home.
   -crshome    Complete path of CRS home.
   -prepatch   Perform required steps before the Oracle patching tool (Opatch) is invoked.
   -cleanpids  Terminate Oracle Clusterware active processes. Must use with -prepatch option.
   -postpatch  Perform required steps after the Oracle patching tool (Opatch) is invoked.
   -nonrolling Perform steps for -prepatch and -postpatch in a non-rolling fashion.
   -norestart  Leave Oracle Clusterware stack stack down after patching.
   -rollback   Perform steps specific to rollback for -prepatch and -postpatch.
   -dstcrshome Complete path of CRS home for out-of-place patching only
   -join       Add the local node to an upgraded cluster.
   -existingnode An already upgraded cluster node. Must use with join option.
   -init       Reset the permissions of the files and directories in the GI home that are modified by root.sh.
   -ocrbackupfile Restore OCR with the given OCR backup file.
   -first      Force a node other than the installer node as the first node, during install or upgrade. Must use with -force option.
   -cleansockets Remove socket files created by the Grid Infrastructure processes. Stop the GI stack if not already stopped (Option specific to Unix platform only).
   -online     Downgrade the cluster without bringing the stack down on all nodes. Must be used with -downgrade option.
   -converttoextended Convert the cluster to an extended cluster.
   -first -sites      List of sites to add to the cluster configuration on the first node.
   -site       The site the local node is associated with.
   -move       Change the Oracle Grid Infrastructure home path. The new home location is specified by the -dstcrshome option.
   -checkcrsentities If yes, only verify CRS entities before upgrade, do not upgrade. If no, skip verification and proceed to upgrade.
  -updateosfiles Restore the GI configuration files stored in OS locations. Includes updating the drivers for ACFS and AFD.
   -convertcluster  The type of cluster conversion.
   -manifestfile  The manifest file to import ASM credential.
   -extractclusterdata  Extract the standalone cluster information.
   -clusterinfodir  The directory in which to store the cluster information files.
   -createmc  Create the manifest file for the member cluster on the domain server.
   -convert  Convert the Standalone Cluster to a Member Cluster.
   -rollbacksc  Roll back the standalone cluster conversion changes.
   -rollbackdsc  Roll back the domain services cluster conversion changes.
   -member  Member cluster name.
[root@hisce install]# /u01/app/19.12.0/grid/crs/install/rootcrs.sh -unlock
Using configuration parameter file: /u01/app/19.12.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/hisce/crsconfig/crsunlock_hisce_2024-04-16_09-26-53PM.log
2024/04/16 21:26:54 CLSRSC-357: Failed to stop current Oracle Clusterware stack during upgrade
2024/04/16 21:26:54 CLSRSC-347: Successfully unlock /u01/app/19.12.0/grid
[root@hisce install]# /u01/app/19.12.0/grid/crs/install/rootcrs.sh -lock  
Using configuration parameter file: /u01/app/19.12.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/hisce/crsconfig/crslock_hisce_2024-04-16_09-26-59PM.log
2024/04/16 21:27:01 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 01:05 , Processed in 0.089962 second(s), 20 queries .

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

© 2001-2020

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