本帖最后由 莫不言 于 2013-3-26 19:11 编辑
在第一个节点执行没有问题,在另一节点执行的时候报错.求解
# /oracle/oraInventory/orainstRoot.sh
Changing permissions of /oracle/oraInventory to 775.
Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete
# /oracle/product/10.2.0/crs/root.sh
WARNING: directory '/oracle/product/10.2.0' is not owned by root
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
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
# ls -la /dev/ocr1
crw-r-----1 root oinstall 13,3 Mar 26 14:16 /dev/ocr1
# ls -la /dev/rhdisk*
crw-------2 root system 13,1 Mar 25 02:36 /dev/rhdisk0
crw-------1 root system 13,2 Mar 25 02:36 /dev/rhdisk1
crw-r-----1 root oinstall 13,4 Mar 25 06:30 /dev/rhdisk2
crw-rw----1 oracle oinstall 13,3 Mar 25 06:30 /dev/rhdisk3
crw-rw----1 oracle oinstall 13,8 Mar 25 06:30 /dev/rhdisk4
crw-r--r--1 oracle oinstall 13,7 Mar 25 06:30 /dev/rhdisk5
crw-rw----1 oracle oinstall 13,6 Mar 25 06:30 /dev/rhdisk6
crw-rw----1 oracle oinstall 13,5 Mar 25 06:30 /dev/rhdisk7
crw-r--r--1 oracle oinstall 13,9 Mar 25 07:17 /dev/rhdisk8
查看节点2安装日志
# tail -f alert3r-lpar1.log
2013-03-26 18:59:21.383
[client(6094980)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6094980.log.
2013-03-26 18:59:21.440
[client(6094980)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6094980.log.
2013-03-26 19:00:33.782
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log.
2013-03-26 19:00:33.839
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log.
2013-03-26 19:00:33.896
[client(6619334)]CRS-1011:OCR cannot determine that the OCR content contains the latest updates. Details in /oracle/product/10.2.0/crs/log/3r-lpar1/client/ocrconfig_6619334.log
# tail ocrconfig_6619334.log
2013-03-26 19:00:33.839: [OCRRAW][1]propriogid:1: INVALID FORMAT
2013-03-26 19:00:33.839: [OCRRAW][1]proprioini: disk 0 (/dev/rhdisk2) doesn't have enough votes (1,2)
2013-03-26 19:00:33.839: [OCRRAW][1]proprinit: Could not open raw device
2013-03-26 19:00:33.840: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2013-03-26 19:00:33.896: [OCRRAW][1]propriogid:1: INVALID FORMAT
2013-03-26 19:00:33.896: [OCRRAW][1]proprioini: disk 0 (/dev/rhdisk2) doesn't have enough votes (1,2)
2013-03-26 19:00:33.896: [OCRRAW][1]proprinit: Could not open raw device
2013-03-26 19:00:33.896: [OCRAPI][1]a_init:6b!: Backend init unsuccessful : [26]
2013-03-26 19:00:33.896: [ OCRCONF][1]Failed to initialized OCR context. error:[PROC-26: Error while accessing the physical storage]
2013-03-26 19:00:33.896: [ OCRCONF][1]Exiting [status=failed]...
# .
|