opatch apply 报错 OPatch failed with error code 73

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

[[email protected]_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch apply ./
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.  All rights reserved.

Oracle Home       : /opt/oracle/product/db_1
Central Inventory : /opt/oraInventory
   from           : /opt/oracle/product/db_1/oraInst.loc
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13PM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following executables are active :
/opt/oracle/product/db_1/bin/oracle
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following executables are active :
/opt/oracle/product/db_1/lib/libclntsh.so.11.1
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13PM_1.log

OPatch failed with error code 73

仔细查看报错提示“Check Active Files And Executables”可能是有些执行程序用到了
/opt/oracle/product/db_1/lib/目录下的库文件libclntsh.so.11.1

2.使用fuser查看
[[email protected]_11g oinstall]$ /sbin/fuser   /opt/oracle/product/db_1/lib/libclntsh.so.11.1
/opt/oracle/product/db_1/lib/libclntsh.so.11.1: 12831m

3.查看12831号进程,12831号进程为sqlplus 程序,应该就是sqlplus正在使用libclntsh.so.11.1库文件
[[email protected]_11g oinstall]$ ps -ef | grep 12831
oracle   12831  6986  0 21:44 pts/3    00:00:00 sqlplus   as sysdba
oracle   12832 12831  0 21:44 ?        00:00:00 oracletest01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle   12993  9126  0 21:47 pts/1    00:00:00 grep 12831
[[email protected]_11g oinstall]$ 

4.杀掉12831进程,查看结果
[[email protected]_11g oinstall]$ kill -9 12831 
[[email protected]_11g oinstall]$ ps -ef | grep 12831
oracle   13013  9126  0 21:55 pts/1    00:00:00 grep 12831

5.重新执行opatch 顺利执行完成

opatch apply 报错 OPatch failed with error code 73

时间: 2024-08-09 08:05:08

opatch apply 报错 OPatch failed with error code 73的相关文章

x86平台 OPatch failed with error code 73

x86平台升级补丁报错(11204.7) 2016-09-23 05:27:33: The apply patchoutput is Oracle Interim Patch Installer version 11.2.0.3.10 Copyright (c) 2016, Oracle Corporation.  All rights reserved. Oracle Home       :/u01/app/oracle/product/11.2.0/dbhome_1 Central Inv

OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)

1.问题描述 [[email protected]_rac2 oraInventory]$/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch napply /u01/app/oracle/product/11.2.0/dbhome_1/9413827/custom/server/ -local -oh /u01/app/oracle/product/11.2.0/dbhome_1 -id 9413827 错误主要描述 Home name= 

OPatch failed with error code 73

前几天给一套LINUX下的RAC数据库打补丁升级,有一台机器更新失败了,相关的异常内容如下: Restoring "/u01/app/oracle/11.2.0/db_1" to the state prior to running NApply... Checking if OPatch needs to invoke 'make' to restore some binaries... Make failed to invoke "/usr/bin/make -f ins

win10安装ubuntu系统,报错WslRegisterDistribution failed with error: 0x8007019e

原文链接:https://blog.csdn.net/qq_33033367/article/details/82820983 在windows应用商店安装ubuntu系统,报错WslRegisterDistribution failed with error: 0x8007019e 1.报错: Installing, this may take a few minutes... Installation Failed! Error: 0x8007019e Press any key to co

SQLyog恢复数据库报错解决方法【Error Code: 2006 - MySQL server has gone away】

https://blog.csdn.net/niqinwen/article/details/8693044 导入数据库的时候 SQLyog 报错了 Error Code: 2006 – MySQL server has gone away 搜了下,说是max_allowed_packet (MySQL的一个参数)设置的值不够大. 那我改下就行了 嘿嘿 In Windows: In the MySQL server installation directory,in my.ini file, a

psu报错“CheckActiveFilesAndExecutables” failed

打补丁报错: [[email protected] 23054359]$ opatch apply Oracle Interim Patch Installer version 11.2.0.3.10 Copyright (c) 2019, Oracle Corporation. All rights reserved. Oracle Home : /oracle/app/oracle/product/11.2.0 Central Inventory : /oracle/app/oraInven

appium在android 7.0真机上运行报错command failed shell:............ps:'uiautomator"的解决方式

appium版本:1_4_16 在CSDN中找到相关解决的方案,根据此解决方案顺利的解决了让人惆怅的问题,再次记录. 1.找到appium安装目录下的adb.js文件,目录为:Appium\node_modules\appium\node_modules\appium-adb\lib 2.打开adb.js,可使用notepad++编辑器等打开文件(说明:在修改代码的时候先注释掉以前的代码,并且添加自己容易识别的标记,以防出错后还有回旋的余地,或者将代码备份也可行),找到如下代码: ADB.pro

(转)启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结

启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 原文:http://blog.51cto.com/11863547/1905929 http://blog.csdn.net/debimeng/article/details/74296152?utm_source=itdadao&utm_medium=referral Failed to start LSB: Bring up/down networking 遇到这个错误好

解决windows安装tesserocr报错问题 Failed building wheel for tesserocr

在我安装tesserocr的过程中出现了报错 C:\Users\Administrator>pip3 install tesserocr pillowCollecting tesserocr Using cached https://files.pythonhosted.org/packages/cf/0d/9e554f041962b8dd7acd978330535fed879452bb0af257c287ca4ae9c525/tesserocr-2.2.2.tar.gzRequirement