重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

标题: oracle 19c打补丁,oracle 19c opatchauto打补丁报错Missing command :fuser [打印本页]

作者: jiawang    时间: 2025-11-26 18:02
标题: oracle 19c打补丁,oracle 19c opatchauto打补丁报错Missing command :fuser
[root@hisce setup]#  /u01/app/19.12.0/grid/OPatch/opatchauto  apply /setup/32895426 -oh /u01/app/19.12.0/grid
OPatchauto session is initiated at Wed Nov 26 17:31:34 2025
System initialization log file is /u01/app/19.12.0/grid/cfgtoollogs/opatchautodb/systemconfig2025-11-26_05-31-36PM.log.
Session log file is /u01/app/19.12.0/grid/cfgtoollogs/opatchauto/opatchauto2025-11-26_05-31-38PM.log
The id for this session is C9WE
Executing OPatch prereq operations to verify patch applicability on home /u01/app/19.12.0/grid
Patch applicability verification failed on home /u01/app/19.12.0/grid


Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : hisce->/u01/app/19.12.0/grid Type[siha]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /u01/app/19.12.0/grid, host: hisce.
Command failed:  /u01/app/19.12.0/grid/OPatch/opatchauto  apply /setup/32895426 -oh /u01/app/19.12.0/grid -target_type has -binary -invPtrLoc /u01/app/19.12.0/grid/oraInst.loc -jre /u01/app/19.12.0/grid/OPatch/jre -persistresult /u01/app/19.12.0/grid/opatchautocfg/db/sessioninfo/sessionresult_analyze_hisce_siha_1.ser -analyze -online -prepare_home
Command failure output:
==Following patches FAILED in analysis for apply:


Patch: /setup/32895426/32904851
Log: /u01/app/19.12.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-11-26_17-31-48PM_1.log
Reason: Failed during Analysis: CheckSystemCommandsAvailable Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:
Missing command :fuser]


After fixing the cause of failure Run opatchauto resume


]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.


OPatchauto session completed at Wed Nov 26 17:31:58 2025
Time taken to complete the session 0 minute, 24 seconds


opatchauto failed with error code 42
[root@hisce setup]# ^C
发现是fuser命令找不到


[root@hisce setup]#  which fuser
/usr/bin/which: no fuser in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
发现就是没有,我的系统为minimal安装,可能与这个有关系,所以安装

[root@hisce setup]# yum search fuser
Loaded plugins: ulninfo
============================================ Matched: fuser =============================================
psmisc.x86_64 : Utilities for managing processes on your system

[root@hisce setup]#  yum install psmisc
Loaded plugins: ulninfo
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-17.el7 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


=========================================================================================================
Package                Arch                   Version                         Repository           Size
=========================================================================================================
Installing:
psmisc                 x86_64                 22.20-17.el7                    mnt                 141 k


Transaction Summary
=========================================================================================================
Install  1 Package


Total download size: 141 k
Installed size: 475 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : psmisc-22.20-17.el7.x86_64                                                            1/1
  Verifying  : psmisc-22.20-17.el7.x86_64                                                            1/1


Installed:
  psmisc.x86_64 0:22.20-17.el7                                                                           


Complete!
[root@hisce setup]#


再次执行成功应用补丁包






欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2