共计 3093 个字符,预计需要花费 8 分钟才能阅读完成。
今天在给开发的测试环境安装开发 Oracle 数据库打 Patch 时报错:
[oracle@xxy01 24006111]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.12
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 : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2017-03-13_09-36-47AM_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.
Prerequisite check “CheckSystemCommandAvailable” failed.
Prerequisite check “CheckSystemCommandAvailable” failed.
Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2017-03-13_09-36-47AM_1.log
使用 find 在服务器上查找 fuser 命令,没有找到,使用 yum search fuser 查找相关包
[root@xxy01 24006111]$# yum search fuser
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel | 4.1 kB 00:00 …
================================================================================================= Matched: fuser =================================================================================================
psmisc.x86_64 : Utilities for managing processes on your system
使用 yum install -y psmisc 安装包
再打 Patch 包就没有问题了
更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址 :http://www.linuxidc.com/Linux/2017-03/141759.htm