学无止境
分类: Oracle
2009-12-18 11:06:48
|
| ||
| |||
|
修改时间 02-MAR-2009 类型 PROBLEM 状态 PUBLISHED |
| |
In this Document
Applies to:
Oracle Server - Enterprise Edition - Version:
Sun Solaris SPARC (64-bit)
Symptoms
Installation of
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
- upcoming
- 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 - 关键字
|