powerlinux下安裝10grac(三)
開始執行root.sh.
報錯,說是selinux沒有改。修改/etc/下面一個檔案,然後重新啟動。
重新安裝,到執行root.sh的時候還是報錯,參考網上這個資訊,下載了補丁
在Linux AS 5.4上安裝 RAC 10.2.0.1,使用多路徑軟體對映出來的虛擬磁碟分割槽儲存OCR和VOTE DISK資訊。執行root.sh時報錯"Failed to upgrade Oracle Cluster Registry configuration"。
報錯具體資訊如下:
[root@rac11 ~]# /u01/app/oracle/product/10.2.0/crshome_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' 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
分析ocrconfig.log日誌,錯誤資訊如下:
[root@rac11 ~]# more /u01/app/oracle/product/10.2.0/crshome_1/log/rac11/client/ocrconfig_11282.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
2012-11-16 14:36:56.567: [ OCRCONF][521395072]ocrconfig starts...
2012-11-16 14:36:56.567: [ OCRCONF][521395072]Upgrading OCR data
2012-11-16 14:36:56.572: [ OCRCONF][521395072]OCR already in current version.
2012-11-16 14:36:56.579: [ OCRCONF][521395072]Failed to call clsssinit (21)
2012-11-16 14:36:56.579: [ OCRCONF][521395072]Failed to make a backup copy of OCR
2012-11-16 14:36:56.579: [ OCRCONF][521395072]Exiting [status=failed]...
[root@rac11 ~]#
使用dd清理raw1,raw2裸裝置
dd if=/dev/zero of=/dev/raw/raw1 bs=8192K count=10
dd if=/dev/zero of=/dev/raw/raw2 bs=8192K count=10
清理結果正常,不是磁碟不能讀或者儲存有舊的配置資訊。
於是查詢oracle官網,說這是一個bug.
在 5.4 RAC multipath 配置raw,執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configuration 。
使用clsfmt.bin檢查一下。
[root@rac11 ~]# /u01/app/oracle/product/10.2.0/crshome_1/bin/clsfmt.bin ocr /dev/raw/raw1
clsfmt: Received unexpected error 4 from skgfifi
skgfifi: Additional information: -2
Additional information: -2147483648
oracle 釋出的補丁包p4679769_10201_Linux-x86-64.zip。補丁包中的clsfmt.bin檔案替換到系統bin目錄的同名稱檔案即可。
替換完成後往前走了一步,但是還是報錯。
資訊如下
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
2014-11-07 19:27:54.810: [ OCRCONF][1951239456]ocrconfig starts...
2014-11-07 19:27:54.810: [ OCRCONF][1951239456]Upgrading OCR data
2014-11-07 19:27:54.970: [ OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.971: [ OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.971: [ OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22
2014-11-07 19:27:54.971: [ default][1951239456]a_init:7!: Backend init unsuccessful : [22]
2014-11-07 19:27:54.971: [ OCRCONF][1951239456]Exporting OCR data to [OCRUPGRADEFILE]
2014-11-07 19:27:54.971: [ OCRAPI][1951239456]a_init:7!: Backend init unsuccessful : [33]
2014-11-07 19:27:54.971: [ OCRCONF][1951239456]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2014-11-07 19:27:54.976: [ OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.976: [ OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.976: [ OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22
2014-11-07 19:27:54.977: [ default][1951239456]a_init:7!: Backend init unsuccessful : [22]
2014-11-07 19:27:54.981: [ OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.982: [ OCRRAW][1951239456]ibctx:1:ERROR: INVALID FORMAT
2014-11-07 19:27:54.982: [ OCRRAW][1951239456]proprinit:problem reading the bootblock or superbloc 22
2014-11-07 19:27:54.987: [ OCRRAW][1951239456]propriogid:1: INVALID FORMAT
2014-11-07 19:27:54.997: [ OCRRAW][1951239456]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [2/2]
2014-11-07 19:27:55.005: [ OCRRAW][1951239456]propriniconfig:No 92 configuration
2014-11-07 19:27:55.005: [ OCRAPI][1951239456]a_init:6a: Backend init successful
2014-11-07 19:27:55.031: [ OCRCONF][1951239456]Initialized DATABASE keys in OCR
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]csetskgfrblock0: clsfmt returned with error [1].
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]Failure in setting block0 [-1]
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]OCR block 0 is not set !
2014-11-07 19:27:55.148: [ OCRCONF][1951239456]Exiting [status=failed]...
[root@db2 client]#
一時無法解決,來日再說
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13337857/viewspace-1326483/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- powerlinux下安裝10grac(四)Linux
- powerlinux下安裝10grac(一)Linux
- 10gRAC安裝-系統配置
- 10gRAC 安裝遇到Invalid node name "RACTEST1” entered
- AIX5.3+HACMP5.3+ORACLE 10GRAC安裝報錯記錄AIACMOracle 10g
- Linux上安裝配置GFS檔案系統的10gRACLinux
- ubuntu下安裝程式的三種方法Ubuntu
- 三、偽分佈環境下安裝hbase
- linux4.0下安裝oracle RAC(三)LinuxOracle
- Linux 下的三大軟體安裝方式Linux
- FreeBSD下安裝配置Hadoop叢集(三)Hadoop
- 三、Docker安裝Docker
- homebrew下載安裝及mysql的下載安裝MySql
- DG_安裝三
- windows 下安裝Windows
- Linux下安裝、解除安裝mysqlLinuxMySql
- linux下安裝snap安裝工具Linux
- 三菱 MX COMPONENT下載及安裝測試
- windows下Oracle靜默安裝所需orcl.dbc-----之三WindowsOracle
- redhat AS5 下安裝oracle的三種儲存方式RedhatOracle
- Windows下的Memcache安裝 linux下的Memcache安裝WindowsLinux
- jmeter下載安裝及外掛安裝JMeter
- Linux下JDK安裝與解除安裝LinuxJDK
- typora下載安裝以及notepad++下載安裝
- ZooKeeper三種安裝模式模式
- Oracle GoldenGate安裝(三)OracleGo
- OpenStack安裝(三) Nova模組
- Statspack之三-安裝statspack
- Win2000下Bugzilla安裝實錄(三) (轉)
- centos下安裝dockerCentOSDocker
- docker 下安裝postgresqlDockerSQL
- ubuntu下安裝mysqlUbuntuMySql
- ubuntu下安裝oracleUbuntuOracle
- ubuntu下安裝thriftUbuntu
- Ubuntu下安裝CUDAUbuntu
- windows 下安裝 nvmWindows
- windows 下安裝 yarnWindowsYarn
- Ubuntu下JDK安裝UbuntuJDK