/u01/app/grid_home/OPatch/opatchauto apply /u01/soft/31326369/31305339
Reason: Failed during Patching:oracle.opatch.opatchsdk.OPatchException: ApplySession failed in systemmodification phase... 'ApplySession::apply failed: java.io.IOException:oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException:/u01/app/oraInventory/ContentsXML/oui-patch.xml (The file access permissions donot allow the specified action.)'
解决方法如下:
文件权限丢失,对比正常节点1的文件权限后重新赋权chmod 660 u01/app/oraInventory/ContentsXML/oui-patch.xml修改权限后继续执行打补丁/u01/app/grid_home/OPatch/opatchauto resume
第二个节点补丁升级时第二个报错信息如下:
$ORACLE_HOME/inventory/oneoffs/31281355is corrupted. PatchObject constructor: Input file"/u01/app/grid_home/inventory/oneoffs/31281355/etc/config/actions" or"/u01/app/grid_home/inventory/oneoffs/31281355/etc/config/inventory"does not exist.
缺失一些补丁文件,对比正常节点1后,拷贝缺失文件到节点2cd /u01/app/grid_home/inventory/oneoffstar cvf oneoffs.tar 31281355 31304218 31305087 31335188scp oneoffs.tar oracledb2:/u01/app/grid_home/inventory/oneoffstar –xvf oneoffs.tar解压缺失的文件后继续执行脚本/u01/app/grid_home/OPatch/opatchauto resume
文章转载自6号见的MindPalace,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




