opatch apply fails with Error: Prerequisite check "CheckSystemCommandAvailable" & ‘Missing command :fuser’ (Doc ID 1581604.1)

2024年 1月 16日 26.9k 0

opatch apply fails with error:

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.
Log file location: $ORACLE_HOME/cfgtoollogs/opatch/opatchlog

OPatch failed with error code 73

SOLUTION

1) Check if the missing package (fuser) is installed.
If yes, make sure the executable is included in the PATH.
The common executables used by opatch are make, ld, ar and nm. These executables will be by default under /usr/bin directory.
Add the path location to the $PATH environment variable:
export PATH=$PATH:/usr/bin

2) If the OS package which provides the 'fuser' utility is not installed, then install that OS package.
Example: In Linux , the rpm 'psmisc' provides the fuser utility ,so install this rpm.

Workaround:

Make sure that database and all process accessing database/ORACLE_HOME are shut down as fuser will be skipped.

1) Pass argument for OPatch to ignore fuser and continue with patching.
Set the environment variable OPATCH_NO_FUSER=true

export OPATCH_NO_FUSER=true
opatch apply

2) Set temporary fuser
Set /tmp in your PATH
Create an empty file named "fuser"
Run the opatch command

相关文章

Oracle如何使用授予和撤销权限的语法和示例
Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
社区版oceanbase安装
Oracle 导出CSV工具-sqluldr2
ETL数据集成丨快速将MySQL数据迁移至Doris数据库

发布评论