oracle 19c opatchauto patching error Missing command: fuser

Environment: rhel7.6 oracle 19c rac
cluster resources states:
[Grid 19crac1 @ ~] $ 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

[grid@19crac1 ~]$ 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
Started ONLINE ONLINE 19crac2 2, 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
operations: playing the latest RU, patch called p29699097_190000_Linux-x86-64.zip
process: follow the instructions readme, the complete replacement OPatch, direct patch
[root @ 19crac1 OPatch] # ./opatchauto apply / u01 / soft / 29699097/29708769 /
error in the process:
[@ 19crac1 the OPatch the root] # Apply ./opatchauto / 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
found fuser command can not find
further investigation [root @ 19crac1 OPatch] Which fuser #
/ usr / bin / Which: NO fuser in (/ usr / local / sbin: / usr / local / bin: / usr / sbin: / usr / bin : / root / bin)
finding is not, my system is minimal installation, may be related to this, so the installation
[root @ 19crac1 ~] # yum Search fuser
Loaded plugins: Product-the above mentioned id, Disabled-Repos-Search, Subscription-Manager
This not Registered with System IS AN Entitlement Server. Subscription by You CAN use-Manager to the Register.
====================== ================================================== ============= Matched: fuser ================================== ================================================== =
psmisc.x86_64: ON your Utilities for Managing System Processes
[@ 19crac1 the root ~] # yum the 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!
Executed again [root @ 19crac1 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
不会报错

Guess you like

Origin blog.51cto.com/zhuozhuo/2456960