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

50次阅读
没有评论

共计 3758 个字符,预计需要花费 10 分钟才能阅读完成。

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

问题现象:

[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/opatch3019-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 ~]#

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

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-26发表,共计3758字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)