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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle安裝補丁失敗Oracle
- windows10安裝補丁kb失敗怎麼解決_windows10更新安裝補丁kb失敗如何處理Windows
- windows10補丁安裝失敗如何處理_win10無法安裝補丁修復方法WindowsWin10
- 記一次12c pdb打補丁失敗處理過程
- 怎麼樣安裝AIX 補丁或者補丁集AI
- win10安裝KB4565483補丁失敗怎麼回事_win10 KB4565483補丁安裝失敗解決步驟Win10
- PSU補丁安裝不全的問題
- python的django安裝失敗如何處理PythonDjango
- AIX上用geninstall命令安裝補丁包AI
- windows10補丁更新失敗怎麼辦_windows10更新補丁安裝錯誤解決方法Windows
- linux swap掛載失敗問題處理Linux
- Linux Yum 安裝失敗處理過程整理Linux
- Mac openssl 未找到 / 載入失敗問題處理Mac
- Linux mint系統安裝出現grub2安裝失敗,開機進入grub問題處理Linux
- Composer doctrine/dbal 2.0 安裝失敗問題
- brew install mac安裝失敗的問題Mac
- Oracle 安裝補丁Oracle
- win10系統安裝補丁KB4541335失敗如何解決Win10
- win10更新補丁總是失敗如何修復_win10更新補丁總是失敗怎麼辦Win10
- pyOpenSSL版本問題導致Scrapy安裝報錯,打補丁
- windows更新補丁失敗的解決辦法Windows
- win10無法安裝kb4560960補丁怎麼辦_win10系統kb4560960補丁安裝失敗如何修復Win10
- win10系統realtek安裝失敗如何處理 win10電腦安裝realtek失敗修復方法Win10
- 記一次 Valet 安裝失敗記錄
- 安裝失敗????
- 解決Liunx之CentOS 7安裝Redis 6.0.6執行make命令失敗問題CentOSRedis
- 解決debian7下安裝GD擴充套件失敗的問題套件
- 批處理打補丁的方法
- SharePoint or Office 打補丁或產品安裝遇到問題
- win10系統下安裝KB4530684補丁更新失敗怎麼辦Win10
- 10.2.0.2打某補丁失敗的解決方法
- Wireshark安裝失敗或找不到網路介面問題
- android7.0應用安裝失敗的問題Android
- [提問交流]安裝失敗IS_POST
- win10更新程式安裝失敗怎麼解決_win10更新程式一直安裝失敗處理方法Win10
- Ubuntu中fcitx安裝失敗問題,及軟體換源問題Ubuntu
- Gaussdb: CN修復失敗對openssl版本依賴問題處理
- qq安裝出現提取安裝檔案失敗,qq安裝失敗