Wednesday, September 26, 2012

Adding a new node to an existing cluster results in PRKC-1025 error

The PRKC-1025 error is encountered when adding a new node to an existing cluster using the following command in Oracle release 10g and 11g:
./addNode.sh -silent "CLUSTER_NEW_NODES={joords4}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={joords4-vip}" -debug -logLevel finest"
This command create the following output :
SEVERE: 4/9/12 3:55:03 AM IST: Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support : 

"/opt/oracle/oraInventory/logs/addNodeActions2012-04-09_03-54-34AM.log"
"/opt/oracle/oraInventory/logs/oraInstall2012-04-09_03-54-34AM.err"
"/opt/oracle/oraInventory/logs/oraInstall2012-04-09_03-54-34AM.out"
INFO: 4/9/10 3:55:03 AM IST: User Selected: Yes/OK
From the oraInstall[date-timestamp]AM.err we notice the following errors:
oracle.ops.mgmt.cluster.SharedDeviceException: PRKC-1025 : Failed to create a file under the filepath /opt because the filepath is not executable or writable
at oracle.ops.mgmt.nativesystem.UnixSystem.isSharedPath(UnixSystem.java:1564)
at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:1109)
at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isDriveOnCFS(OiipgCFSDriveCheck.java:655)
….
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:579)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
Exception java.lang.OutOfMemoryError: Java heap space occurred..
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$CharsetSE.encode(StringCoding.java:334)
at java.lang.StringCoding.encode(StringCoding.java:378)
at java.lang.String.getBytes(String.java:812)
…
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:294)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:579)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
The two important rows for solving this PRKC-1025 error when adding a new node to the cluster are:
PRKC-1025 : Failed to create a file under the filepath /opt because the filepath is not executable or writable <--------- FIRST ERROR
Exception java.lang.OutOfMemoryError: Java heap space occurred..
java.lang.OutOfMemoryError: Java heap space  <------------------- SECOND ERROR
The FIRST ERROR is the misleading oner for solving this problem. The real cause of the problem is the SECOND ERROR OutOfMemoryError: Java heap space

Solution

Increasing of the JRE_MEMORY_OPTIONS will be solving the problem of the OutOfMemoryError
Increase JRE_MEMORY_OPTIONS=" -mx1024m" or greater value in the oraparam.ini located in:  $GRID_HOME/oui/

1 comment:

  1. Hi Jos
    When I tried to add new node, appear an error very close that you publish. I increase the jre_memory_option until 8192M, but the error still show me.I don't how much more. I appreciate your feedback at jairo.suarez@gmail.com
    [grid@DCBORACV2004 logs]$ more oraInstall2013-04-13_06-59-44PM.err
    oracle.ops.mgmt.cluster.SharedDeviceException: PRKC-1025 : Failed to create a file under the filepath /u01 because the filepath is not executable or writable
    at oracle.ops.mgmt.nativesystem.UnixSystem.isSharedPath(UnixSystem.java:1623)
    at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:1109)
    at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isDriveOnCFS(OiipgCFSDriveCheck.java:655)
    at oracle.sysman.oii.oiic.OiicAddNodeSummaryInformation.isVolumeOnCFS(OiicAddNodeSummaryInformation.java:164)
    at oracle.sysman.oii.oiic.OiicAddNodeSummaryInformation.computeSpaceInfo(OiicAddNodeSummaryInformation.java:459)
    at oracle.sysman.oii.oiic.OiicAddNodeSummaryInformation.initializeAddNodeSession(OiicAddNodeSummaryInformation.java:383)
    at oracle.sysman.oii.oiic.OiicAddNodeSummaryInformation.(OiicAddNodeSummaryInformation.java:140)
    at oracle.sysman.oii.oiif.oiifw.OiifwAddNodeSummaryWCDE.writeSummaryInformation(OiifwAddNodeSummaryWCDE.java:212)
    at oracle.sysman.oii.oiif.oiifw.OiifwAddNodeSummaryWCDE.logDialog(OiifwAddNodeSummaryWCDE.java:204)
    at oracle.sysman.oii.oiif.oiifb.OiifbWizChainDlgElem.doOperation(OiifbWizChainDlgElem.java:702)
    at oracle.sysman.oii.oiif.oiifw.OiifwAddNodeSummaryWCDE.doOperation(OiifwAddNodeSummaryWCDE.java:180)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1380)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:294)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:579)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
    [grid@DCBORACV2004 logs]$

    ReplyDelete