共計 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 小編會繼續努力為大家帶來更多實用的文章!
正文完