Aix 7一次補丁安裝失敗問題處理
安裝失敗後,檢視日誌提示以下錯誤:
Stopping CRS...
Stopped CRS successfully
patch /oracle/soft/28813878/28729234 apply successful for home /oracle/app/11.2.0.4/grid
patch /oracle/soft/28813878/28729262 apply failed for home /oracle/app/11.2.0.4/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
opatch auto succeeded.
分析安裝日誌,提示 PRE 安裝失敗,詳細日誌如下所示:
+829 You must apply the patch with the install user
+830 Command invocation returned Error... '', Return Code = 1
+831 Execution of PRE script failed, with return value = 1
+832
+833 Do you want to proceed? [y|n]
+834 N (auto-answered by -silent)
+835 User Responded with: N
+836 ApplySession failed in system modification phase... 'Execution of PRE script failed, with return value = 1'
+837
+838 Restoring "/oracle/app/11.2.0.4/grid" to the state prior to running NApply...
+839 Checking if OPatch needs to invoke 'make' to restore some binaries...
+840 OPatch was able to restore your system. Look at log file and timestamp of each file to make sure your system is i
n the state prior to applying the patch.
……
[May 30, 2019 8:54:44 AM] [SEVERE] OUI-67073:UtilSession failed: ApplySession failed in system modification phase... 'Execution of PRE script failed, with return value = 1'
[May 30, 2019 8:54:44 AM] [INFO] --------------------------------------------------------------------------------
[May 30, 2019 8:54:44 AM] [INFO] The following warnings have occurred during OPatch execution:
[May 30, 2019 8:54:44 AM] [INFO] 1) OUI-67133:Execution of PRE script failed, with return value = 1
[May 30, 2019 8:54:44 AM] [INFO] 2) OUI-67124:ApplySession failed in system modification phase... 'Execution of PRE script failed, with return value = 1'
[May 30, 2019 8:54:44 AM] [INFO] 3) OUI-67124:
NApply restored the home. Please check your ORACLE_HOME to make sure:
- files are restored properly.
- binaries are re-linked correctly.
(use restore.[sh,bat] and make.txt (Unix only) as a reference. They are located under
"/oracle/app/11.2.0.4/grid/.patch_storage/NApply/2019-05-30_08-48-06AM"
根據錯誤提示,顯示該內容需要軟體安裝使用者進行,猜測應該涉及使用者相關問題,透過查詢MOS資訊獲取到該問題在2018年10月GI PSU上,由於報錯相關資訊跟MOS是否吻合,同時使用root使用者驗證$USER資訊和MOS一致,採取MOS提供解決方式嘗試重新安裝,安裝成功。
[oracle@icdb1:/]#su grid -c "echo $USER"
root
根據MOS提示在安裝補丁之前配置使用者環境變數
# export USER=<GRID/DATABASE_SOFTWARE_OWNER>
# echo $USER
# <GRID_HOME>/OPatch/opatch auto <UNZIPPED_PATCH_LOCATION>/28813878
在安裝grid和Oracle補丁時需使用不同的USER進行安裝,否則容易引起補丁安裝失敗。該問題已在AIX 71和AIX 72上出現。
MOS 參考文件:
opatch auto Fails to Apply DBPSU With Error OUI-67133:Execution of PRE script failed and OUI-67124:ApplySession failed in system modification phase ( 文件 ID 2468874.1)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24585765/viewspace-2650574/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- windows10補丁安裝失敗如何處理_win10無法安裝補丁修復方法WindowsWin10
- windows10安裝補丁kb失敗怎麼解決_windows10更新安裝補丁kb失敗如何處理Windows
- 記一次12c pdb打補丁失敗處理過程
- win10安裝KB4565483補丁失敗怎麼回事_win10 KB4565483補丁安裝失敗解決步驟Win10
- python的django安裝失敗如何處理PythonDjango
- linux swap掛載失敗問題處理Linux
- Linux Yum 安裝失敗處理過程整理Linux
- windows10補丁更新失敗怎麼辦_windows10更新補丁安裝錯誤解決方法Windows
- win10系統安裝補丁KB4541335失敗如何解決Win10
- Linux mint系統安裝出現grub2安裝失敗,開機進入grub問題處理Linux
- Composer doctrine/dbal 2.0 安裝失敗問題
- Mac openssl 未找到 / 載入失敗問題處理Mac
- SharePoint or Office 打補丁或產品安裝遇到問題
- win10無法安裝kb4560960補丁怎麼辦_win10系統kb4560960補丁安裝失敗如何修復Win10
- win10系統下安裝KB4530684補丁更新失敗怎麼辦Win10
- Linux解決MySQL-python安裝失敗問題LinuxMySqlPython
- win10更新補丁總是失敗如何修復_win10更新補丁總是失敗怎麼辦Win10
- win10系統realtek安裝失敗如何處理 win10電腦安裝realtek失敗修復方法Win10
- weblogic 12 補丁安裝Web
- 解決Liunx之CentOS 7安裝Redis 6.0.6執行make命令失敗問題CentOSRedis
- Ubuntu中fcitx安裝失敗問題,及軟體換源問題Ubuntu
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- 記一次 Valet 安裝失敗記錄
- Wireshark安裝失敗或找不到網路介面問題
- macOS High Sierra下pyenv安裝多版本失敗問題Mac
- [提問交流]安裝失敗IS_POST
- win10更新程式安裝失敗怎麼解決_win10更新程式一直安裝失敗處理方法Win10
- oracle rac 打PSU補丁30805461兩個問題(Java版本及空間不足導致失敗)OracleJava
- Gaussdb: CN修復失敗對openssl版本依賴問題處理
- 安卓端出現https請求失敗的一次問題排查安卓HTTP
- 解決npm 安裝部分依賴失敗問題總結NPM
- 安裝scrapy失敗
- windows10安裝lol失敗怎麼辦_windows10安裝不了lol如何處理Windows
- 記一次 Kafka 重啟失敗問題排查Kafka
- win10 net3.5離線安裝失敗怎麼處理_win10 net3.5離線安裝失敗如何操作Win10
- win10怎麼解除安裝補丁_解除安裝win10已安裝更新補丁的方法Win10
- win10 64位系統cad2018安裝失敗如何處理Win10
- Mac遊戲安裝常見問題處理Mac遊戲