Forum Stats

  • 3,751,795 Users
  • 2,250,413 Discussions
  • 7,867,594 Comments

Discussions

pingOMS fails with java.lang.NullPointerException

user13471583
user13471583 Member Posts: 5 Red Ribbon
edited Oct 18, 2018 3:12AM in Enterprise Manager

Hi

Agent on one of the target hosts is unable to communicate with the Enterprise Manager.

./emctl pingOMS

Oracle Enterprise Manager Cloud Control 13c Release 1

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

---------------------------------------------------------------

EMD pingOMS error: An internal error has occurred at the agent: "java.lang.NullPointerException". Check the agent's error logs for details.

From the gcagent.log:

Caused by: java.lang.NullPointerException

        at HTTPClient.HTTPConnection.<init>(HTTPConnection.java:579)

        at oracle.sysman.gcagent.comm.http.ClientConnection.instantiateConnection(ClientConnection.java:807)

        at oracle.sysman.gcagent.comm.http.ClientConnection.<init>(ClientConnection.java:103)

        at oracle.sysman.gcagent.comm.http.OMSConnection.<init>(OMSConnection.java:74)

        at oracle.sysman.gcagent.ping.PingConnection.<init>(PingConnection.java:72)

        at oracle.sysman.gcagent.ping.PingManager.pingOMS(PingManager.java:1102)

        at oracle.sysman.gcagent.dispatch.cxl.PingOMSAction.pingOMS(PingOMSAction.java:66)

        at oracle.sysman.gcagent.dispatch.cxl.PingOMSAction.satisfyRequest(PingOMSAction.java:104)

        at oracle.sysman.gcagent.dispatch.ProcessRequestAction._call(ProcessRequestAction.java:135)

        at oracle.sysman.gcagent.dispatch.ProcessRequestAction.call(ProcessRequestAction.java:96)

        at oracle.sysman.gcagent.dispatch.InlineDispatchCoordinator.dispatchRequest(InlineDispatchCoordinator.java:235)

        at oracle.sysman.gcagent.dispatch.DispatchRequestsAction.call(DispatchRequestsAction.java:111)

        at oracle.sysman.gcagent.dispatch.DispatchRequestsAction.call(DispatchRequestsAction.java:51)

        at oracle.sysman.gcagent.task.DiagWrappedAction.call(DiagWrappedAction.java:52)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at oracle.sysman.gcagent.task.SingleActionTask.run(SingleActionTask.java:76)

        at oracle.sysman.gcagent.dispatch.DispatchRequestsTask.run(DispatchRequestsTask.java:64)

        at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:270)

        at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:55)

        at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.accountedCall(TaskFutureImpl.java:600)

        at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.call(TaskFutureImpl.java:644)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at oracle.sysman.gcagent.task.TaskFutureImpl.run1(TaskFutureImpl.java:373)

        at oracle.sysman.gcagent.task.TaskFutureImpl.run(TaskFutureImpl.java:330)

        at oracle.sysman.gcagent.task.executor.CurrentThreadExecutor.submit(CurrentThreadExecutor.java:78)

        at oracle.sysman.gcagent.task.executor.CurrentThreadExecutor.submit(CurrentThreadExecutor.java:64)

        at oracle.sysman.gcagent.dispatch.DispatchRequestsExecutor.submit(DispatchRequestsExecutor.java:82)

        at oracle.sysman.gcagent.dispatch.RequestDispatcher.executeRequests(RequestDispatcher.java:2378)

        at oracle.sysman.gcagent.dispatch.RequestDispatcher.dispatchRequests(RequestDispatcher.java:787)

        at oracle.sysman.gcagent.comm.agent.http.TMClientProtocolServer.onServiceProtocol(TMClientProtocolServer.java:328)

        at oracle.sysman.gcagent.comm.agent.http.HTTPRequestHandler.handle(HTTPRequestHandler.java:198)

        ... 15 more

