oracle11g补丁报错

本文记录了一次使用Oracle OPatch进行补丁安装时遇到的“Missing command:fuser”错误,并详细描述了解决该问题的过程,包括安装必要的psmisc包以确保fuser命令可用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[Oct 27, 2016 2:50:43 PM]    checkConflictAgainstOHWithDetail start -> Thu Oct 27 14:50:43 CST 2016
[Oct 27, 2016 2:50:43 PM]    Thu Oct 27 14:50:43 CST 2016
[Oct 27, 2016 2:50:43 PM]    Adapter can go list: 17478514 18031668 18522509 19121551 19769489 20299013 20760982 21352635
[Oct 27, 2016 2:50:43 PM]    Adapter not need list:
[Oct 27, 2016 2:50:43 PM]    Adapter auto-rollback list:
[Oct 27, 2016 2:50:43 PM]    checkConflictAgainstOHWithDetail end -> Thu Oct 27 14:50:43 CST 2016
[Oct 27, 2016 2:50:43 PM]    Running prerequisite checks...
[Oct 27, 2016 2:50:43 PM]    Space Needed : 452.604MB
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    Prerequisite check "CheckSystemCommandAvailable" failed.
                             The details are:
                             Missing command :fuser
[Oct 27, 2016 2:50:43 PM]    OUI-67073:UtilSession failed: 
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
[Oct 27, 2016 2:50:43 PM]    Finishing UtilSession at Thu Oct 27 14:50:43 CST 2016
[Oct 27, 2016 2:50:43 PM]    Log file location: /oracle/app/product/11.2.0.4/db_1/cfgtoollogs/opatch/opatch2016-10-27_14-50-39PM_1.log
[Oct 27, 2016 2:50:43 PM]    Stack Description: java.lang.RuntimeException: 
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
                             Prerequisite check "CheckSystemCommandAvailable" failed.
[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:5470)
[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:648)
[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1089)
[Oct 27, 2016 2:50:43 PM]    StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Oct 27, 2016 2:50:43 PM]    StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[Oct 27, 2016 2:50:43 PM]    StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Oct 27, 2016 2:50:43 PM]    StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:317)
[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2580)

[Oct 27, 2016 2:50:43 PM]    StackTrace: oracle.opatch.OPatch.main(OPatch.java:634)


=======================================

定位:

Missing command :fuser

设备上查找fuser命令没有。

解决方法:

安装fuser

相关包:

psmisc*.rpm

----

借用:

Psmisc 的内容

安装的程序:  fuser, killall, pstree, pstree.x11(→pstree)

简要描述

fuser

报告使用所给文件或文件系统的进程的进程ID(PID)。

killall

通过进程名来终止进程,它发送消息到所有正在运行任意所给指令的进程。

oldfuser

报告使用所给文件或文件系统的进程的进程ID(PID)。

pstree

以目录树的形式显示所有正在运行的进程

pstree.x11

同 pstree ,只是它在退出前要求确认

学习:http://blog.youkuaiyun.com/jcxch/article/details/49048191


然后正常了:

$ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installer version 11.2.0.3.12
Copyright (c) 2016, Oracle Corporation.  All rights reserved.




Oracle Home       : /oracle/app/product/11.2.0.4/db_1
Central Inventory : /oracle/app/oraInventory
   from           : /oracle/app/product/11.2.0.4/db_1/oraInst.loc
OPatch version    : 11.2.0.3.12
OUI version       : 11.2.0.4.0
Log file location : /oracle/app/product/11.2.0.4/db_1/cfgtoollogs/opatch/opatch2016-10-27_15-05-47PM_1.log


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


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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值