[root@WWJD1 ~]# opatchauto apply $UNZIPPED_PATCH_LOCATION/28183653

OPatchauto session is initiated at Thu Sep 20 11:21:51 2018

System initialization log file is /oracle/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-09-20_11-21-53AM.log.

Session log file is /oracle/app/12.2.0/grid/cfgtoollogs/opatchauto/opatchauto2018-09-20_11-23-17AM.log
The id for this session is NGPY

Executing OPatch prereq operations to verify patch applicability on home /oracle/app/12.2.0/grid

Executing OPatch prereq operations to verify patch applicability on home /oracle/app/oracle/product/12.2.0/db_1
Patch applicability verified successfully on home /oracle/app/oracle/product/12.2.0/db_1

Patch applicability verified successfully on home /oracle/app/12.2.0/grid

Verifying SQL patch applicability on home /oracle/app/oracle/product/12.2.0/db_1

SQL patch applicability verified successfully on home /oracle/app/oracle/product/12.2.0/db_1

Preparing to bring down database service on home /oracle/app/oracle/product/12.2.0/db_1
Successfully prepared home /oracle/app/oracle/product/12.2.0/db_1 to bring down database service

Bringing down CRS service on home /oracle/app/12.2.0/grid

Prepatch operation log file location: /oracle/app/grid/crsdata/WWJD1/crsconfig/crspatch_WWJD1_2018-09-20_11-24-05AM.log
CRS service brought down successfully on home /oracle/app/12.2.0/grid

Performing prepatch operation on home /oracle/app/oracle/product/12.2.0/db_1
Perpatch operation completed successfully on home /oracle/app/oracle/product/12.2.0/db_1

Start applying binary patch on home /oracle/app/oracle/product/12.2.0/db_1

Binary patch applied successfully on home /oracle/app/oracle/product/12.2.0/db_1

Performing postpatch operation on home /oracle/app/oracle/product/12.2.0/db_1
Postpatch operation completed successfully on home /oracle/app/oracle/product/12.2.0/db_1

Start applying binary patch on home /oracle/app/12.2.0/grid

Failed while applying binary patches on home /oracle/app/12.2.0/grid

Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : WWJD1->/oracle/app/12.2.0/grid Type[crs]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /oracle/app/12.2.0/grid, host: WWJD1.
Command failed: /oracle/app/12.2.0/grid/OPatch/opatchauto apply /oracle/soft/patch/28317269/28183653 -oh /oracle/app/12.2.0/grid -target_type cluster -binary -invPtrLoc /oracle/app/12.2.0/grid/oraInst.loc -jre /oracle/app/12.2.0/grid/OPatch/jre -persistresult /oracle/app/12.2.0/grid/OPatch/auto/dbsessioninfo/sessionresult_WWJD1_crs.ser -analyzedresult /oracle/app/12.2.0/grid/OPatch/auto/dbsessioninfo/sessionresult_analyze_WWJD1_crs.ser
Command failure output:
==Following patches FAILED in apply:

Patch: /oracle/soft/patch/28317269/28183653/28163190
Log: /oracle/app/12.2.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-09-20_11-29-24AM_1.log
Reason: Failed during Analysis: CheckPatchApplicable Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:

Patch 28163190:
Copy Action: Source File "/oracle/soft/patch/28317269/28183653/28163190/files/bin/ocrcheck.bin" does not exists or is not readable
'oracle.has.crs, 12.2.0.1.0': Cannot copy file from 'ocrcheck.bin' to '/oracle/app/12.2.0/grid/bin/ocrcheck.bin'
Copy Action: Source File "/oracle/soft/patch/28317269/28183653/28163190/files/bin/ocrconfig.bin" does not exists or ...

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 Thu Sep 20 11:31:37 2018
Time taken to complete the session 9 minutes, 46 seconds

opatchauto failed with error code 42

--怀疑是补丁目录权限的问题

[root@WWJD1 ~]# opatchauto apply $UNZIPPED_PATCH_LOCATION/28183653

OPatchauto session is initiated at Thu Sep 20 11:52:05 2018

System initialization log file is /oracle/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-09-20_11-52-08AM.log.

Clusterware is either not running or not configured. You have the following 2 options:
1. Configure and start the Clusterware on this node and re-run the tool
2. Run the tool with '-oh <GI_HOME>' to first patch the Grid Home, then invoke tool with '-database <oracle database name>' or '-oh <RAC_HOME>' to patch the RAC home

OPATCHAUTO-72029: CLusterware home not configured.
OPATCHAUTO-72029: Clusterware is either not running or not configured or cluster is software only GI
OPATCHAUTO-72029: If only Grid Infrastructure software is installed, please run opatchauto with '-oh' option . Alternatively configure and start the Clusterware before running opatchauto.

