EM12c: Deploy And Secure Agent fails with "\'Out Of Memory' Errors ,'dfw.impl.common.TempFileManager'
(Doc ID 1540011.1)
Last updated on FEBRUARY 16, 2019
Applies to:
Enterprise Manager Base Platform - Version 12.1.0.1.0 and laterInformation in this document applies to any platform.
Symptoms
Deploying agent on RAC node(s) failed at secure stage,
Error = Execution of command /gridagent/agent12c/agent_inst/bin/emctl start
agent on host <HostName> Failed
Cause = Exit Code :1
agent on host <HostName> Failed
Cause = Exit Code :1
Executing "$./emctl secure agent" command manually getting the following errors:
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133)
at java.lang.StringCoding.decode(StringCoding.java:173)
etc....
oracle.sysman.gcagent.comm.http.LocalSecurityContext.<init>(LocalSecurityConte
xt.java:48) at oracle.sysman.gcagent.clients.emdctlj.EmdCtl.main(EmdCtl.java:403)
Securing agent... Successful.
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133)
at java.lang.StringCoding.decode(StringCoding.java:173)
etc....
oracle.sysman.gcagent.comm.http.LocalSecurityContext.<init>(LocalSecurityConte
xt.java:48) at oracle.sysman.gcagent.clients.emdctlj.EmdCtl.main(EmdCtl.java:403)
Securing agent... Successful.
From AGENT_INST/sysman/log/gcagent.log
2013-01-29 12:17:16,009 [1:3305B9] DEBUG - Invoking STARTUP_P1 (1) on Logging Manager
2013-01-29 12:26:18,836 [10:8DFFF7E4:InitDFWHelper_0] WARN - Couldn't initialize the DFW, no incidents will be created: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.nio.ByteBuffer.wrap(ByteBuffer.java:350)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:137)
at java.lang.StringCoding.decode(StringCoding.java:173)
at java.lang.String.<init>(String.java:443)
at java.lang.String.<init>(String.java:515)
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.list(File.java:973)
at java.io.File.listFiles(File.java:1129)
at oracle.dfw.impl.common.AccessCheck$7.run(AccessCheck.java:165)
at oracle.dfw.impl.common.AccessCheck$7.run(AccessCheck.java:162)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.dfw.impl.common.AccessCheck.listFiles(AccessCheck.java:161)
at oracle.dfw.impl.common.TempFileManager.<clinit>(TempFileManager.java:242)
at
oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
2013-01-29 12:26:18,836 [10:8DFFF7E4:InitDFWHelper_0] WARN - Couldn't initialize the DFW, no incidents will be created: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.nio.ByteBuffer.wrap(ByteBuffer.java:350)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:137)
at java.lang.StringCoding.decode(StringCoding.java:173)
at java.lang.String.<init>(String.java:443)
at java.lang.String.<init>(String.java:515)
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.list(File.java:973)
at java.io.File.listFiles(File.java:1129)
at oracle.dfw.impl.common.AccessCheck$7.run(AccessCheck.java:165)
at oracle.dfw.impl.common.AccessCheck$7.run(AccessCheck.java:162)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.dfw.impl.common.AccessCheck.listFiles(AccessCheck.java:161)
at oracle.dfw.impl.common.TempFileManager.<clinit>(TempFileManager.java:242)
at
oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
From AGENT_INST/sysman/log/secure.log
2013-01-10 09:40:15,608 [main] INFO agent.SecureAgentCmd secureAgent.280 - Configuring Agent for HTTPS
2013-01-10 09:40:15,618 [main] INFO agent.SecureAgentCmd main.207 - Successfully secured the Agent.
2013-01-10 09:40:15,618 [main] INFO agent.SecureAgentCmd main.207 - Successfully secured the Agent.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |