Addnode. sh failed, log file error PRKC-1025 & amp; java. lang. OutOfMemoryError: Java heap space,

Source: Internet
Author: User

Addnode. sh failed, log file error PRKC-1025 & java. lang. OutOfMemoryError: Java heap space,
Environment:

Linux 5.5 + RAC 11203

 

Problem description:

The command to add a cluster member is as follows:

$ GRID_HOME/oui/bin/addNode. sh-silent "CLUSTER_NEW_NODES = {X3850AR}" "CLUSTER_NEW_PRIVATE_NODE_NAMES = {X3850AR-priv}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES = {X3850AR-vip }"

The following error is reported:

Instantiating scripts for add node (Wednesday, January 14,201 5 1:06:57 am cst)
. 1% Done.
Instantiation of add node scripts complete

Copying to remote nodes (Wednesday, January 14,201 5 1:06:59 am cst)
... SEVERE: Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support:

"/Grid/oraInventory/logs/addNodeActions2015-01-14_01-06-38AM.log"
"/Grid/oraInventory/logs/oraInstall2015-01-14_01-06-38AM.err"
"/Grid/oraInventory/logs/oraInstall2015-01-14_01-06-38AM.out"

 

The. err part is as follows:

Oracle. ops. mgmt. cluster. SharedDeviceException: PRKC-1025: Failed to create a file under the filepath/GridBecause 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. <init> (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)
Exception java. lang. OutOfMemoryError: Java heap space occurred ..
Java. lang. OutOfMemoryError: Java heap space
At java. lang. AbstractStringBuilder. expandCapacity (AbstractStringBuilder. java: 99)
At java. lang. AbstractStringBuilder. append (AbstractStringBuilder. java: 393)

 

Solution:

Check the/grid size and read/write permissions, as shown in the following figure:

...

Cluster Node Addition Summary
Global Settings
Source:/grid/app/11.2.0/grid
New Nodes
Space Requirements
New Nodes
X3850AR
/Grid: Required 8.77 GB: Available 29.02 GB
Installed Products

...

[Root @ X3850AR grid] # ls-ld/grid/
Drwxrwxr-x 5 grid oinstall 4096 Jan 14/grid/

...

OutOfMemoryError -- >>>>>> insufficient JAVA memory:

[Grid @ X3850AX ~] $ CdCd $ GRID_HOME/oui/

[Grid @ X3850AX oui] $Grep JRE_MEMORY_OPTIONS oraparam. ini
# JRE_MEMORY_OPTIONS = "-mx150m" <default value: 150 M
JRE_MEMORY_OPTIONS = "-mx1024m" <modified to 1024 M

 

Run the addNode. sh script again. The execution is successful.

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.