7 Replies Latest reply: Sep 4, 2013 5:22 AM by Akanksha Sheoran Kaler RSS

    Delploy an agent on a linux machine, but failed(OEM12C)

    Domingo

      Hi,All

          Today I delployed an agent with OEM12C. It's a linux machine. But it failed on step secure agent.

          The advisor of OEM12C is runing the following command manually:

         

          /em12c/agent_inst/bin/emctl secure agent

          /em12c/agent_inst/bin/emctl start agent

          /em12c/agent_inst/bin/emctl config agent addinternaltargets

       

          When I run the second command, its status is Starting agent ......... for about half an hour. And then told me

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

          The  emctl.log includes the following lines:

       

      ----
      UID        PID  PPID  C STIME TTY          TIME CMD
      oracle   19176 19144  0 17:16 ?        00:00:00 /bin/sh -f /em12c/core/12.1.0.2.0/bin/emctl start agent

      ----
      19185 :: Mon Aug 26 17:16:08 2013::EM_SECURE_HOSTNME: orcl
      19185 :: Mon Aug 26 17:16:08 2013::EM_SECURE_PORT: 3872
      19185 :: Mon Aug 26 17:16:08 2013::EM_LISTEN_ON_ALL_NICS: true
      19185 :: Mon Aug 26 17:16:09 2013::AgentLifeCycle.pm:status agent returned with retCode=1
      19289 :: Mon Aug 26 17:16:09 2013::AgentLifeCycle.pm: Launching the watchdog process.
      19289 :: Mon Aug 26 17:16:09 2013::TZ = PRC, Read = PRC. Found = 1.
      19289 :: Mon Aug 26 17:16:09 2013::agentTZRegion successfully validated.
      19289 :: Mon Aug 26 17:16:09 2013::AgentTuning.pm: Launching emdctl with -Xmx1024m
      19185 :: Mon Aug 26 17:16:09 2013::AgentLifeCycle.pm: Launched the watchdog process pid=19289
      19185 :: Mon Aug 26 17:16:09 2013::AgentLifeCycle.pm: StartCEMD start retryCount=120
      19185 :: Mon Aug 26 17:16:11 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:16:11 2013::Found Msg file with: {1377508570840,running}
      19185 :: Mon Aug 26 17:16:11 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      19289 :: Mon Aug 26 17:16:11 2013::AgentStatus.pm:emdctl run_autotune returned 0
      19185 :: Mon Aug 26 17:16:55 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:16:55 2013::Found Msg file with: {1377508606661,running}
      19185 :: Mon Aug 26 17:16:55 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      19185 :: Mon Aug 26 17:16:58 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:16:58 2013::Found Msg file with: {1377508606661,running}
      19185 :: Mon Aug 26 17:16:58 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      19185 :: Mon Aug 26 17:17:42 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:17:42 2013::Found Msg file with: {1377508660842,running}
      19185 :: Mon Aug 26 17:17:42 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      19185 :: Mon Aug 26 17:18:26 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:18:26 2013::Found Msg file with: {1377508696663,running}
      19185 :: Mon Aug 26 17:18:26 2013::AgentLifeCycle.pm: StartCEMD Querying for the real status of the agent
      19185 :: Mon Aug 26 17:19:11 2013::AgentLifeCycle.pm: StartCEMD status message file detected
      19185 :: Mon Aug 26 17:19:11 2013::Found Msg file with: {1377508750845,running}

       

          But I don't find any other agent in this machine. How can I solve this problem.

          Best wishes!

                                                                                             Domingo