10G RAC 安裝問題解決記錄

2021-05-25 07:23:10 字數 4217 閱讀 7653

**

[root@rac01 ~]# sh /oracle/product/crs/root.sh

warning: directory '/oracle/product' 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

[root@rac01 ~]# cd /oracle/product/crs/

admin  alertrac01.log  client  crsd  cssd  evmd  racg

[root@rac01 rac01]# cat alertrac01.log

2010-09-03 10:04:12.471

[client(7885)]crs-1006:the ocr location /dev/raw/raw1 is inaccessible. details in /oracle/product/crs/log/rac01/client/ocrconfig_7885.log.

2010-09-03 10:04:12.535

[client(7885)]crs-1006:the ocr location /dev/raw/raw1 is inaccessible. details in /oracle/product/crs/log/rac01/client/ocrconfig_7885.log.

2010-09-03 10:04:12.564

[client(7885)]crs-1006:the ocr location /dev/raw/raw1 is inaccessible. details in /oracle/product/crs/log/rac01/client/ocrconfig_7885.log.

2010-09-03 10:04:12.615

[client(7885)]crs-1001:the ocr was formatted using version 2.

[root@rac01 rac01]# ls

admin  alertrac01.log  client  crsd  cssd  evmd  racg

[root@rac01 rac01]# cd client/

[root@rac01 client]# ls

ocrcheck_7961.log  ocrcheck_8200.log  ocrconfig_7885.log  ocrconfig_8197.log

[root@rac01 client]# vi ocrconfig_7885.log

2010-09-03 10:04:12.242: [ ocrconf][3086911168]ocrconfig starts...

2010-09-03 10:04:12.243: [ ocrconf][3086911168]upgrading ocr data

2010-09-03 10:04:12.469: [  ocrraw][3086911168]propriogid:1:invalid format

2010-09-03 10:04:12.471: [  ocrraw][3086911168]ibctx:1:error: invalid format

2010-09-03 10:04:12.471: [  ocrraw][3086911168]proprinit:problem reading the bootblock or superbloc 22

2010-09-03 10:04:12.471: [ default][3086911168]a_init:7!: backend init unsuccessful : [22]

2010-09-03 10:04:12.472: [ ocrconf][3086911168]exporting ocr data to [ocrupgradefile]

2010-09-03 10:04:12.472: [  ocrapi][3086911168]a_init:7!: backend init unsuccessful : [33]

2010-09-03 10:04:12.472: [ ocrconf][3086911168]there was no previous version of ocr. error:[proc-33: oracle cluster registry is not configured]

2010-09-03 10:04:12.534: [  ocrraw][3086911168]propriogid:1: invalid format

2010-09-03 10:04:12.535: [  ocrraw][3086911168]ibctx:1:error: invalid format

2010-09-03 10:04:12.535: [  ocrraw][3086911168]proprinit:problem reading the bootblock or superbloc 22

metalink上查詢到doc id為 466673.1,按如下方法解決

檢查clsfmt命令執行狀況:

[root@rac01 bin]$./clsfmt ocr /dev/raw/raw1

clsfmt: received unexpected error 4 from skgfifi

skgfifi: additional information: -2

additional information: 104857600

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/product/crs/bin/

使用dd命令將ocr資訊刪除(如果補丁檔案替換後,不dd清理ocr,執行root.sh報錯還是一樣,切記)

[root@rac01 bin]dd if=/dev/zero of=/dev/raw/raw1 bs=1024 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,問題解決

sql> alter diskgroup dg1 mount;

alter diskgroup dg1 mount

*error at line 1:

ora-15032: not all alterations performed

ora-15063: asm discovered an insufficient number of disks for diskgroup "dg1"

error: no pst quorum in group 1: required 2, found 0

error: diskgroup dg1 was not mounted

metalink(309815.1): there are two issues with using multipath disks in asm. asm cannot handle seeing the same disk twice. if it does, it will cause an error.

vi /etc/sysconfig/oracleasm

oracleasm_scanorder=」oracleasm」

oracleasm_scanexclude=」sdb sdc sdd sde sdf」

python問題解決記錄

一 python程式在64位電腦和32位電腦的相容性問題 1 今天遇到乙個問題,在64位機器上生成乙個exe之後,在32位電腦上不能執行,提示是相容性問題。查了一資料後發現,是因為我的生成exe的電腦上的python虛擬機器是64位的,那麼py2exe生成的exe自然是64位的,因此為了程式的相容性...

Tensorboard 問題解決記錄

具體可見 1.port 6006 was already in use 執行下面命令時 e0117 15 58 38.631224 mainthread program.py 260 tensorboard attempted to bind to port 6006,but it was alre...

Hadoop問題解決記錄

1.解決unable to load native hadoop library for your platform告警 首先找到對應自己hadoop版本的64位的lib包,可以自己手動去編譯,但比較麻煩,也可以去網上找,好多都有已經編譯好了的。將準備好的64位的lib包解壓到已經安裝好的hadoo...