千家信息网

怎么解决oracle的Missing command :fuser问题

发表于:2024-11-20 作者:千家信息网编辑
千家信息网最后更新 2024年11月20日,这篇文章主要介绍"怎么解决oracle的Missing command :fuser问题",在日常操作中,相信很多人在怎么解决oracle的Missing command :fuser问题问题上存在疑
千家信息网最后更新 2024年11月20日怎么解决oracle的Missing command :fuser问题

这篇文章主要介绍"怎么解决oracle的Missing command :fuser问题",在日常操作中,相信很多人在怎么解决oracle的Missing command :fuser问题问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"怎么解决oracle的Missing command :fuser问题"的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

问题现象:

[oracle@dbserver 24006111]$ opatch applyOracle Interim Patch Installer version 11.2.0.4Copyright (c) 2017, Oracle Corporation.  All rights reserved.Oracle Home      : /u01/app/oracle/product/11.2.0/db_1Central Inventory : /u01/app/oraInventory  from          : /u01/app/oracle/product/11.2.0/db_1/oraInst.locOPatch version    : 11.2.0.3.12OUI version      : 11.2.0.4.0Log file location : /DBSoft/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch3019-08-20_15-36-30AM_1.logVerifying environment and performing prerequisite checks...Prerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserPrerequisite check "CheckSystemCommandAvailable" failed.The details are:Missing command :fuserUtilSession 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 psmsicLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileNo package psmsic available.Error: Nothing to do[root@dbserver ~]# yum -y install psmiscLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileResolving Dependencies--> Running transaction check---> Package psmisc.x86_64 0:22.20-9.el7 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package          Arch             Version                 Repository      Size================================================================================Installing: psmisc           x86_64           22.20-9.el7             base           140 kTransaction Summary================================================================================Install  1 PackageTotal download size: 140 kInstalled size: 479 kDownloading packages:Running transaction checkRunning transaction testTransaction test succeededRunning 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 ~]#

到此,关于"怎么解决oracle的Missing command :fuser问题"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

0