[重慶思莊每日技術分享]-11G 打補丁遇到:unable to get oracle owner for
/u01/app/11.2.0/grid/OPatch/opatch auto /tmp/27475913 -ocmrf /home/grid/ocm.rspExecuting
/u01/app/11.2.0/grid/perl/bin/perl
/u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp -patchn
27475913 -ocmrf /home/oracle/ocm.rsp -paramfile
/u01/app/11.2.0/grid/crs/install/crsconfig_paramsThis is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-05-30_16-02-48.logThis file will show your detected configuration and all the steps that opatchauto attempted to do on your system:/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-05-30_16-02-48.report.log2018-05-30 16:02:48: Starting Clusterware Patch SetupUsing configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
unable to get oracle owner for
這個錯誤的主要原因是LANG環境變數為中文導致opatch不能準確的獲取ORACLE_HOME導致,這應該算是opatch的一個BUG了,但Oracle認為這只是個PROBLEM。
OPATCH AUTO Fails with "unable to get oracle owner for" in Multi-Byte Language Environment [ID 1325256.1]
[root@rac1 tmp]# [root@rac1 tmp]# ll /u01/app/11.2.0/grid/crs/install/crsconfig_params-rwxr-xr-x 1 grid oinstall 4179 5月 27 20:25 /u01/app/11.2.0/grid/crs/install/crsconfig_params
[root@rac1 tmp]#
[root@rac1 tmp]# echo $LANG
zh_CN.UTF-8
[root@rac1 tmp]#
[root@rac1 tmp]#export
[root@rac1 tmp]# /u01/app/11.2.0/grid/OPatch/opatch auto /tmp/27475913
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp -patchn 27475913 -ocmrf /home/grid/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-05-30_17-03-07.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2018-05-30_17-03-07.report.log
2018-05-30 17:03:07: Starting Clusterware Patch SetupUsing configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully
patch /tmp/27475913/27338049 apply failed for home /u01/app/oracle/product/11.2.0/db_1
Stopping CRS...Stopped CRS successfully
patch /tmp/27475913/27338049 apply successful for home /u01/app/11.2.0/grid patch /tmp/27475913/27441052 apply successful for home /u01/app/11.2.0/grid patch /tmp/27475913/22502505 apply failed for home /u01/app/11.2.0/grid
Starting CRS...Installing Trace File AnalyzerCRS-4123: Oracle High Availability Services has been started.
Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully
opatch auto succeeded.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69950318/viewspace-2865618/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [重慶思莊每日技術分享]-PSU實施異常unable to get oracle owner forOracle
- [重慶思莊每日技術分享]-重建 oracle Bootstrap IndexesOraclebootIndex
- [重慶思莊每日技術分享]-oracle 12c透明加密Oracle加密
- [重慶思莊每日技術分享]-Redhat Linux 6.5安裝ORACLE ASMLIBRedhatLinuxOracleASM
- [重慶思莊每日技術分享]-ORACLE 11G以上版本開啟追加日誌的命令Oracle
- [重慶思莊每日技術分享]-oracle ins,INS-32027 during Oracle 12 upgradeOracle
- [重慶思莊每日技術分享]-Oracle expdp ORA-01775: looping chain of synonymsOracleOOPAI
- [重慶思莊每日技術分享]-asynch descriptor resize等待事件事件
- [重慶思莊每日技術分享]-psu報錯“CheckActiveFilesAndExecutables” failedAI
- [重慶思莊每日技術分享]-free buffer waits 等待事件AI事件
- [重慶思莊每日技術分享]-ORACLE 19C 實現不管大小寫Oracle
- [重慶思莊每日技術分享]-安裝GI時報錯“Oracle Restart Integrity”OracleREST
- [重慶思莊每日技術分享]-ora-12592包錯誤
- [重慶思莊每日技術分享]-expdp按日期匯出表
- [重慶思莊每日技術分享]-$ORACLE_HOME/OPatch/ocm/bin/emocmrsp 不再有了Oracle
- [重慶思莊每日技術分享]-ORACLE 12C 新功能 max_idle_timeOracle
- [重慶思莊每日技術分享]-控制檔案自動備份
- [重慶思莊每日技術分享]-重建LOB欄位上的IndexIndex
- [重慶思莊每日技術分享]-清除控制檔案的資訊
- [重慶思莊每日技術分享]-oracle 19c 建立快照報錯:ORA-65227Oracle
- [重慶思莊每日技術分享]-安裝oracle19c時報錯DBT-50000Oracle
- [重慶思莊每日技術分享]-ORACLE19C UNDO共享模式轉換為本地模式Oracle模式
- [重慶思莊每日技術分享]-ORA-16525 dg broker不可用
- [重慶思莊每日技術分享]-監聽的靜默配置安裝
- [重慶思莊每日技術分享]-ORACLE19c刪除EM配置資訊的指令碼Oracle指令碼
- [重慶思莊每日技術分享]-ORA-1142 signalled during: ALTER DATABASE END BACKUPDatabase
- [重慶思莊每日技術分享]-ORA-16018 異常處理記錄
- [重慶思莊每日技術分享]-如何禁止普通使用者使用crontab 命令?
- [重慶思莊每日技術分享]-執行DROP USER ... CASCADE操作刪除很慢
- [重慶思莊每日技術分享]-local_listener導致登入異常
- [重慶思莊每日技術分享]-閃回表時報錯ORA-38305
- [重慶思莊每日技術分享]-11g rac scan ip 如何手動切換到其他節點上
- [重慶思莊每日技術分享]-oracle12c新特性 去重統計函式APPROX_COUNT_DISTINCTOracle函式APP
- [重慶思莊每日技術分享]-安裝oracle12C RAC時可跳過gimr安裝Oracle
- [重慶思莊每日技術分享]-Windows手動離線安裝netframework3.5WindowsFramework
- [重慶思莊每日技術分享]-備庫使用RMAN獲得歸檔日誌
- [重慶思莊每日技術分享]-ORACLE 19C資料庫啟動後,無監聽服務Oracle資料庫
- [重慶思莊每日技術分享]-告警日誌中出現ORA-48132 ORA-48170