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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 194|回复: 0
打印 上一主题 下一主题

[补丁] oracle 19c打补丁,oracle 19c opatchauto打补丁报错Missing command :fuser

[复制链接]
跳转到指定楼层
楼主
发表于 2025-11-26 18:02:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[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]#


再次执行成功应用补丁包

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2026-4-17 19:46 , Processed in 0.199730 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表