Friday, October 12, 2012

PRKH-1010 : Unable to Communicate With CRS Services During Listener Configuration 

After installing the Oracle Binaries for stand alone server when I tried to manually create the listener after Net configuration assistant failed during installation, I hit following error. 
Though it was surprising that it was showing error of CRS on stand alone server!!!

This was due to the bug with 11201 binaries which was causing this issue. 
[oracle@oem ~]$ cd /u01/app/oracle/product/11.0/db_1/bin/
[oracle@oem bin]$ ./netca
oracle.ops.mgmt.cluster.ClusterException: PRKH-1010 : Unable to communicate with CRS services.
  [Communications Error(Native: prsr_initCLSS:[3])]
        at oracle.ops.mgmt.cluster.GetActiveNodes.<init>(
        at oracle.ops.mgmt.cluster.GetActiveNodes.create(
        at oracle.ops.mgmt.cluster.Cluster.getNodes(
        at oracle.sysman.assistants.util.hasi.HAUtils.getNodes(
        at oracle.sysman.assistants.util.hasi.HAUtils.getAccessibleNodes(

Fix - 
This was due to ocr.loc file pointing to Shared device or ASM which is not hosted locally. 
so the ideas is to modify this behavior with local_only parameter set to TRUE.

[root@oem ~]# vi /etc/oracle/ocr.loc

Once this done, when you invoke the configuration assistance this time around it works fine...
[oracle@oem bin]$ ./netca 
Oracle Net Services Configuration:
Configuring Listener:LISTENER
Listener configuration complete.
Oracle Net Services configuration successful. The exit code is 0
[oracle@oem bin]$ ps -ef | grep lsnr
oracle   10886     1  0 15:16 ?        00:00:00 /u01/app/oracle/product/11.0/db_1/bin/tnslsnr LISTENER -inherit
oracle   12089  5982  0 15:24 pts/3    00:00:00 grep lsnr
[oracle@oem bin]$ lsnrctl status
LSNRCTL for Linux: Version - Production on 11-OCT-2012 15:24:30
Copyright (c) 1991, 2009, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oem.localdomain)(PORT=1521)))
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version - Production
Start Date                11-OCT-2012 15:16:36
Uptime                    0 days 0 hr. 7 min. 54 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Log File         /u01/app/oracle/diag/tnslsnr/oem/listener/alert/log.xml
Listening Endpoints Summary...
Services Summary...
Service "oemdb" has 1 instance(s).
  Instance "oemdb", status READY, has 1 handler(s) for this service...
Service "oemdbXDB" has 1 instance(s).
  Instance "oemdb", status READY, has 1 handler(s) for this service...
The command completed successfully