Skip to Main Content

Database Software

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Error adding local ocr in oracle restart

user9056222Jun 17 2014 — edited Jun 17 2014

Hi,

I have recently configured oracle grid infrastructure standalone (restart) 11.2.0.1 in a linux x86-64. I want to configure additional OLR (local), but I am getting error while trying to do so. Any help please?

[root@db101 oracle]# cat ocr.loc

ocrconfig_loc=/u02/app/11.2.0/grid/cdata/localhost/local.ocr

local_only=TRUE

[grid@db101 ~]$ crsctl stat res -t

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

NAME           TARGET  STATE        SERVER                   STATE_DETAILS

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

Cluster Resources

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

ora.cssd

      1        ONLINE  ONLINE       db101

ora.diskmon

      1        ONLINE  ONLINE       db101

Now I try to add another local, but the errors are below ( i tried with local option too, but syntax error..)

[root@db101 ~]# /u02/app/11.2.0/grid/bin/ocrconfig -add /u02/app/11.2.0/grid/cdata/localhost/test.ocr

PROT-1: Failed to initialize ocrconfig

[root@db101 client]# cat ocrconfig_2686.log

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

2014-06-17 17:22:44.459: [ OCRCONF][3597385328]ocrconfig starts...

2014-06-17 17:22:44.468: [ OCRCONF][3597385328]Failure in initializing ocr in DEFAULT level. error:[PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]]

2014-06-17 17:22:44.468: [ OCRCONF][3597385328]Exiting [status=failed]...

[root@db101 client]# /u02/app/11.2.0/grid/bin/ocrconfig -local -add /u02/app/11.2.0/grid/cdata/localhost/test.ocr

Name:

        ocrconfig - Configuration tool for Oracle Cluster/Local Registry.

Synopsis:

        ocrconfig [option]

        option:

                [-local] -export <filename>

                                                    - Export OCR/OLR contents to a file

                [-local] -import <filename>         - Import OCR/OLR contents from a file

                [-local] -upgrade [<user> [<group>]]

                                                    - Upgrade OCR from previous version

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2014
Added on Jun 17 2014
5 comments
3,141 views