Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCR Invalid Format

DaljitAug 13 2009 — edited Aug 13 2009
Hi all,

I am having trouble recreating CSS service on my non RAC but with ASM machine. Everything was working fine but we had to change the hostname of the box and after that when I tried to recreate css using localconfig reset or localconfig delete & localconfig add, its failing with local.ocr invalid format error. In RAC env this means we don't have first MB free in the voting disk (raw partition) but this is not RAC and when I run localconfig add it creates $ORACLE_HOME/cdata/localhost/local.ocr file from scratch and it's complaining about the same file. All the metalink notes and google search talk about fixing voting disk but I dont have one in non RAC env and dont know what to do. Here are some of the logs:

$ORACLE_HOME/log/<hostname>/alert<hostname>.log

[client(983294)]CRS-1006:The OCR location /u01/app/oracle/product/10.2.0/cdata/localhost/local.ocr is inaccessible. Details in /u01/app/oracle/product/10.2.0/log/ftw01/client/clscfg_983294.log.

Here is /u01/app/oracle/product/10.2.0/log/ftw01/client/clscfg_983294.log:

2009-08-13 08:29:15.283: [ OCROSD][1]utread:3: problem reading buffer 11f4a7f0
buflen 512 retval 0 phy_offset 102400 retry 0
2009-08-13 08:29:15.283: [ OCROSD][1]utread:4: problem reading the buffer errno
2 errstring No such file or directory
2009-08-13 08:29:15.283: [ OCROSD][1]utread:3: problem reading buffer ffff8da0
buflen 4096 retval 0 phy_offset 102400 retry 0
2009-08-13 08:29:15.283: [ OCROSD][1]utread:4: problem reading the buffer errno
2 errstring No such file or directory
2009-08-13 08:29:15.283: [ OCRRAW][1]propriogid:1: INVALID FORMAT
2009-08-13 08:29:15.320: [ OCRRAW][1]propriowv: Vote information on disk 0 [/u0
1/app/oracle/product/10.2.0/cdata/localhost/local.ocr] is adjusted from [0/0] to
[2/2]

css.log shows

2009-08-13 08:29:26.992: [ CSSCLNT][1]clsssInitNative: connect failed, rc 9


I do have an entry of new hostname in /etc/hosts file and I also cleared all the socket info of prev CRS by deleting /tmp/.oracle and /var/tmp/.oracle

Don't know where else to look. All the online material suggests to keep around 1MB free space in header of voting disk but it's not RAC but the error is same and dont know how to fix.

Oralce 10gR2 10.2.0.2
AIX 5300-09

Please any help is appreciated.

Any inputs please.....


Thanks
Daljit Singh

Edited by: Daljit on Aug 13, 2009 1:14 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 10 2009
Added on Aug 13 2009
0 comments
828 views