OPatch install "Missing command :fuser"

问题现象:

[oracle@dbserver 24006111]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.4
Copyright (c) 2017, Oracle Corporation.  All rights reserved.
Oracle Home      : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
  from          : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version    : 11.2.0.3.12
OUI version      : 11.2.0.4.0
Log file location : /DBSoft/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2019-08-20_15-36-30AM_1.log
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
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.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.


问题分析:

从输出的日志来看,是没有找到fuser 这个命令,我们需要安装fuser这个命令,让报错不在重现即可。

参考文档:

参考mos:1581604.1,安装psmisc rpm包解决该问题。

问题解决:

根据mos问题提示,需安装psmsic。

[root@dbserver ~]# export
[root@dbserver ~]# yum -y install psmsic
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package psmsic available.
Error: Nothing to do
[root@dbserver ~]# yum -y install psmisc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-9.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
 Package          Arch             Version                 Repository      Size
================================================================================
Installing:
 psmisc           x86_64           22.20-9.el7             base           140 k
Transaction Summary
================================================================================
Install  1 Package
Total download size: 140 k
Installed size: 479 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : psmisc-22.20-9.el7.x86_64                                    1/1 
  Verifying  : psmisc-22.20-9.el7.x86_64                                    1/1 
Installed:
  psmisc.x86_64 0:22.20-9.el7                                                   
Complete!
[root@dbserver ~]#


总结:

安装完psmisc包之后补丁安装正常,问题解决。


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20674423/viewspace-2654304/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/20674423/viewspace-2654304/

你可能感兴趣的:(OPatch install "Missing command :fuser")