OPatchauto session completed at Thu Sep 20 11:52:10 2018
Time taken to complete the session 0 minute, 5 seconds

Topology creation failed.

[root@WWJD1 ~]# /oracle/app/12.2.0/grid/bin/crsctl start crs
CRS-6706: Oracle Clusterware Release patch level ('981856784') does not match Software patch level ('0'). Oracle Clusterware cannot be started.
CRS-4000: Command Start failed, or completed with errors.
[root@WWJD1 ~]#

--备份的软件回退
--补丁文件的权限给777,省的不必要的报错麻烦
chmod 777 -R /oracle/soft/patch

再次打补丁就正常了

opatchauto failed with error code 42 补丁目录权限问题的更多相关文章

  1. ORACLE查看补丁出现“OPatch failed with error code 1”

    案例场景:               在Oracle Linux Server release 5.7上安装完ORACLE 10g后,顺便将PSR(Patch Set Release)p681018 ...

  2. OPatch failed with error code 73

    前几天给一套LINUX下的RAC数据库打补丁升级,有一台机器更新失败了,相关的异常内容如下: Restoring "/u01/app/oracle/11.2.0/db_1" to ...

  3. 安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 " (Ela)

    原文:安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x800706 ...

  4. Command "python setup.py egg_info" failed with error code 1一种问题的解决方法

    问题描述:无论是你在pycharm中直接使用import and install命令,还是pip的时候出现了Command "python setup.py egg_info" f ...

  5. python——报错ImportError:DLL load failed with error code -1073741795的解决方式

    python中导入一个包,import cv2总是报错'ImportError:DLL load failed with error code -1073741795',报错形式: 网上找了好久的解决 ...

  6. Python3安装turtle提示错误:Command "python setup.py egg_info" failed with error code 1

    Python3安装turtle提示错误:Command "python setup.py egg_info" failed with error code 1 Python3.5安 ...

  7. Windows10中注册 regsvr32 xxx.ocx报错but the call to DIIRegisterServer failed with error code 0x80040200

    网站中有读取居民身份证的机器,需要安装一些注册activeX控件然后进入指定目录下执行以下命令regsvr32 xxx.ocx报了个错: but the call to DIIRegisterServ ...

  8. 执行opatch apply 报错 OPatch failed with error code 73

    .执行opatch apply 报错 OPatch failed [oracle@ora_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch a ...

  9. 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10 编译安装包 安装万金油

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明.本文链接:https://blog.csdn.net/yexiaohhjk/article/de ...

随机推荐

  1. sublime的插件

    记录一下常用的插件: 1. htmlpretty 用于HTML.CSS.JS的格式化,以方便阅读代码.插件全名是HTML-CSS-JS Pretty.安装后使用方法是: 打开一个HTML/CSS/JS ...

  2. Tomcat 下4个配置文件详解

    Tomcat 的配置文件由4个 xml 文件构成,context.xml.web.xml.server.xml.tomcat-users.xml 这4个文件.每个文件都有自己的功能与配置方法,下列将逐 ...

  3. django第三天

    从后台传入一层的字典数据 后台代码 前台代码一 浏览器结果 前台代码二 前台代码三 前台代码四 注意 默认遍历为KEY .values    .keys   .items 都不加括号

  4. 微软拼音转换工具类ChnCharInfo.dll

    1.简介 之前做汉字转拼音是使用各种枚举的方式,将各种情况列举,这种方式出错的机率很大,经常对不上号.(如果你想了解更多:http://www.cnblogs.com/islands/articles ...

  5. H5测试与PC端测试不同的点

    1.通过H5网页(非手机的返回功能)的返回功能可以返回,不会出现无法返回的情况. 2.横屏竖屏相互切换,能自适应,并且布局不会乱掉: 3.为能在不同分辨率的手机上能更好的展示,建议采用响应式设计(如: ...

  6. sql语句表连接删除

    DELETE 表1,表2FROM 表1 LEFT JOIN 表2 ON 表1.id=表2.id WHERE 表1.id=需要删除的ID

  7. 动态规划——Split Array Largest Sum

    题意大概就是,给定一个包含非负整数的序列nums以及一个整数m,要求把序列nums分成m份,并且要让这m个子序列各自的和的最大值最小(minimize the largest sum among th ...

  8. 将ActiveX打包成CAB发布的注意事项

    1.在实现ActiveX组件时,注意VS必须使用管理员身份运行,否则会提示不成功 2.在解决方案中添加一个安装项目 a.在View中点击文件系统,添加对ActiveX项目的输出 b.注册表HKEY_C ...

  9. centos如何设置固定IP

    ### centos6.5版本 编辑ifcfg-eth0 vi /etc/sysconfig/network-scripts/ifcfg-eth0 参照下面代码修改自己的配置 ############ ...

  10. js一些代码

    1判断金额正则 var reg = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; var money ...