Oracle 19c asm单机OPatch补丁报错"checkSystemCommandAvailable" failed.
一、OPatch Conflict Check
As the Grid home user:
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36912597
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36917416
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36917397
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36940756
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36758186
For Oracle home, as home user:
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36912597
% $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/36916690/36917416
二、OPatch System Space Check
For Grid Infrastructure home, as home user:
Create file
/tmp/patch_list_gihome.txtwith the following content:% cat /tmp/patch_list_gihome.txt <UNZIPPED_PATCH_LOCATION>/36916690/36912597
<UNZIPPED_PATCH_LOCATION>/36916690/36917416
<UNZIPPED_PATCH_LOCATION>/36916690/36917397
<UNZIPPED_PATCH_LOCATION>/36916690/36940756
<UNZIPPED_PATCH_LOCATION>/36916690/36758186<class="infoboxnote">
Note:
For HP-UX Itanium and Linux on IBM System z platforms, the last two rows in the previous example should not be added to the
patch_list_gihome.txtfile.Run the OPatch command to check if enough free space is available in the Grid Infrastructure home:
% $ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_gihome.txt
For Oracle home, as home user:
Create file
/tmp/patch_list_dbhome.txtwith the following content:% cat /tmp/patch_list_dbhome.txt
<UNZIPPED_PATCH_LOCATION>/36916690/36912597
<UNZIPPED_PATCH_LOCATION>/36916690/36917416Run OPatch command to check if enough free space is available in the Oracle home:
% $ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_dbhome.txt
三、As root user, execute the following command on each node of the cluster:
[root@JX-DB-SVR02 backup]# /oracle/grid/19c/grid_home1/OPatch/opatchauto apply /backup/36916690
OPatchauto session is initiated at Wed Sep 17 09:09:19 2025
System initialization log file is /oracle/grid/19c/grid_home1/cfgtoollogs/opatchautodb/systemconfig2025-09-17_09-09-22AM.log.
Session log file is /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/opatchauto2025-09-17_09-09-26AM.log
The id for this session is 646T
Executing OPatch prereq operations to verify patch applicability on home /oracle/19c
Patch applicability verification failed on home /oracle/19c
Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : JX-DB-SVR02->/oracle/19c Type[sidb]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /oracle/19c, host: JX-DB-SVR02.
Command failed: /oracle/19c/OPatch/opatchauto apply /backup/36916690 -oh /oracle/19c -target_type oracle_database -binary -invPtrLoc /oracle/grid/19c/grid_home1/oraInst.loc -jre /oracle/grid/19c/grid_home1/OPatch/jre -persistresult /oracle/19c/opatchautocfg/db/sessioninfo/sessionresult_analyze_JX-DB-SVR02_sidb_2.ser -analyze -online -prepare_home
Command failure output:
==Following patches FAILED in analysis for apply:
Patch: /backup/36916690/36912597
Log: /oracle/19c/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-09-39AM_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 start a new opatchauto session
]
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 Sep 17 09:10:06 2025
Time taken to complete the session 0 minute, 44 seconds
opatchauto failed with error code 42
#查看日志/oracle/19c/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-09-39AM_1.log
[Sep 17, 2025 9:09:56 AM] [INFO] Prereq "checkSystemSpace" passed.
[Sep 17, 2025 9:09:56 AM] [INFO] Prereq "checkSystemCommandAvailable" for patch 36917416 passed.
[Sep 17, 2025 9:09:58 AM] [INFO] Missing command :fuser
[Sep 17, 2025 9:09:58 AM] [INFO] Prereq "checkSystemCommandAvailable" for patch 36912597 failed.
[Sep 17, 2025 9:09:58 AM] [INFO] The details are:
Missing command :fuser
#缺失psmisc组件
yum install -y psmisc
[root@JX-DB-SVR02 backup]# /oracle/grid/19c/grid_home1/OPatch/opatchauto apply /backup/36916690
OPatchauto session is initiated at Wed Sep 17 09:14:53 2025
System initialization log file is /oracle/grid/19c/grid_home1/cfgtoollogs/opatchautodb/systemconfig2025-09-17_09-14-57AM.log.
Session log file is /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/opatchauto2025-09-17_09-15-00AM.log
The id for this session is KI2C
Executing OPatch prereq operations to verify patch applicability on home /oracle/19c
Patch applicability verified successfully on home /oracle/19c
Executing patch validation checks on home /oracle/19c
Patch validation checks successfully completed on home /oracle/19c
Verifying SQL patch applicability on home /oracle/19c
SQL patch applicability verified successfully on home /oracle/19c
Executing OPatch prereq operations to verify patch applicability on home /oracle/grid/19c/grid_home1
Patch applicability verified successfully on home /oracle/grid/19c/grid_home1
Executing patch validation checks on home /oracle/grid/19c/grid_home1
Patch validation checks successfully completed on home /oracle/grid/19c/grid_home1
Preparing to bring down database service on home /oracle/19c
Successfully prepared home /oracle/19c to bring down database service
Bringing down database service on home /oracle/19c
Following database has been stopped and will be restarted later during the session: jximes
Database service successfully brought down on home /oracle/19c
Performing prepatch operations on CRS - bringing down CRS service on home /oracle/grid/19c/grid_home1
Prepatch operation log file location: /oracle/grid/base/crsdata/JX-DB-SVR02/crsconfig/hapatch_2025-09-17_09-17-41AM.log
CRS service brought down successfully on home /oracle/grid/19c/grid_home1
Start applying binary patch on home /oracle/19c
Binary patch applied successfully on home /oracle/19c
Running rootadd_rdbms.sh on home /oracle/19c
Successfully executed rootadd_rdbms.sh on home /oracle/19c
Start applying binary patch on home /oracle/grid/19c/grid_home1
Binary patch applied successfully on home /oracle/grid/19c/grid_home1
Running rootadd_rdbms.sh on home /oracle/grid/19c/grid_home1
Successfully executed rootadd_rdbms.sh on home /oracle/grid/19c/grid_home1
Performing postpatch operations on CRS - starting CRS service on home /oracle/grid/19c/grid_home1
Postpatch operation log file location: /oracle/grid/base/crsdata/JX-DB-SVR02/crsconfig/hapatch_2025-09-17_09-27-15AM.log
CRS service started successfully on home /oracle/grid/19c/grid_home1
Starting database service on home /oracle/19c
Database service successfully started on home /oracle/19c
Preparing home /oracle/19c after database service restarted
No step execution required.........
Trying to apply SQL patch on home /oracle/19c
SQL patch applied successfully on home /oracle/19c
OPatchAuto successful.
--------------------------------Summary--------------------------------
Patching is completed successfully. Please find the summary as follows:
Host:JX-DB-SVR02
SIDB Home:/oracle/19c
Version:19.0.0.0.0
Summary:
==Following patches were SKIPPED:
Patch: /backup/36916690/36917397
Reason: This patch is not applicable to this specified target type - "oracle_database"
Patch: /backup/36916690/36758186
Reason: This patch is not applicable to this specified target type - "oracle_database"
Patch: /backup/36916690/36940756
Reason: This patch is not applicable to this specified target type - "oracle_database"
==Following patches were SUCCESSFULLY applied:
Patch: /backup/36916690/36912597
Log: /oracle/19c/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-18-07AM_1.log
Patch: /backup/36916690/36917416
Log: /oracle/19c/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-18-07AM_1.log
Host:JX-DB-SVR02
SIHA Home:/oracle/grid/19c/grid_home1
Version:19.0.0.0.0
Summary:
==Following patches were SUCCESSFULLY applied:
Patch: /backup/36916690/36758186
Log: /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-22-56AM_1.log
Patch: /backup/36916690/36912597
Log: /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-22-56AM_1.log
Patch: /backup/36916690/36917397
Log: /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-22-56AM_1.log
Patch: /backup/36916690/36917416
Log: /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-22-56AM_1.log
Patch: /backup/36916690/36940756
Log: /oracle/grid/19c/grid_home1/cfgtoollogs/opatchauto/core/opatch/opatch2025-09-17_09-22-56AM_1.log
OPatchauto session completed at Wed Sep 17 09:37:38 2025
Time taken to complete the session 22 minutes, 42 seconds
[root@JX-DB-SVR02 backup]#
四、pluggable容器数据库更新
- Any (pluggable) database that has invalid objects after the execution of datapatch should have
catcon.plrun to revalidate those objects.For example:
export PATH=$PATH:$ORACLE_HOME/bin
cd $ORACLE_HOME/rdbms/admin
$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/rdbms/admin/catcon.pl -n 1 -e -b utlrp -d $ORACLE_HOME/rdbms/admin utlrp.sql Upgrade Oracle Recovery Manager Catalog
If you are using the Oracle Recovery Manager, the catalog needs to be upgraded. Enter the following command to upgrade it. The
UPGRADE CATALOGcommand must be entered twice to confirm the upgrade.$ rman catalog username/password@alias
RMAN> UPGRADE CATALOG;
RMAN> UPGRADE CATALOG;
RMAN> EXIT;
[oracle@JX-DB-SVR02 19c]$ export PATH=$PATH:$ORACLE_HOME/bin
[oracle@JX-DB-SVR02 19c]$ cd $ORACLE_HOME/rdbms/admin
[oracle@JX-DB-SVR02 admin]$ $ORACLE_HOME/perl/bin/perl $ORACLE_HOME/rdbms/admin/catcon.pl -n 1 -e -b utlrp -d $ORACLE_HOME/rdbms/admin utlrp.sql
catcon::set_log_file_base_path: ALL catcon-related output will be written to [/oracle/19c/rdbms/admin/utlrp_catcon_1061.lst]
catcon::set_log_file_base_path: catcon: See [/oracle/19c/rdbms/admin/utlrp*.log] files for output generated by scripts
catcon::set_log_file_base_path: catcon: See [/oracle/19c/rdbms/admin/utlrp_*.lst] files for spool files, if any
catcon.pl: completed successfully
[oracle@JX-DB-SVR02 admin]$
#AI 介绍psmisc
psmisc 是一个包含多个实用系统工具的软件包,主要用于进程管理和系统资源查看,提供了一些方便的命令来管理和监控系统中的进程。psmisc 包包含的核心工具及其功能如下:fuser:
用于查找正在使用指定文件、目录或端口的进程 PID(进程 ID)。
例如:fuser /var/log/messages可查看正在访问/var/log/messages文件的进程;fuser -n tcp 80可查看占用 80 端口的进程。killall:
按进程名称终止进程(与kill按 PID 终止不同),支持批量结束同名进程。
例如:killall httpd可终止所有名为httpd的进程。pstree:
以树形结构显示进程间的父子关系,直观展示系统中进程的层级结构。
例如:pstree -p可显示进程树并附带每个进程的 PID。peekfd(较少使用):
查看进程打开的文件描述符内容,用于调试进程与文件的交互
Oracle 19c asm单机OPatch补丁报错"checkSystemCommandAvailable" failed.的更多相关文章
- asm单机dg dbca报错ORA-01031 CRS-2676,rman restore主库控制文件报错ORA-15081
dg-> ll $ORACLE_HOME/bin/oracle -r-xr-s--x 1 oracle asmadmin 210824714 Nov 20 16:41 /u01/app/orac ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.1.系统界面报错Gnome
1.错误信息:登录系统后,屏幕弹出几个错误对话框,无菜单.无按钮 GConf error: Failed to contact configuration server; some possible ...
- 执行opatch apply 报错 OPatch failed with error code 73
.执行opatch apply 报错 OPatch failed [oracle@ora_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch a ...
- 【Devops】【docker】【CI/CD】Jenkins自动安装JDK需要提供Oracle的账号密码,否则报错:Unable ro auto-install JDK until the license is accepted
Jenkins自动安装JDK需要提供Oracle的账号密码,否则报错:Unable ro auto-install JDK until the license is accepted 解决方法: ...
- 给sql server2005打补丁报错:无法安装Windows Installer MSP文件
给sql server2005打补丁报错:无法安装Windows Installer MSP文件 在我们安装完SQL2005数据库后,需要安装SP4补丁时,会出错:无法安装Windows Instal ...
- svn报错cleanup failed–previous operation has not finished; run cleanup if it was interrupted的解决办法
今天在svn提交的时候它卡顿了一下,我以为已经提交完了,就按了一下,结果就再也恢复不了,也继续不了了... 报错 cleanup failed–previous operation has not f ...
- docker报错:Failed to restart docker.service: Unit not found.
前言:我之前安装好docker了,但是关机重启后,发现docker就没了 报错:Failed to restart docker.service: Unit not found. 解决方法: 1. ...
- 报错:Failed on local exception: Host Details : local host is: "master/192.168.52.26"; dest
报错现象 Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message ...
- ionic报错: Failed to load resource
隔了一天,才发现是代码写错了 出错的原因是在ts 文件中使用这样的定义 data: [] = ['高新区', '经开区', '其他园区']; 错误在于这个定义的类型,不能是 [],修改成 any就没有 ...
- ionic 打包 报错Execution failed for task ':processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt
在platform --> android目录下找到build.gradle文件,打开并在def promptForReleaseKeyPassword() {...}函数前加入以下内容: 完整 ...
随机推荐
- .Net Core Winform 缩放比例不是100%设置界面只能看到一半问题
<PropertyGroup> <TargetFramework>net8.0-windows</TargetFramework> <Nullable> ...
- js定时器高级用法
//////////////////////////////////////////////批量执行方法start var delegateArray = []; var DeArr = { AddF ...
- Volta比nvm智能的新一代node版本管理工具
Volta是什么 Volta是一个现代化的 JavaScript 工具管理器,提供了比传统 nvm 更好的性能和用户体验.通过使用 Volta管理项目级别的 Node.js 版本,可以确保每个项目都有 ...
- 移植并使用Iperf3测试ARM Linux网口带宽
一.背景 iperf3 是一款开源网络性能测试工具,用于测量网络带宽.延迟.抖动.丢包率等指标.它是 iperf 工具的第三代版本,专注于网络吞吐量和稳定性的测试与分析. 可用于千兆甚至万兆以太网口的 ...
- SciTech-Mathmatics-Proba. & Stats.: $\large y=ax^2 + bx + c$(非常重要的 抛物线函数) + $\large 高斯分布(正态分布)的Bell Curve钟形曲线 的 pdf(概率分密度曲线方程) 与 cdf(累积分布函数:积分面$积)
SciTech-Mathmatics-Proba. & Stats.: \(\largey=ax^2 + bx + c\)(非常重要的 抛物线函数) + \(\large 高斯分布(正态分布) ...
- SciTech-Algorithm-Search-Maze-UniformedSearch{DFS(Depth)+BFS(Breadth)}+UHeuristic+GBFS(GreedyBestFirst)+A*(h(x)+g(x))
UniformedSearch{DFS(Depth)+BFS(Breadth)}+UHeuristic+GBFS(GreedyBestFirst)+A*(h(x)+g(x))
- chatglm.cpp使用手记
目前绝大多数LLM模型都是python实现的,运行速度有限(包括ChatGLM2-6b),幸好有大神将其用C++重写了一遍,让运行速度大大提高. 项目地址:li-plus/chatglm.cpp: C ...
- Win11系统任务栏图标怎么隐藏的问题
不少电脑基地的小伙伴,在使用win11系统觉得任务栏中有的图标没什么用,就想要隐藏但却不知道要如何操作,那么碰到这种问题要怎么办呢?下面技术员小编就来分享具体的设置方法,大家一起来看看详细方法吧. 在 ...
- VMware配置共享文件夹
前两天用petalinux配置ARM Linux操作系统,可能是电脑用久了性能下降,虚拟机卡死了,不得不重新安装一次. 设置了共享文件夹后,点进/mnt目录发现居然是空的,很早之前就遇到过这个问题,但 ...
- 连续动作强化学习中的反事实探索:揭示AI决策背后的可能性
为什么RL需要反事实推理? 在具有高风险和长期影响的场景中,反事实推理的价值尤为显著.以1型糖尿病患者的血糖控制为例:强化学习(RL)智能体根据生理信号定期决定胰岛素剂量.原始轨迹()显示患者血糖先升 ...