Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Agent Deployment Failed

Krystian RJun 15 2016 — edited Jun 17 2016

Hi,

I'm trying to deploy an agent to the host located in Oracle Cloud. Unfortunately deployment filed.

Error message I've got is:

Execution of command /u01/app/oracle/agent12R5/agent_inst/bin/emctl start agent on host xxxx.compute.oraclecloud.com Failed


The recommendation is:

Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host

  • /u01/app/oracle/agent12R5/agent_inst/bin/emctl start agent
  • /u01/app/oracle/agent12R5/agent_inst/bin/emctl config agent addinternaltargets

I went to the host and tried to start the agent manually, as advised, but it failed as well:

$ /u01/app/oracle/agent12R5/agent_inst/bin/emctl start agent

Oracle Enterprise Manager Cloud Control 12c Release 5

Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.

Starting agent ....................................................................failed.

Consult emctl.log and emagent.nohup in: /u01/app/oracle/agent12R5/agent_inst/sysman/log

$ tail -n 20 /u01/app/oracle/agent12R5/agent_inst/sysman/log/emctl.log

26870 :: Wed Jun 15 17:25:41 2016::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent

26870 :: Wed Jun 15 17:25:42 2016::AgentLifeCycle.pm: StartCEMD live status of the agent is 1 after 0 retries.

26870 :: Wed Jun 15 17:25:43 2016::AgentLifeCycle.pm: StartCEMD status message file detected

26870 :: Wed Jun 15 17:25:43 2016::Found Msg file with: {1466007921761,running}

26870 :: Wed Jun 15 17:25:43 2016::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent

26870 :: Wed Jun 15 17:25:44 2016::AgentLifeCycle.pm: StartCEMD live status of the agent is 1 after 0 retries.

26870 :: Wed Jun 15 17:25:45 2016::AgentLifeCycle.pm: StartCEMD status message file detected

26870 :: Wed Jun 15 17:25:45 2016::Found Msg file with: {1466007921761,running}

26870 :: Wed Jun 15 17:25:45 2016::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent

26870 :: Wed Jun 15 17:25:46 2016::AgentLifeCycle.pm: StartCEMD live status of the agent is 1 after 0 retries.

26870 :: Wed Jun 15 17:25:46 2016::AgentLifeCycle.pm: Exited loop retryCount=0 with retCode=1

26870 :: Wed Jun 15 17:25:46 2016::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent

26870 :: Wed Jun 15 17:25:47 2016::AgentLifeCycle.pm: StartCEMD live status of the agent is 1 after 0 retries.

26870 :: Wed Jun 15 17:25:47 2016::AgentLifeCycle.pm: Check agent status retCode=1

26870 :: Wed Jun 15 17:25:47 2016::TZ: EmctlLogAvailabilityMarker Operation=start Diag=

26870 :: Wed Jun 15 17:25:47 2016::Calling releaselobalLock

26870 :: Wed Jun 15 17:25:47 2016::AgentCommandLock:released lock on emctl lockfile

26870 :: Wed Jun 15 17:25:47 2016::Released agent command lock

26870 :: Wed Jun 15 17:25:47 2016::Cleaning up agent command lock

26870 :: Wed Jun 15 17:25:47 2016::AgentCommandLock:closed file handle of emctl lockfile

$ tail -n 20 /u01/app/oracle/agent12R5/agent_inst/sysman/log/emagent.nohup

----- Wed Jun 15 17:17:22 2016::22589::Checking status of EMAgent : 26420 -----

----- Wed Jun 15 17:21:43 2016::22589::Checking status of EMAgent : 26420 -----

----- Wed Jun 15 17:21:43 2016::22589::EMAgent exited at Wed Jun 15 17:21:43 2016 with signal 9 -----

----- Wed Jun 15 17:21:43 2016::22589::EMAgent has been forcibly killed. -----

----- Wed Jun 15 17:21:43 2016::22589::Stopping other components. -----

----- Wed Jun 15 17:21:43 2016::22589::Commiting Process death. -----

----- Wed Jun 15 17:21:43 2016::22589::writeAbnormalExitTimestampToAgntStmp: exitCause=KILLED : restartRequired=0 -----

----- Wed Jun 15 17:21:43 2016::22589::Exiting watchdog loop

-----

--- EMState agent

----- Wed Jun 15 17:21:47 2016::26915::Auto tuning the agent at time Wed Jun 15 17:21:47 2016 -----

----- Wed Jun 15 17:21:48 2016::26915::Finished auto tuning the agent at time Wed Jun 15 17:21:48 2016 -----

----- Wed Jun 15 17:21:48 2016::26915::Launching the JVM with following options: -Xmx128M -server -Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+UseLinuxPosixThreadCPUClocks -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -----

----- Wed Jun 15 17:21:48 2016::26915::Agent Launched with PID 26969 at time Wed Jun 15 17:21:48 2016 -----

----- Wed Jun 15 17:21:48 2016::26969::Time elapsed between Launch of Watchdog process and execing EMAgent is 2 secs -----

----- Wed Jun 15 17:21:48 2016::26915::Previous Thrash State(-1,-1) -----

2016-06-15 17:21:48,467 [1:main] WARN - Missing filename for log handler 'wsm'

2016-06-15 17:21:48,481 [1:main] WARN - Missing filename for log handler 'opss'

2016-06-15 17:21:48,483 [1:main] WARN - Missing filename for log handler 'opsscfg'

----- Wed Jun 15 17:22:19 2016::26915::Checking status of EMAgent : 26969 -----

The OEM version is 12.1.0.5

Any ideas?

This post has been answered by Krystian R on Jun 17 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2016
Added on Jun 15 2016
7 comments
2,240 views