2 Replies Latest reply: Aug 20, 2013 7:02 AM by Djay-OC RSS

    emctl agent failed to start 12.1.0.2.0

    Djay-OC

      Suddenly emctl stopped working when trying to start giving belwo error

      [oracle@server1 bin]$ ./emctl start agent

      Oracle Enterprise Manager Cloud Control 12c Release 2

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

      Starting agent ..............................................

      ^C. failed.

      EMAgent is Thrashing. Exiting watchdog

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

      [oracle@server1 bin]$

      [oracle@server1 bin]$

      [oracle@server1 bin]$ ./emctl start agent

      Oracle Enterprise Manager Cloud Control 12c Release 2

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

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

      Fatal agent error: Miscellaneous failed at Startup

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

       

      emctl.log contents

      ----
      UID        PID  PPID  C STIME TTY          TIME CMD
      oracle   25630 25629  0 16:11 pts/5    00:00:00 /bin/sh -f /u01/emagent/core/12.1.0.2.0/bin/emctl start agent

      ----
      25639 :: Mon Aug 12 16:11:26 2013::EM_SECURE_HOSTNME: server1
      25639 :: Mon Aug 12 16:11:26 2013::EM_SECURE_PORT: 3872
      25639 :: Mon Aug 12 16:11:26 2013::EM_LISTEN_ON_ALL_NICS: true
      25639 :: Mon Aug 12 16:11:28 2013::AgentLifeCycle.pm:status agent returned with retCode=1
      25716 :: Mon Aug 12 16:11:28 2013::AgentLifeCycle.pm: Launching the watchdog process.
      25716 :: Mon Aug 12 16:11:28 2013::TZ = Asia/Calcutta, Read = Asia/Calcutta. Found = 1.
      25716 :: Mon Aug 12 16:11:28 2013::agentTZRegion successfully validated.
      25716 :: Mon Aug 12 16:11:28 2013::AgentTuning.pm: Launching emdctl with -Xmx1024m
      25716 :: Mon Aug 12 16:11:32 2013::AgentStatus.pm:emdctl run_autotune returned 0
      25639 :: Mon Aug 12 16:11:28 2013::AgentLifeCycle.pm: Launched the watchdog process pid=25716
      25639 :: Mon Aug 12 16:11:28 2013::AgentLifeCycle.pm: StartCEMD start retryCount=120
      25639 :: Mon Aug 12 16:11:40 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      25639 :: Mon Aug 12 16:11:40 2013::Found Msg file with: {1376304099939,running}
      25639 :: Mon Aug 12 16:11:40 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      25639 :: Mon Aug 12 16:11:41 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      25639 :: Mon Aug 12 16:11:41 2013::Found Msg file with: {1376304100087,running}
      25639 :: Mon Aug 12 16:11:41 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      25639 :: Mon Aug 12 16:11:43 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      25639 :: Mon Aug 12 16:11:43 2013::Found Msg file with: {1376304100087,running}
      25639 :: Mon Aug 12 16:11:43 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      25639 :: Mon Aug 12 16:11:44 2013::AgentLifeCycle.pm:Watch dog processs id: 25716 exited with an exit code of 55
      25639 :: Mon Aug 12 16:11:44 2013::AgentLifeCycle.pm: Exited loop retryCount=106 with retCode=1
      25639 :: Mon Aug 12 16:11:44 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      25639 :: Mon Aug 12 16:11:46 2013::AgentLifeCycle.pm: Check agent status retCode=1
      25639 :: Mon Aug 12 16:11:46 2013::TZ:Asia/Calcutta EmctlLogAvailabilityMarker Operation=start Diag=failed
      26726 :: Mon Aug 12 16:14:06 2013::AgentLifeCycle.pm: Processing reload agent
      26726 :: Mon Aug 12 16:14:06 2013::AgentStatus.pm:Processing reload agent
      26726 :: Mon Aug 12 16:14:07 2013::AgentStatus.pm:emdctl status agent returned  1
      26828 :: Mon Aug 12 16:14:26 2013::AgentLifeCycle.pm: Processing config agent
      26828 :: Mon Aug 12 16:14:26 2013::AgentStatus.pm:Processing config agent
      26828 :: Mon Aug 12 16:14:26 2013::AgentStatus.pm:EMHOME is /u01/emagent/agent_inst
      26828 :: Mon Aug 12 16:14:27 2013::AgentStatus.pm: /u01/emagent/core/12.1.0.2.0/jdk/jre/bin/java -DORACLE_HOME=/u01/emagent/core/12.1.0.2.0 -                                    DEMHOME=/u01/emagent/agent_inst -cp /u01/emagent/core/12.1.0.2.0/jlib/emConfigInstall.jar oracle.sysman.emSDK.conf.TargetInstaller listtarget                                    s returned 0
      26934 :: Mon Aug 12 16:14:35 2013::AgentLifeCycle.pm: Processing config agent
      26934 :: Mon Aug 12 16:14:35 2013::AgentStatus.pm:Processing config agent
      26934 :: Mon Aug 12 16:14:35 2013::AgentStatus.pm:EMHOME is /u01/emagent/agent_inst
      26934 :: Mon Aug 12 16:14:35 2013::AgentStatus.pm: /u01/emagent/core/12.1.0.2.0/jdk/jre/bin/java -DORACLE_HOME=/u01/emagent/core/12.1.0.2.0 -                                    DEMHOME=/u01/emagent/agent_inst -cp /u01/emagent/core/12.1.0.2.0/jlib/emConfigInstall.jar oracle.sysman.emSDK.conf.TargetInstaller listtarget                                    s returned 0