Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決
CentOS 5.4 x86 Linux安裝oracle rac 10.2.0.1的過程中,執行root.sh的時候報如下錯誤:
rac1@root[/oracle/crs/10.1/bin]> cd .. rac1@root[/oracle/crs/10.1]> ./root.sh WARNING: directory '/oracle/crs' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration |
metalink上查詢到doc id為 466673.1,按如下方法解決
檢查clsfmt命令執行狀況
rac1@root[/oracle/crs/10.1/bin]> ./clsfmt ocr /dev/raw/raw1 clsfmt: Received unexpected error 4 from skgfifi skgfifi: Additional information: -2 Additional information: 104857600 |
下載補丁284719,並用補丁中的clsfmt.bin替換$CRS_HOME/bin/clsfmt.bin檔案
rac1@oracle[/tmp]> unzip *zip Archive: p4679769_10201_LINUX.zip creating: 4679769/ inflating: 4679769/clsfmt.bin inflating: 4679769/README.txt rac1@oracle[/tmp]> cd 4679769/ rac1@oracle[/tmp/4679769]> cp clsfmt.bin /oracle/crs/10.1/bin/ |
再次執行root.sh指令碼
rac1@root[/oracle/crs/10.1]> ./root.sh WARNING: directory '/oracle/crs' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration |
發現還是出錯。
檢查$CRS_HOME/log/rac1/client/下的日子檔案,發現如下資訊,顯示ocr格式錯誤:
rac1@root[/oracle/crs/10.1/log/rac1/client]> vi *6140.log Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved. 2010-04-24 21:32:12.928: [ OCRCONF][1668768]ocrconfig starts... 2010-04-24 21:32:12.930: [ OCRCONF][1668768]Upgrading OCR data 2010-04-24 21:32:13.142: [ OCRRAW][1668768]propriogid:1: INVALID FORMAT 2010-04-24 21:32:13.160: [ OCRRAW][1668768]ibctx:1:ERROR: INVALID FORMAT 2010-04-24 21:32:13.161: [ OCRRAW][1668768]proprinit:problem reading the bootblock or superbloc 22 2010-04-24 21:32:13.161: [ default][1668768]a_init:7!: Backend init unsuccessful : [22] 2010-04-24 21:32:13.161: [ OCRCONF][1668768]Exporting OCR data to [OCRUPGRADEFILE] 2010-04-24 21:32:13.162: [ OCRAPI][1668768]a_init:7!: Backend init unsuccessful : [33] 2010-04-24 21:32:13.162: [ OCRCONF][1668768]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured] 2010-04-24 21:32:13.329: [ OCRRAW][1668768]propriogid:1: INVALID FORMAT 2010-04-24 21:32:13.330: [ OCRRAW][1668768]ibctx:1:ERROR: INVALID FORMAT 2010-04-24 21:32:13.330: [ OCRRAW][1668768]proprinit:problem reading the bootblock or superbloc 22 2010-04-24 21:32:13.331: [ default][1668768]a_init:7!: Backend init unsuccessful : [22] 2010-04-24 21:32:13.495: [ OCRRAW][1668768]propriogid:1: INVALID FORMAT 2010-04-24 21:32:13.496: [ OCRRAW][1668768]ibctx:1:ERROR: INVALID FORMAT 2010-04-24 21:32:13.496: [ OCRRAW][1668768]proprinit:problem reading the bootblock or superbloc 22 2010-04-24 21:32:13.729: [ OCRRAW][1668768]propriogid:1: INVALID FORMAT 2010-04-24 21:32:13.788: [ OCRRAW][1668768]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [2/2] 2010-04-24 21:32:13.822: [ OCRRAW][1668768]propriniconfig:No 92 configuration 2010-04-24 21:32:13.822: [ OCRAPI][1668768]a_init:6a: Backend init successful 2010-04-24 21:32:13.992: [ OCRCONF][1668768]Initialized DATABASE keys in OCR 2010-04-24 21:32:14.104: [ OCRCONF][1668768]csetskgfrblock0: clsfmt returned with error [4]. 2010-04-24 21:32:14.105: [ OCRCONF][1668768]Failure in setting block0 [-1] 2010-04-24 21:32:14.105: [ OCRCONF][1668768]OCR block 0 is not set ! 2010-04-24 21:32:14.133: [ OCRCONF][1668768]Exiting [status=failed]... |
使用dd命令將ocr資訊刪除
rac1@root[/oracle/crs/10.1/log/rac1/client]> dd if=/dev/zero of=/dev/raw/raw1 bs=1M count=256 dd: writing `/dev/raw/raw1': No space left on device 101+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 1.98218 seconds, 52.9 MB/s |
再次執行root.sh指令碼
rac1@root[/oracle/crs/10.1/log/rac1/client]> /oracle/crs/10.1/root.sh WARNING: directory '/oracle/crs' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/oracle/crs' is not owned by root WARNING: directory '/oracle' is not owned by root assigning default hostname rac1 for node 1. assigning default hostname rac2 for node 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node node 1: rac1 rac1-priv rac1 node 2: rac2 rac2-priv rac2 Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Now formatting voting device: /dev/raw/raw2 format of 1 voting devices complete. Startup will be queued to init within 90 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. |
至此,問題解決
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22049049/viewspace-1033180/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- 10G RAC安裝時Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Failed to upgrade Oracle Cluster Registry configuration的解決辦法AIOracle
- Failed to upgrade Oracle Cluster Registry configuration (安裝RAC10201)AIOracle
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- 安裝oracle11g遇到的執行root.sh指令碼問題Oracle指令碼
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- Oracle 12cR2 RAC安裝配置及問題解決Oracle
- Oracle RAC之--安裝過程中碰到的問題及解決方法Oracle
- 安裝Oracle RAC時,不能驗證ASMSNMP密碼問題的解決OracleASM密碼
- 【流雲】Solaris安裝RAC執行root.sh失敗解決一例
- The Oracle Clusterware Voting Disk and Oracle Cluster RegistryOracle
- AIX5.3安裝 ORACLE 10.2 RAC 執行root.sh出現lsdb: Cannot allocate memory of size 0 錯誤的解決方法AIOracle
- INS-20802 ORACLE NET CONFIGURATION ASSISTANT FAILED 問題解決OracleAI
- 安裝oracle10gRAC在node2節點上執行root.sh失敗的問題Oracle
- oracle 11gR2 rac 執行root.sh建立diskgroup 不成功問題總結Oracle
- 解決ORACLE無法啟動安裝的問題Oracle
- Root.sh failed at Failure at final check of Oracle CRS stack 10 問題AIOracle
- oracle rac asm 問題的官方解決辦法OracleASM
- Oracle10g RAC 在Linux AS4.0安裝出現的問題解決OracleLinux
- 10g rac安裝crs,執行root.sh報錯
- 安裝oracle 10g rac 的一個問題。Oracle 10g
- oracle之 安裝 11G RAC 報 NTP failedOracleAI
- Linux下安裝Oracle時報swap不夠解決方法LinuxOracle
- Oracle Net Configuration Assistant failed異常的解決方案OracleAI
- inux安裝oracle rac機器的時間同步問題UXOracle
- 安裝oracle 10g rac 的一個問題(續)Oracle 10g
- redhat as4 安裝oracle 9204 rac啟動Oracle Cluster Manager報錯!RedhatOracle
- Oracle10g for AIX6.1安裝問題解決OracleAI
- oracle 11gr2 rac 虛擬安裝問題Oracle
- oracle 11gR2 rac 安裝問題總結Oracle
- aix6安裝oracle 10g rac問題AIOracle 10g
- 水煮oracle19——《oracle rac安裝中mount -t ocfs2的問題Oracle