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

环境:rhel7.6 oracle 19c rac
集群资源状态:
[[email protected] ~]$ crsctl stat res -t -init

Name Target State Server State details

Cluster Resources

ora.asm
1 ONLINE ONLINE 19crac1 STABLE
ora.cluster_interconnect.haip
1 ONLINE ONLINE 19crac1 STABLE
ora.crf
1 ONLINE ONLINE 19crac1 STABLE
ora.crsd
1 ONLINE ONLINE 19crac1 STABLE
ora.cssd
1 ONLINE ONLINE 19crac1 STABLE
ora.cssdmonitor
1 ONLINE ONLINE 19crac1 STABLE
ora.ctssd
1 ONLINE ONLINE 19crac1 ACTIVE:0,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.drivers.acfs
1 ONLINE ONLINE 19crac1 STABLE
ora.evmd
1 ONLINE ONLINE 19crac1 STABLE
ora.gipcd
1 ONLINE ONLINE 19crac1 STABLE
ora.gpnpd
1 ONLINE ONLINE 19crac1 STABLE
ora.mdnsd
1 ONLINE ONLINE 19crac1 STABLE
ora.storage
1 ONLINE ONLINE 19crac1 STABLE

[[email protected] ~]$ crsctl stat res -t

Name Target State Server State details

Local Resources

ora.LISTENER.lsnr
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.chad
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.net1.network
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.ons
ONLINE ONLINE 19crac1 STABLE
ONLINE ONLINE 19crac2 STABLE
ora.proxy_advm
OFFLINE OFFLINE 19crac1 STABLE
OFFLINE OFFLINE 19crac2 STABLE

Cluster Resources

