PSU 報錯 OUI-67124:Copy failed from

snowdba發表於2015-05-30
今天上升級oracle10.2.0.4.4,在打PSU補丁的時候遇到如下錯誤

Copy failed from '/backup/oracle_install/9352164/files/lib/libjox10.a' to '/oracle/product/10.2.0/lib/libjox10.a'... 
Please verify all applications associated with the Oracle Home '/oracle/product/10.2.0' are shut down. If this is AIX, please perform solution documented in Note 739963.1 on .
 
Do you want to retry copying the file? [y|n]
User Responded with: Y
 
意思是複製檔案失敗了,詢問是否重試? 點選Y...最後還是失敗了。
 
安裝失敗後的提示
The following warnings have occurred during OPatch execution:
1) OUI-67124:Copy failed from '/backup/oracle_install/9352164/files/lib/libjox10.a' to '/oracle/product/10.2.0/lib/libjox10.a'...
 
2) OUI-67124:Files check failed: Some files under ORACLE_HOME are not patched. Please see log file for details.

經過檢查發現目標檔案已經存在,這就是複製失敗的原因。
/oracle/product/10.2.0/OPatch> ls -l /oracle/product/10.2.0/lib/libjox10.a
-rwxr-xrwx    1 oracle   dba        13257611 May 10 2008  /oracle/product/10.2.0/lib/libjox10.a
 
解決問題很簡單。將已經存在的目標檔案移走,重新執行opatch apply問題解決。
/oracle/product/10.2.0/OPatch> mv /oracle/product/10.2.0/lib/libjox10.a /oracle/product/10.2.0/lib/libjox10.a.old
 
/oracle/product/10.2.0/OPatch> ./opatch apply /backup/oracle_install/9352164/

這個問題我遇到不多,還以為是什麼疑難雜症,沒想到解決如此容易。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1678649/,如需轉載,請註明出處,否則將追究法律責任。

相關文章