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>(GetActiveNodes.java:179)
        at oracle.ops.mgmt.cluster.GetActiveNodes.create(GetActiveNodes.java:221)
        at oracle.ops.mgmt.cluster.Cluster.getNodes(Cluster.java:313)
        at oracle.sysman.assistants.util.hasi.HAUtils.getNodes(HAUtils.java:1620)
        at oracle.sysman.assistants.util.hasi.HAUtils.getAccessibleNodes(HAUtils.java:1638)
        at oracle.net.ca.InitialSetup.configureOPS(NetCA.java:4526)
        at oracle.net.ca.InitialSetup.<init>(NetCA.java:4024)
        at oracle.net.ca.NetCA.main(NetCA.java:405)

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
ocrconfig_loc=+DATA
#local_only=FALSE
local_only=TRUE

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 11.2.0.1.0 - 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)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - 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...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oem.localdomain)(PORT=1521)))
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

No comments:

Post a Comment