ora.19crac1.vip
1 ONLINE ONLINE 19crac1 STABLE
ora.19crac2.vip
1 ONLINE ONLINE 19crac2 STABLE
ora.ARCHDG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.DATADG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE 19crac2 STABLE
ora.OCRDG.dg(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.asm(ora.asmgroup)
1 ONLINE ONLINE 19crac1 Started,STABLE
2 ONLINE ONLINE 19crac2 Started,STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
1 ONLINE ONLINE 19crac1 STABLE
2 ONLINE ONLINE 19crac2 STABLE
ora.cvu
1 ONLINE ONLINE 19crac2 STABLE
ora.qosmserver
1 ONLINE ONLINE 19crac2 STABLE
ora.scan1.vip
1 ONLINE ONLINE 19crac2 STABLE
操作:打最新RU,补丁包名为p29699097_190000_Linux-x86-64.zip
过程:按照readme的指导,替换完OPatch,直接打补丁
[[email protected] OPatch]# ./opatchauto apply /u01/soft/29699097/29708769/
在过程中报错:
[[email protected] OPatch]# ./opatchauto apply /u01/soft/29699097/29708769/

OPatchauto session is initiated at Sun Dec 8 12:51:27 2019

System initialization log file is /u01/app/19c/grid/cfgtoollogs/opatchautodb/systemconfig2019-12-08_12-51-30PM.log.

Session log file is /u01/app/19c/grid/cfgtoollogs/opatchauto/opatchauto2019-12-08_12-52-00PM.log
The id for this session is UJK7

Executing OPatch prereq operations to verify patch applicability on home /u01/app/19c/grid
Patch applicability verification failed on home /u01/app/19c/grid

Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : 19crac1->/u01/app/19c/grid Type[crs]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /u01/app/19c/grid, host: 19crac1.
Command failed: /u01/app/19c/grid/OPatch/opatchauto apply /u01/soft/29699097/29708769/ -oh /u01/app/19c/grid -target_type cluster -binary -invPtrLoc /u01/app/19c/grid/oraInst.loc -jre /u01/app/19c/grid/OPatch/jre -persistresult /u01/app/19c/grid/OPatch/auto/dbsessioninfo/sessionresult_analyze_19crac1_crs.ser -analyze -online -prepare_home
Command failure output:
==Following patches FAILED in analysis for apply:

Patch: /u01/soft/29699097/29708769/29834717
Log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-12-08_12-52-09PM_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 Sun Dec 8 12:52:15 2019
Time taken to complete the session 0 minute, 48 seconds

opatchauto failed with error code 42
发现是fuser命令找不到
进一步排查[[email protected] OPatch]# which fuser
/usr/bin/which: no fuser in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
发现就是没有,我的系统为minimal安装,可能与这个有关系,所以安装
[[email protected] ~]# yum search fuser
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
===================================================================================== Matched: fuser =====================================================================================
psmisc.x86_64 : Utilities for managing processes on your system
[[email protected] ~]# yum install psmisc
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
base | 4.3 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================================
Package Arch Version Repository Size

Installing:
psmisc x86_64 22.20-15.el7 base 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
Warning: RPMDB altered outside of yum.
Installing : psmisc-22.20-15.el7.x86_64 1/1
Verifying : psmisc-22.20-15.el7.x86_64 1/1

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

Complete!
再次执行[[email protected] OPatch]# ./opatchauto apply /u01/soft/29699097/29708769/

OPatchauto session is initiated at Sun Dec 8 12:54:26 2019

System initialization log file is /u01/app/19c/grid/cfgtoollogs/opatchautodb/systemconfig2019-12-08_12-54-28PM.log.

Session log file is /u01/app/19c/grid/cfgtoollogs/opatchauto/opatchauto2019-12-08_12-54-52PM.log
The id for this session is GI54

Executing OPatch prereq operations to verify patch applicability on home /u01/app/19c/grid
Patch applicability verified successfully on home /u01/app/19c/grid

Bringing down CRS service on home /u01/app/19c/grid
CRS service brought down successfully on home /u01/app/19c/grid

Start applying binary patch on home /u01/app/19c/grid
Binary patch applied successfully on home /u01/app/19c/grid

Starting CRS service on home /u01/app/19c/grid
CRS service started successfully on home /u01/app/19c/grid

OPatchAuto successful.

--------------------------------Summary--------------------------------

Patching is completed successfully. Please find the summary as follows:

Host:19crac1
CRS Home:/u01/app/19c/grid
Version:19.0.0.0.0
Summary:

==Following patches were SKIPPED:

Patch: /u01/soft/29699097/29708769/29401763
Reason: This patch is already been applied, so not going to apply again.

==Following patches were SUCCESSFULLY applied:

Patch: /u01/soft/29699097/29708769/29834717
Log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-12-08_12-57-47PM_1.log

Patch: /u01/soft/29699097/29708769/29850993
Log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-12-08_12-57-47PM_1.log

Patch: /u01/soft/29699097/29708769/29851014
Log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-12-08_12-57-47PM_1.log

OPatchauto session completed at Sun Dec 8 13:03:32 2019
Time taken to complete the session 9 minutes, 6 seconds
不会报错

原文地址:https://blog.51cto.com/zhuozhuo/2456960

时间: 2024-11-05 13:31:47

oracle 19c opatchauto打补丁报错Missing command :fuser的相关文章

Oracle打Patch报错Missing command :fuser

今天在给开发的测试环境安装开发Oracle数据库打Patch时报错: [[email protected] 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 Cen

oracle 12c 安装补丁报错

环境: centos 7.5 oracle 12.2.0.1 报错: 执行一下报错: 更新dba_registry_sqlpatch $ORACLE_HOME/OPatch/datapatch -verbose 将已安装的补丁写入数据库. 报错如图: 解决方法: sqlplus / as sysdba SQL> spool fix_cat_logfile.txt SQL> startup upgrade SQL> spool fix_cat_logfile.txt SQL > @?

RedHat5.5_X64 Linux安装oracle 11.2.0.3 报错

REDHAT linux 安装 11G  11.2.0.3   报错 oracle用户执行./runinstaller后 直接报错 查看日志后 [[email protected] OraInstall2012-06-29_12-08-50AM]# more installActions2012-06-29_12-08-50AM.log  SEVERE: [FATAL] HXZG: HXZG. Refer associated stacktrace #oracle.install.commons

Eclipse项目中加入jquery.js文件报错(missing semicolon)问题

在使用Eclipse3.7及以后的版本的时候,加入jQuery文件会报错(missing semicolon),文件中会显示红色小X,虽然这个错误并不会影响项目的运行,但是这个却会大大的影响到开发人员的心情,看这总是很不爽,怎么样才能解决呢. 很简单,首先我们先分析下造成这种情况的原因,如果你是个心细的人,去研究一下项目中的.project文件,你会发现有这样一段代码,如下:   节点下的这些代码,你会发现第一个有个org.eclipse.wst.jsdt.core.javascriptVali

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

nagios报错NRPE: Command 'check_heartbeat' not defined

最近在做heartbeat监控的时候,在nagios服务器端报警提示:NRPE: Command 'check_heartbeat' not defined 但是在nagios客户端/usr/local/nagios/libexec/check_nrpe -H 192.168.3.211 -c check_heartbeat都能够正常执行,查了很多资料主要有以下几种情况: 1.nagios客户端nrpe.cfg配置文件命令写错 2.nagios客户端libexec下没有此命令 我的都不是上述两种

shell脚本在cygwin下运行报错: $'\r': command not found

在cygwin 下运行shell脚本,出现"$'\r': command not found",这是win dos与Unix文本编辑方式不同造成的.可以使用cygwin工具dos2unix将script改为unix格式. $ dos2unix test.sh dos2unix: converting file test.sh to UNIX format ... $ sh test.sh 如此便可解决. 参见:http://lxs647.iteye.com/blog/2084375 s

iOS 报错: linker command failed with exit code 1 (use -v to see invocation) 原因

在iOS开发中,很多人会遇到这样的报错 linker command failed with exit code 1 (use -v to see invocation) 可能的原因如下: 1.引用出错,把***.h弄成了.m,检查一下你的所有引用: 2.再就是你引用第三方的库,你添加文件是系统没有所第三方库的.m文件参入的编译中去,你向项目添加文件得注意了; 3.找到Build settings->Linking->Other Linker Flags,将此属性修改成-all_load或-O

安装python模块报错 error: command 'gcc' failed with exit status 1

最近在安装paramiko模块的时候,总是报错:error: command 'gcc' failed with exit status 1,一开始比较挠头.找了蛮多资料,说的大多都是说缺少Python-devel 包,然而并不是! 最后蛮费劲的找到了一遍短小但就是正确的博文:http://blog.csdn.net/fenglifeng1987/article/details/38057193 —————————————————————— 解决方法: 安装:yum install gcc li