溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

oracle 19c opatchauto打補丁報錯Miss

發布時間:2020-02-27 03:03:37 來源:網絡 閱讀:765 作者:fanzhuozhuo 欄目:關系型數據庫

環境:rhel7.6 oracle 19c rac
集群資源狀態
[grid@19crac1 ~]$ crsctl stat res -t -init
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

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

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,直接打補丁
[root@19crac1 OPatch]# ./opatchauto apply /u01/soft/29699097/29708769/
在過程中報錯:
[root@19crac1 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/opatch3019-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命令找不到
進一步排查[root@19crac1 OPatch]# which fuser
/usr/bin/which: no fuser in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
發現就是沒有,我的系統為minimal安裝,可能與這個有關系,所以安裝
[root@19crac1 ~]# 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
[root@19crac1 ~]# 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!
再次執行[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/opatch3019-12-08_12-57-47PM_1.log

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

Patch: /u01/soft/29699097/29708769/29851014
Log: /u01/app/19c/grid/cfgtoollogs/opatchauto/core/opatch/opatch3019-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
不會報錯

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女