2018-10-16 20:12:43,395 [28:642FB6F2:IncCreHandler] INFO - ADR Incident created: Id=1, message=[null], module=oracle.sysman.gcagent.comm.http.ClientConnection, problemKey='java.lang.NullPointerException:HTTPClient.HTTPConnection:579::oracle.sysman.gcagent.comm.http.ClientConnection:807', direcotry=/opt/agent/agent_inst/diag/ofm/emagent/emagent/incident/incdir_1

2018-10-16 20:12:44,260 [111:oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl - Incident Dump Executor (created: Tue Oct 16 20:12:43 GMT 2018)] ERROR - Exception Occured While Collecting AgentCertificatePropertiesnull

I don't see this problem with other hosts. This host is in a different network and I am not sure if that could be causing this issue.

Let me know how I can resolve this. Thanks in advance for the help!

Answers

  • Ian Baugaard
    Ian Baugaard Member Posts: 530
    edited Oct 17, 2018 4:29AM

    Hi,

    Did you successfully deploy this agent from the OEM console in the first place?

    Ian

  • Satya Chandan-Oracle
    Satya Chandan-Oracle Member Posts: 44 Employee
    edited Oct 17, 2018 7:02PM

    Hello,

    Please provide the below.

    $AGENT_HOME/bin/emctl status agent

    $AGENT_HOME/bin/emctl config agent listtargets

    Also upload the emagent.nohup and gcagent.log.

    Regards,
    Satya

  • user13471583
    user13471583 Member Posts: 5 Red Ribbon
    edited Oct 17, 2018 7:09PM

    I had to install the agent manually since I couldn't do it from the OEM.

  • user13471583
    user13471583 Member Posts: 5 Red Ribbon
    edited Oct 17, 2018 7:10PM

    $ ./emctl status agent

    Oracle Enterprise Manager Cloud Control 13c Release 1

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

    ---------------------------------------------------------------

    Agent Version          : 13.1.0.0.0

    OMS Version            : (unknown)

    Protocol Version       : 12.1.0.1.0

    Agent Home             : /opt/agent/agent_inst

    Agent Log Directory    : /opt/agent/agent_inst/sysman/log

    Agent Binaries         : /opt/agent/agent_13.1.0.0.0

    Core JAR Location      : /opt/agent/agent_13.1.0.0.0/jlib

    Agent Process ID       : 18893

    Parent Process ID      : 18833

    Agent URL              : http://scale2-oracle.eng.ssnsgs.net:3872/emd/main/

    Local Agent URL in NAT : http://scale2-oracle.eng.ssnsgs.net:3872/emd/main/

    Repository URL         : https://sjcshato01ora01.eng.ssnsgs.net:4903/empbs/upload/

    Started at             : 2018-10-16 19:49:03

    Started by user        : oracle

    Operating System       : Linux version 2.6.32-642.3.1.el6.centos.plus.x86_64 (amd64)

    Number of Targets      : (none)

    Last Reload            : (none)

    Last successful upload                       : (none)

    Last attempted upload                        : (none)

    Total Megabytes of XML files uploaded so far : 0

    Number of XML files pending upload           : 1

    Size of XML files pending upload(MB)         : 0

    Available disk space on upload filesystem    : 75.84%

    Collection Status                            : Collections enabled

    Heartbeat Status                             : OMS is unreachable

    Last attempted heartbeat to OMS              : 2018-10-16 20:12:43

    Last successful heartbeat to OMS             : (none)

    Next scheduled heartbeat to OMS              : 2018-10-16 20:13:13

    ---------------------------------------------------------------

    Agent is Running and Ready

    ./emctl config agent listtargets

    Oracle Enterprise Manager Cloud Control 13c Release 1

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

  • user13471583
    user13471583 Member Posts: 5 Red Ribbon
    edited Oct 17, 2018 7:14PM

    cat emagent.nohup

    --- EMState agent

    ----- 2018-10-16 19:23:14,506::7727::Auto tuning the agent at time 2018-10-16 19:23:14,506 -----

    inMemoryLoggingSize=5242880

    _SchedulePersistTimer=30

    MaxThreads=10

    agentJavaDefines=-Xmx128M

    SchedulerRandomSpreadMins=0

    UploadMaxNumberXML=5000

    UploadMaxMegaBytesXML=50.0

    Auto tuning was successful

    ----- 2018-10-16 19:23:18,237::7727::Finished auto tuning the agent at time 2018-10-16 19:23:18,237 -----

    ----- 2018-10-16 19:23:18,240::7727::Launching the JVM with following options: -Xmx128M -server -Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:-UseLargePages -XX:+UseLinuxPosixThreadCPUClocks -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -----

    ----- 2018-10-16 19:23:18,243::7727::Agent Launched with PID 7803 at time 2018-10-16 19:23:18,243 -----

    ----- 2018-10-16 19:23:18,243::7727::Previous Thrash State(-1,-1) -----

    ----- 2018-10-16 19:23:18,243::7803::Time elapsed between Launch of Watchdog process and execing EMAgent is 5 secs -----

    2018-10-16 19:23:18,502 [1:main (@ 2018-10-16 19:23:18 GMT)] WARN - Missing filename for log handler 'wsm'

    2018-10-16 19:23:18,516 [1:main (@ 2018-10-16 19:23:18 GMT)] WARN - Missing filename for log handler 'opss'

    2018-10-16 19:23:18,518 [1:main (@ 2018-10-16 19:23:18 GMT)] WARN - Missing filename for log handler 'opsscfg'

    ----- 2018-10-16 19:48:11,663::7727::Checking status of EMAgent : 7803 -----

    ----- 2018-10-16 19:48:11,663::7727::EMAgent exited at 2018-10-16 19:48:11,663 with return value 0. -----

    ----- 2018-10-16 19:48:11,664::7727::writeAbnormalExitTimestampToAgntStmp: exitCause=NORMAL : restartRequired=0 -----

    ----- 2018-10-16 19:48:11,667::7727::EMAgent was shutdown normally. -----

    ----- 2018-10-16 19:48:11,667::7727::Exiting watchdog loop

    -----

    --- EMState agent

    ----- 2018-10-16 19:49:02,830::18833::Auto tuning the agent at time 2018-10-16 19:49:02,830 -----

    ----- 2018-10-16 19:49:03,418::18833::Finished auto tuning the agent at time 2018-10-16 19:49:03,418 -----

    ----- 2018-10-16 19:49:03,421::18833::Launching the JVM with following options: -Xmx128M -server -Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:-UseLargePages -XX:+UseLinuxPosixThreadCPUClocks -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -----

    ----- 2018-10-16 19:49:03,423::18833::Agent Launched with PID 18893 at time 2018-10-16 19:49:03,423 -----

    ----- 2018-10-16 19:49:03,423::18833::Previous Thrash State(-1,-1) -----

    ----- 2018-10-16 19:49:03,423::18893::Time elapsed between Launch of Watchdog process and execing EMAgent is 1 secs -----

    2018-10-16 19:49:03,670 [1:main (@ 2018-10-16 19:49:03 GMT)] WARN - Missing filename for log handler 'wsm'

    2018-10-16 19:49:03,684 [1:main (@ 2018-10-16 19:49:03 GMT)] WARN - Missing filename for log handler 'opss'

    2018-10-16 19:49:03,686 [1:main (@ 2018-10-16 19:49:03 GMT)] WARN - Missing filename for log handler 'opsscfg'

    Oct 16, 2018 8:12:43 PM oracle.sysman.diag.EMDiagImpl captureDiagData.478

    SEVERE: Critical error: <no message>

    java.lang.NullPointerException

      at HTTPClient.HTTPConnection.<init>(HTTPConnection.java:579)

      at oracle.sysman.gcagent.comm.http.ClientConnection.instantiateConnection(ClientConnection.java:807)

      at oracle.sysman.gcagent.comm.http.ClientConnection.<init>(ClientConnection.java:103)

      at oracle.sysman.gcagent.comm.http.OMSConnection.<init>(OMSConnection.java:74)

      at oracle.sysman.gcagent.ping.PingConnection.<init>(PingConnection.java:72)

      at oracle.sysman.gcagent.ping.PingManager.pingOMS(PingManager.java:1102)

      at oracle.sysman.gcagent.dispatch.cxl.PingOMSAction.pingOMS(PingOMSAction.java:66)

      at oracle.sysman.gcagent.dispatch.cxl.PingOMSAction.satisfyRequest(PingOMSAction.java:104)

      at oracle.sysman.gcagent.dispatch.ProcessRequestAction._call(ProcessRequestAction.java:135)

      at oracle.sysman.gcagent.dispatch.ProcessRequestAction.call(ProcessRequestAction.java:96)

      at oracle.sysman.gcagent.dispatch.InlineDispatchCoordinator.dispatchRequest(InlineDispatchCoordinator.java:235)

      at oracle.sysman.gcagent.dispatch.DispatchRequestsAction.call(DispatchRequestsAction.java:111)

      at oracle.sysman.gcagent.dispatch.DispatchRequestsAction.call(DispatchRequestsAction.java:51)

      at oracle.sysman.gcagent.task.DiagWrappedAction.call(DiagWrappedAction.java:52)

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

      at oracle.sysman.gcagent.task.SingleActionTask.run(SingleActionTask.java:76)

      at oracle.sysman.gcagent.dispatch.DispatchRequestsTask.run(DispatchRequestsTask.java:64)

      at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:270)

      at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:55)

      at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.accountedCall(TaskFutureImpl.java:600)

      at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.call(TaskFutureImpl.java:644)

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

      at oracle.sysman.gcagent.task.TaskFutureImpl.run1(TaskFutureImpl.java:373)

      at oracle.sysman.gcagent.task.TaskFutureImpl.run(TaskFutureImpl.java:330)

      at oracle.sysman.gcagent.task.executor.CurrentThreadExecutor.submit(CurrentThreadExecutor.java:78)

      at oracle.sysman.gcagent.task.executor.CurrentThreadExecutor.submit(CurrentThreadExecutor.java:64)

      at oracle.sysman.gcagent.dispatch.DispatchRequestsExecutor.submit(DispatchRequestsExecutor.java:82)

      at oracle.sysman.gcagent.dispatch.RequestDispatcher.executeRequests(RequestDispatcher.java:2378)

      at oracle.sysman.gcagent.dispatch.RequestDispatcher.dispatchRequests(RequestDispatcher.java:787)

      at oracle.sysman.gcagent.comm.agent.http.TMClientProtocolServer.onServiceProtocol(TMClientProtocolServer.java:328)

      at oracle.sysman.gcagent.comm.agent.http.HTTPRequestHandler.handle(HTTPRequestHandler.java:198)

      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)

      at oracle.sysman.gcagent.comm.agent.http.HTTPListener$EMDUrlHandler.handle(HTTPListener.java:850)

      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1113)

      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1049)

      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)

      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)

      at org.eclipse.jetty.server.Server.handle(Server.java:461)

      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)

      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)

      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)

      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)

      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)

      at oracle.sysman.gcagent.util.system.GCAThread$RunnableWrapper.run(GCAThread.java:198)

      at java.lang.Thread.run(Thread.java:745)

    Oct 16, 2018 8:12:43 PM oracle.sysman.diag.EMDiagImpl createIncident.648

    INFO: incident 1 created with problem key java.lang.NullPointerException:HTTPClient.HTTPConnection:579::oracle.sysman.gcagent.comm.http.ClientConnection:807, in directory /opt/agent/agent_inst/diag/ofm/emagent/emagent/incident/incdir_1

  • user13471583
    user13471583 Member Posts: 5 Red Ribbon
    edited Oct 17, 2018 7:18PM

    From gcagent.log

    2018-10-16 19:23:19,755 [1:7CE19AD9] INFO - Invoking STARTUP_P1 on HTTP Client Configuration

    2018-10-16 19:23:19,843 [1:main (@ 2018-10-16 19:23:18 GMT)] ERROR - Unable to construct an HTTPS context for url https://sjcshato01ora01.eng.ssnsgs.net:4903/empbs/upload/:

              java.io.IOException [Failed to open agent server wallet]

    java.io.FileNotFoundException [/opt/agent/agent_inst/sysman/config/server/repoconn.ora (No such file or directory)]

    2018-10-16 19:23:19,845 [1:7CE19AD9] WARN - Component notification failure (continue): HTTP Client Configuration failed at Startup

    oracle.sysman.gcagent.util.exception.SubSystemDisabledException: Unable to construct an HTTPS context for url https://sjcshato01ora01.eng.ssnsgs.net:4903/empbs/upload/:

            at oracle.sysman.gcagent.comm.agent.http.ClientConfigComponent.cacheRepositoryUrl(ClientConfigComponent.java:558)

            at oracle.sysman.gcagent.comm.agent.http.ClientConfigComponent.tmNotifier(ClientConfigComponent.java:203)

            at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeNotifier(TMComponentSvc.java:1040)

            at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.invokeInitializationStep(TMComponentSvc.java:1125)

            at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.doInitializationStep(TMComponentSvc.java:958)

            at oracle.sysman.gcagent.tmmain.lifecycle.TMComponentSvc.notifierDriver(TMComponentSvc.java:848)

            at oracle.sysman.gcagent.tmmain.TMMain.startup(TMMain.java:271)

            at oracle.sysman.gcagent.tmmain.TMMain.agentMain(TMMain.java:604)

            at oracle.sysman.gcagent.tmmain.TMMain.main(TMMain.java:593)

    Caused by: java.io.IOException: Failed to open agent server wallet

            at oracle.sysman.gcagent.comm.http.AgentServerWallet.<init>(AgentServerWallet.java:81)

            at oracle.sysman.gcagent.comm.agent.http.AgentGCHttpsContext.newTrustManager(AgentGCHttpsContext.java:78)

            at oracle.sysman.gcagent.comm.http.BaseHttpsContext.<init>(BaseHttpsContext.java:69)

            at oracle.sysman.gcagent.comm.agent.http.AgentGCHttpsContext.<init>(AgentGCHttpsContext.java:62)

            at oracle.sysman.gcagent.comm.agent.http.ClientConfigComponent.cacheRepositoryUrl(ClientConfigComponent.java:537)

            ... 8 more

    Caused by: java.io.FileNotFoundException: /opt/agent/agent_inst/sysman/config/server/repoconn.ora (No such file or directory)

            at java.io.FileInputStream.open(Native Method)

            at java.io.FileInputStream.<init>(FileInputStream.java:146)

            at java.io.FileInputStream.<init>(FileInputStream.java:101)

            at oracle.sysman.gcagent.comm.http.AgentServerWallet.<init>(AgentServerWallet.java:75)

            ... 12 more

    I also see this:

    2018-10-16 19:38:22,045 [67:48B1CC99:GC.SysExecutor.9 (NmoHealthTask)] INFO - Job Attributes: {JobID=AgentHealthMonitor:1539718702043, KeepAliveRequest=false} Job Command: {/opt/agent/agent_13.1.0.0.0/sbin/nmo}

    2018-10-16 19:38:22,050 [67:48B1CC99] WARN - NmoStatus: Unable to verify nmo.

    oracle.sysman.gcagent.target.interaction.execution.JobExecutionMgr$AuthenticatedJobExecutionException: ERROR: NMO not setuid-root (Unix-only)

            at oracle.sysman.gcagent.target.interaction.execution.JobExecutionMgr.call(JobExecutionMgr.java:1219)

            at oracle.sysman.gcagent.jobs.JobRequestDriver.executeJobStep(JobRequestDriver.java:1573)

            at oracle.sysman.gcagent.healthmon.NmoStatus.check(NmoStatus.java:115)

            at oracle.sysman.gcagent.healthmon.NmoHealthTaskFactory$NmoHealthTask.run(NmoHealthTaskFactory.java:298)

            at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:270)

            at oracle.sysman.gcagent.task.AbstractTemplateTask.call(AbstractTemplateTask.java:55)

            at oracle.sysman.gcagent.task.scheduler.DispatchingTaskScheduler$ReschedulingHelper$ReschedulingTask.call(DispatchingTaskScheduler.java:456)

            at oracle.sysman.gcagent.task.scheduler.DispatchingTaskScheduler$ReschedulingHelper$ReschedulingTask.call(DispatchingTaskScheduler.java:418)

            at oracle.sysman.gcagent.task.executor.DiagWrappedTask.call(DiagWrappedTask.java:60)

            at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.accountedCall(TaskFutureImpl.java:600)

            at oracle.sysman.gcagent.task.TaskFutureImpl$WrappedTask.call(TaskFutureImpl.java:644)

            at java.util.concurrent.FutureTask.run(FutureTask.java:262)

            at oracle.sysman.gcagent.task.TaskFutureImpl.run1(TaskFutureImpl.java:373)

            at oracle.sysman.gcagent.task.TaskFutureImpl.run(TaskFutureImpl.java:330)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

            at oracle.sysman.gcagent.task.executor.TrackThreadFactory$1.run(TrackThreadFactory.java:54)

            at oracle.sysman.gcagent.util.system.GCAThread$RunnableWrapper.run(GCAThread.java:198)

            at java.lang.Thread.run(Thread.java:745)

    Caused by: java.io.IOException: Cannot run program "/opt/agent/agent_13.1.0.0.0/sbin/nmo": error=2, No such file or directory

            at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)

            at oracle.sysman.gcagent.common.SafeProcessBuilder.start(SafeProcessBuilder.java:120)

            at oracle.sysman.gcagent.util.channel.OSChannel.runStreamingCommand(OSChannel.java:421)

            at oracle.sysman.gcagent.target.interaction.execution.JobExecutionMgr.call(JobExecutionMgr.java:1160)

            ... 18 more

    Caused by: java.io.IOException: error=2, No such file or directory

            at java.lang.UNIXProcess.forkAndExec(Native Method)

            at java.lang.UNIXProcess.<init>(UNIXProcess.java:187)

            at java.lang.ProcessImpl.start(ProcessImpl.java:130)

            at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)

            ... 21 more

  • Satya Chandan-Oracle
    Satya Chandan-Oracle Member Posts: 44 Employee
    edited Oct 17, 2018 8:39PM

    Hello,

    The below commands indicate that the agent was not installed properly. The below commands should list the host and the oracle_emd target.

    ./emctl config agent listtargets

    Oracle Enterprise Manager Cloud Control 13c Release 1

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

    Action Plan

    ==========

    a) On the host, please do the below.

    $AGENT_HOME/bin/emctl config agent addinternaltargets

    $AGENT_HOME/bin/emctl config agent listtargets

    $AGENT_HOME/bin/emctl status agent

    b) Was the root.sh executed post the agent install?

    Regards,Satya

  • Ian Baugaard
    Ian Baugaard Member Posts: 530
    edited Oct 18, 2018 3:12AM

    Hi,

    It's normally better to deploy from the console, as it does many pre-requisite checks for you to prevent post-deployment issues such as these from occurring. Do you have any recollection what the original issue was?

    What you can also do is, from your target machine, see if you can telnet to the OMS on the upload port (telnet sjcshato01ora01.eng.ssnsgs.net 4903) and then also check if the OMS can telnet to the target host on the agent port (telnet scale2-oracle.eng.ssnsgs.net 3872).

    Ian

  • User_GVJWN
    User_GVJWN Member Posts: 1 Red Ribbon

    are you managed to resolve the issue? had the same issue here. dont ask me to install from emcc console since I cant do that. we had many stupid restriction here. I managed to install and get it working on win 2016, but failed on win 2008r2. same error. I did reinstall the agent 3 times.

  • M.Mostafa-Oracle
    M.Mostafa-Oracle Member Posts: 11 Employee

    @User_GVJWN , do you have SR that I can check?