APPLIES TO:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Oracle Solaris on SPARC (64-bit)
Sun Solaris SPARC (64-bit)
***Checked for relevance on 06-Jan-2014***
SYMPTOMSCSS service is unable to start on Solaris due to the next error:
# /u01/app/oracle/product/11.1.0/db_1/bin/localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Cleaning up Network socket directories
Setting up Network socket directories
Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started
# cat /home/u01/app/oracle/product/11.1.0/db_1/log/db4/client/clscfg9.log
Oracle Database 11g CRS Release 11.1.0.7.0 - Production Copyright 1996, 2007 Oracle. All rights
reserved.
2009-07-09 13:19:44.466: [ OCROSD][1]utread:3: Problem reading buffer 20bb000 buflen 512
retval 0
phy_offset 102400 retry 0
2009-07-09 13:19:44.466: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.471: [ OCROSD][1]utread:3: Problem reading buffer 2061000 buflen 4096
retval
0 phy_offset 102400 retry 0
2009-07-09 13:19:44.471: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.471: [ OCRRAW][1]propriogid:1: INVALID FORMAT 2009-07-09 13:19:44.471: [ OCROSD][1]utread:3: Problem reading buffer 2061000 buflen 4096
retval
0 phy_offset 102400 retry 0
2009-07-09 13:19:44.471: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.486: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT 2009-07-09 13:19:44.491: [ OCRRAW][1]proprinitroblem reading the bootblock or superbloc 22
2009-07-09 13:19:44.492: [ default][1]a_init:7!: Backend init unsuccessful : [22]
2009-07-09 13:19:44.502: [ OCROSD][1]utread:3: Problem reading buffer 20bb000 buflen 512
retval 0
phy_offset 102400 retry 0
2009-07-09 13:19:44.502: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.502: [ OCROSD][1]utread:3: Problem reading buffer 2061000 buflen 4096
retval
0 phy_offset 102400 retry 0
2009-07-09 13:19:44.502: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.502: [ OCRRAW][1]propriogid:1: INVALID FORMAT 2009-07-09 13:19:44.502: [ OCROSD][1]utread:3: Problem reading buffer 2061000 buflen 4096
retval
0 phy_offset 102400 retry 0
2009-07-09 13:19:44.502: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.502: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT 2009-07-09 13:19:44.502: [ OCRRAW][1]proprinitroblem reading the bootblock or superbloc 22
2009-07-09 13:19:44.510: [ OCROSD][1]utread:3: Problem reading buffer 20bb000 buflen 512
retval 0
phy_offset 102400 retry 0
2009-07-09 13:19:44.510: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.510: [ OCROSD][1]utread:3: Problem reading buffer 2061000 buflen 4096
retval
0 phy_offset 102400 retry 0
2009-07-09 13:19:44.510: [ OCROSD][1]utread:4: Problem reading the buffer errno 2 errstring No
such file or directory
2009-07-09 13:19:44.510: [ OCRRAW][1]propriogid:1: INVALID FORMAT 2009-07-09 13:19:44.753: [ OCRRAW][1]propriowv_bootbuf: Vote information on disk 0
[/u01/app/oracle/product/11.1.0/db_1/cdata/localhost/local.ocr] is adjusted from [0/0] to [2/2]
2009-07-09 13:19:45.286: [ OCRRAW][1]iniconfig:No 92 configuration
CHANGESOS language is set to Czech. CAUSE1) This is a LANG problem. So this can be confirmed by tracing the init.cssd script (executed by the init/inittab), as follow:
h1:3:respawn:/etc/init.d/init.cssd run >/var/log/init-cssd.run 2>&1 </var/log/init-cssd.run
2) /var/log/init-cssd.run log extract:
.
.
.
TZ=
+ export TZ LANG=
+ export LANG
+ /bin/who -b
+ exit 0
BOOTID= . system boot srp 7 16:44
+ /bin/cat /var/opt/oracle/scls_scr/db4/root/cssrun
RUNID= . system boot Aug 7 16:44
+ [ . system boot srp 7 16:44 != . system boot Aug 7 16:
44 ]
+ [ . system boot Aug 7 16:44 = startstack ]
+ exit 3
STATUS=3
+ [ 3 != 0 ]
+ exit 3
+ [ 3 != 0 ] + /bin/sleep 30
.
.
SOLUTION1) Set the LANG environment variable in /etc/init.d/init.cssd script (in GETBOOTID section) to cs_CZ.ISO8859-2:
# Set a null language id. GETBOOTID can also be sensitive to the language
# codes, when init.cssd is run in a user shell compared to being run
# under init. Setting a blank language code should guarantee consistency. LANG=cs_CZ.ISO8859-2
2) Then CSS will start.
$>crsctl check crs
CSS appears healthy
Cannot communicate with CRS
Cannot communicate with EVM