Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1150186
  • 博文数量: 231
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 2662
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-03 16:35
个人简介

学无止境

文章分类

全部博文(231)

文章存档

2014年(7)

2013年(103)

2011年(11)

2010年(53)

2009年(57)

分类: Oracle

2009-12-18 11:06:48

10g RAC CRS INSTALLATION FAILS WHILE RUNNING ROOT.SH [ID 395697.1]

 


 

修改时间 02-MAR-2009     类型 PROBLEM     状态 PUBLISHED

 

In this Document
  
  
  
  


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1.0 to 10.2.0.4.0
Sun Solaris SPARC (64-bit)

Symptoms

Installation of 10g Release 2 RAC on Sun Solaris 9. While installing Oracle Clusterware, the following error is encountered while running the root.sh script:

2006-10-05 21:39:24.185: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2006-10-05 21:39:24.194: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-10-05 21:39:24.195: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-10-05 21:39:24.195: [ OCRRAW][1]proprioini: both disks are not OCR formatted
2006-10-05 21:39:24.195: [ OCRRAW][1]proprinit: Could not open raw device
2006-10-05 21:39:24.195: [ default][1]a_init:7!: Backend init unsuccessful :[26]
2006-10-05 21:39:24.209: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-10-05 21:39:24.210: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2006-10-05 21:39:24.212: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2006-10-05 21:39:24.212: [ OCRRAW][1]proprinit:problem reading the bootblock or superbloc 22


.

Cause

This issue is caused by the host name problem as explained in 

-- CSS NOT STARTING UP IF HOSTNAME HAS CAPITAL LETTERS- SOLARIS

Rediscovery Information:
On Solaris, when the hostname is in Capital, the following
errors might be noticed when using crs scripts.

Failure at scls_scr_create with code 1
Category: 1234
Operation: scls_scr_create
Location: mkdir
Other: Unable to make user dir
Dep: 2



Solution

This basically happens because awk does not have the tolower() function in the Sun Solaris. The call to tolower() on Solaris 9 and Solaris 10 returns the unchanged uppercase hostname.

The followings options are available to resolve this:

1.   Change the host name to lower case.

OR

2.  "nawk" has the tolower() function. Setup a symbolic link to "nawk" 

- Find which awk is in your path

# which awk
/usr/bin/awk

- Rename awk utility
# mv awk awk_org

- Create a symbolic link
# ln -s /usr/bin/nawk /usr/bin/awk

- Type ls -l to see the link is created

# ls -l awk
lrwxrwxrwx 1 root other 13 Nov 17 12:09 awk -> /usr/bin/nawk


is fixed in:

-  version 11g
-  upcoming 10.2.0.5 patchset
-  oneoff patches available for several platforms on top of 10.2.0.3 & 10.2.0.4. patchsets

References

- CSS NOT STARTING UP IF HOSTNAME HAS CAPITAL LETTERS- SOLARIS


 

相关的


产品


·   Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

关键字


OCR; INVALID FORMAT; CLUSTERWARE

 

阅读(1374) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~