oracle root.sh报错,oracle 11g r2 的rac,执行root.sh脚本时报错,求教!

[root@rac1 install]# /u01/app/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying dbhome to /usr/local/bin ...

The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying oraenv to /usr/local/bin ...

The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

2012-04-08 18:57:39: Parsing the host name

2012-04-08 18:57:39: Checking for super user privileges

2012-04-08 18:57:39: User has super user privileges

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Failure with signal 11 from command: /u01/app/11.2.0/grid/bin/ocrconfig -local -upgrade grid oinstall

Failed to create or upgrade OLR

--------------------------------------------------------------------------------------------------------------

cat /u01/app/11.2.0/grid/log/rac1/alertrac1.log

Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.

2012-04-08 14:55:05.762

[client(30841)]CRS-2106:The OLR location /u01/app/11.2.0/grid/cdata/rac1.olr is inaccessible. Details in /u01/app/11.2.0/grid/log/rac1/client/ocrconfig_30841.log.

2012-04-08 15:35:27.427

[client(32516)]CRS-2106:The OLR location /u01/app/11.2.0/grid/cdata/rac1.olr is inaccessible. Details in /u01/app/11.2.0/grid/log/rac1/client/ocrconfig_32516.log.

2012-04-08 15:38:43.968

[client(32614)]CRS-2106:The OLR location /u01/app/11.2.0/grid/cdata/rac1.olr is inaccessible. Details in /u01/app/11.2.0/grid/log/rac1/client/ocrconfig_32614.log.

2012-04-08 18:57:40.153

[client(5865)]CRS-2106:The OLR location /u01/app/11.2.0/grid/cdata/rac1.olr is inaccessible. Details in /u01/app/11.2.0/grid/log/rac1/client/ocrconfig_5865.log.

---------------------------------------------------------------------------------------------------------------

[root@rac1 install]# cat /u01/app/11.2.0/grid/log/rac1/client/ocrconfig_5865.log

Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.

2012-04-08 18:57:40.145: [ OCRCONF][3046917824]ocrconfig starts...

2012-04-08 18:57:40.146: [ OCRCONF][3046917824]Upgrading OCR data

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 0

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 1

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 2

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 3

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 4

2012-04-08 18:57:40.149: [  OCROSD][3046917824]utread:3: Problem reading buffer 94ef000 buflen 4096 retval 0 phy_offset 102400 retry 5

2012-04-08 18:57:40.149: [  OCRRAW][3046917824]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.

2012-04-08 18:57:40.149: [  OCRRAW][3046917824]proprioini: all disks are not OCR/OLR formatted

2012-04-08 18:57:40.149: [  OCRRAW][3046917824]proprinit: Could not open raw device

2012-04-08 18:57:40.149: [ default][3046917824]a_init:7!: Backend init unsuccessful : [26]

2012-04-08 18:57:40.149: [ OCRCONF][3046917824]Exporting OCR data to [OCRUPGRADEFILE]

2012-04-08 18:57:40.150: [  OCRAPI][3046917824]a_init:7!: Backend init unsuccessful : [33]

2012-04-08 18:57:40.150: [ OCRCONF][3046917824]There was no previous version of OCR. error:[PROCL-33: Oracle Local Registry is not configured]

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 0

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 1

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 2

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 3

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 4

2012-04-08 18:57:40.151: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 5

2012-04-08 18:57:40.151: [  OCRRAW][3046917824]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.

2012-04-08 18:57:40.151: [  OCRRAW][3046917824]proprioini: all disks are not OCR/OLR formatted

2012-04-08 18:57:40.151: [  OCRRAW][3046917824]proprinit: Could not open raw device

2012-04-08 18:57:40.151: [ default][3046917824]a_init:7!: Backend init unsuccessful : [26]

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 0

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 1

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 2

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 3

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 4

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 5

2012-04-08 18:57:40.152: [  OCRRAW][3046917824]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 0

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 1

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 2

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 3

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 4

2012-04-08 18:57:40.152: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 5

2012-04-08 18:57:40.154: [  OCRRAW][3046917824]ibctx: Failed to read the whole bootblock.  Assumes invalid format.

2012-04-08 18:57:40.154: [  OCRRAW][3046917824]proprinit

4f06a01a81d5603cca001c0e92e5ebda.gifroblem reading the bootblock or superbloc 22

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 0

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 1

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 2

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 3

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 4

2012-04-08 18:57:40.154: [  OCROSD][3046917824]utread:3: Problem reading buffer 94f0000 buflen 4096 retval 0 phy_offset 102400 retry 5

2012-04-08 18:57:40.154: [  OCRRAW][3046917824]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.

-----------------------------------------------------------------------------------------------------------------------------------------------

vim /u01/app/11.2.0/grid/crs/install/crsconfig_params

ORA_ASM_GROUP=asmadmin

ASM_DISK_GROUP= #e.g DG_CRS

ASM_DISCOVERY_STRING= #e.g /dev/oracleasm/disks/*

ASM_DISKS=  # e.g /dev/oracleasm/disks/CRS_VOTE01,/dev/oracleasm/disks/CRS_VOTE02,/dev/oracleasm/disks/CRS_VOTE03

之所以改,是看了这篇帖子

https://cn.forums.oracle.com/forums/thread.jspa?messageID=9740569

------------------------------------------------------------------------------------------------------------------------------------------

then rerun the root.sh

[root@rac1 install]# /u01/app/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying dbhome to /usr/local/bin ...

The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying oraenv to /usr/local/bin ...

The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

2012-04-08 19:53:12: Parsing the host name

2012-04-08 19:53:12: Checking for super user privileges

2012-04-08 19:53:12: User has super user privileges

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Improper Oracle Clusterware configuration found on this host

Deconfigure the existing cluster configuration before starting

to configure a new Clusterware

run '/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig'

to configure existing failed configuration and then rerun root.sh

这次的报错和第一次执行root.sh时出现的报错提示是一样的

------------------------------------------------------------------------------------------------------------------------------------------

[root@rac1 install]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig

2012-04-08 19:53:46: Parsing the host name

2012-04-08 19:53:46: Checking for super user privileges

2012-04-08 19:53:46: User has super user privileges

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Oracle Clusterware stack is not active on this node

Restart the clusterware stack (use /u01/app/11.2.0/grid/bin/crsctl start crs) and retry

Failed to verify resources

----------------------------------------------------------------------------------------------------------------------------------------------

[root@rac1 install]#  /u01/app/11.2.0/grid/bin/crsctl start crs

Failure at scls_scr_setval with code 8

Internal Error Information:

Category: -2

Operation: failed

Location: scrsearch3

Other: id doesnt exist scls_scr_setval

System Dependent Information: 2

CRS-4000: Command Start failed, or completed with errors.

--------------------------------------------------------------------------------------------------------------------------------------

有个问题,11g rac做的时候,我要配置raw么?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值