设为首页 - 加入收藏 PHP编程网 - PHP站长网 (http://www.52php.cn)- 电商,百科,编程,业界,移动互联,5G,云计算,站长网!
热搜: 专业 娱乐 服务 百度
当前位置: 首页 > 站长百科 > 正文

psu报错“CheckActiveFilesAndExecutables” failed

发布时间:2021-05-14 17:03 所属栏目:[站长百科] 来源:网络整理
导读:打补丁报错: [[email?protected] 23054359]$ opatch applyOracle Interim Patch Installer version 11.2.0.3.10Copyright (c) 2019,Oracle Corporation. All rights reserved.Oracle Home : /oracle/app/oracle/product/11.2.0Central Inventory : /oracl

打补丁报错:

[[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/oraInventory
   from           : /oracle/app/oracle/product/11.2.0/oraInst.loc
OPatch version    : 11.2.0.3.10
OUI version       : 11.2.0.4.0
Log file location : /oracle/app/oracle/product/11.2.0/cfgtoollogs/opatch/opatch2019-05-27_20-37-28PM_1.log

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

Following executables are active :
/oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following executables are active :
/oracle/app/oracle/product/11.2.0/lib/libnmemso.so
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /oracle/app/oracle/product/11.2.0/cfgtoollogs/opatch/opatch2019-05-27_20-37-28PM_1.log

OPatch failed with error code 73

解决方案:
查看文件使用者,并查询文件使用进程号杀掉

[[email?protected] 23054359]$ fuser  /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
/oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1: 25765m 45788m 45931m
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ lsof /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
COMMAND   PID   USER  FD   TYPE DEVICE SIZE/OFF   NODE NAME
emagent 25765 oracle mem    REG    8,5 53793682 920687 /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
java    45788 oracle mem    REG    8,5 53793682 920687 /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
sqlplus 45931 oracle mem    REG    8,5 53793682 920687 /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ kill -9 45931
[[email?protected] 23054359]$ kill -9 ^C   
[[email?protected] 23054359]$ lsof /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
COMMAND   PID   USER  FD   TYPE DEVICE SIZE/OFF   NODE NAME
emagent 25765 oracle mem    REG    8,5 53793682 920687 /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ kill -9 45788
[[email?protected] 23054359]$ lsof /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
COMMAND   PID   USER  FD   TYPE DEVICE SIZE/OFF   NODE NAME
emagent 25765 oracle mem    REG    8,5 53793682 920687 /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ 
[[email?protected] 23054359]$ lsof /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.^C
[[email?protected] 23054359]$ kill -9 25765
[[email?protected] 23054359]$ lsof /oracle/app/oracle/product/11.2.0/lib/libclntsh.so.11.1

验证正常:

[[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/oraInventory
   from           : /oracle/app/oracle/product/11.2.0/oraInst.loc
OPatch version    : 11.2.0.3.10
OUI version       : 11.2.0.4.0
Log file location : /oracle/app/oracle/product/11.2.0/cfgtoollogs/opatch/opatch2019-05-27_20-38-44PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   17478514  18031668  18522509  19121551  19769489  20299013  20760982  21352635  21948347  22502456  23054359  

Do you want to proceed? [y|n]
y
User Responded with: Y

【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

推荐文章
热点阅读