9 Replies Latest reply: Jun 7, 2013 2:29 PM by JuanjoRG RSS

    Cannot Discovering Host-Database with Agent 12c on Windows Server

    JuanjoRG
      Hello Friends,
      I Have a problem when I try to discover targets in agent 12.2.0.2 on Windows Server 2000. After installation I need to promote the agent for the console show me. Then I can see only agent target but not the rest. I decided to ran the agent resync and I had this problem:

      resyncState: IN executeCommand
      resyncState: validated parameters
      Starting resync RESYNC_20130513121340 for agent ssmdzlcspc01.grupo.ypf.com:3872
      Getting list of all the Targets to remove from the the agent - ssmdzlcspc01.grupo.ypf.com:3872
      Removing 1 targets from the agent
      Removing list of plugins from the agent
      Failed to clean existing plugins from agent - java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com. Proceeding with resync operation
      Getting list of all the Targets from the repository for the agent - ssmdzlcspc01.grupo.ypf.com:3872
      Pushing list of plugins to the agent
      Exception during pushing of plugins to the agent - java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com. Proceeding with resync operation. Please check logs and retry resync after resolving issues
      Promoting list of targets to the agent
      Re-deploying Metric Extensions to the targets
      Saving target collections to the agent
      Cleaning state on the agent
      size of repos blackout list is 0
      Retrieving java callbacks from em_gcha_callbacks table
      Error in executing callback for oracle.sysman.eml.creds.pdp.AgentResyncCallback - Error in connecting with the repository - SQL Exception occured while syncing pdp settings . Please check the repository is accessible and retry. Please check the specific error and retry resync
      resyncState: resync of agent finished with errors.

      The output of emoms.log:

      2013-05-13 12:25:40,515 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR agentdeploy.AgentPluginDeploy deployPlugi
      n.1392 - Exception thrown while executing the command [Ljava.lang.String;@3acb7c
      2013-05-13 12:25:41,144 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR agentdeploy.AgentPluginDeploy deployPlugi
      n.1394 - oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execut
      e commands on ssmdzlcspc01.grupo.ypf.com
      2013-05-13 12:25:41,148 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR agentdeploy.AgentPluginDeploy deployPlugi
      n.1530 - java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does
      not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      2013-05-13 12:25:41,150 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR agentdeploy.AgentPluginDeploy deployPlugi
      n.645 - java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does
      not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      2013-05-13 12:25:41,154 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR commands.ResyncState logp.251 - Error dur
      ing plugin undeployment: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The curr
      ent EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      2013-05-13 12:25:41,226 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR commands.ResyncState logp.251 - *********
      exception from agent undeploy*********
      2013-05-13 12:25:41,231 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR commands.ResyncState logp.251 - stack tra
      ce:
      oracle.sysman.plugin.agentdeploy.AgentPluginDeployException: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformO
      perationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:646)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.undeployPlugin(AgentPluginDeploy.java:584)
      at oracle.sysman.emdrep.jobs.commands.ResyncState.undeployPluginList(ResyncState.java:1402)
      at oracle.sysman.emdrep.jobs.commands.ResyncState.resyncState(ResyncState.java:481)
      at oracle.sysman.emdrep.jobs.commands.ResyncState.executeCommand(ResyncState.java:1982)
      at oracle.sysman.emdrep.jobs.CommandStepExecutor.execute(CommandStepExecutor.java:154)
      at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.execute(ConsoleJobStepExecutor.java:321)
      at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.executeStep(ConsoleJobStepExecutor.java:187)
      at sun.reflect.GeneratedMethodAccessor621.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:370)
      at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:202)
      at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:474)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1120)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1118)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
      at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.security.Security.runAs(Security.java:61)
      at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
      at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
      at oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:398)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1138)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:335)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused by: java.lang.Exception: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:1532)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:966)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.runDeployScript(AgentPluginDeploy.java:714)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:601)
      ... 69 more
      Caused by: java.lang.Exception: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:1404)
      ... 72 more
      Caused by: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy.deployPlugin(AgentPluginDeploy.java:1329)
      ... 72 more
      Caused by: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com
      at oracle.sysman.gcagent.oms.TMRemoteClient.checkPerformOperationPrivilege(TMRemoteClient.java:6576)
      at oracle.sysman.gcagent.oms.TMRemoteClient.performOperationInternal(TMRemoteClient.java:4989)
      at oracle.sysman.gcagent.oms.TMRemotePrivilegedClient.performOperationAsAgent(TMRemotePrivilegedClient.java:156)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy$2.run(AgentPluginDeploy.java:1342)
      at oracle.sysman.plugin.agentdeploy.AgentPluginDeploy$2.run(AgentPluginDeploy.java:1331)
      ... 74 more
      Caused by: oracle.sysman.emSDK.agent.client.exception.EMUserPrivilegeException: The current EM user's privilege could not be checked.
      at oracle.sysman.eml.agent.client.SecurityAssessor.getTargetGuid(SecurityAssessor.java:108)
      at oracle.sysman.eml.agent.client.SecurityAssessor.checkEMPrivilege(SecurityAssessor.java:55)
      at oracle.sysman.gcagent.oms.TMRemoteClient.checkEMPrivilege(TMRemoteClient.java:5377)
      at oracle.sysman.gcagent.oms.TMRemoteClient.checkPerformOperationPrivilege(TMRemoteClient.java:6572)
      ... 78 more
      2013-05-13 12:25:41,484 [[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR commands.ResyncState logp.251 - EMPluginDeploymentException occured while removing plugins from agent: java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.comm.exception.PerformOperationPrivilegeException: The current EM user does not have sufficient privileges to execute commands on ssmdzlcspc01.grupo.ypf.com

      Target host: ssmdzlcspc01.grupo.ypf.com

      Is something wrong with compatibility between agent12c and Win2000?
      Can you help me?
      Regards
      Juan José
        • 1. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
          EricvdS
          W2000 is not certified for a 12c Agent. Only W2003R2 and higher is.

          Eric
          • 2. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
            JuanjoRG
            Thanks for your answer Eric, Can I install another version of agent that's compatible with Win2000? and Can be recognized by EM12c?
            Regards
            Juan José
            • 3. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
              EricvdS
              No, that is not possible. You have to use the 12c agent because the concept (using plug-ins) of the agent is different from previous versions.

              Eric
              • 4. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                JuanjoRG
                Hi Eric, thanks, I was able to install in Win2003 R2 and discovered targets like host, listener and agent but When I try to add an instance and I click on "test connection" couldn´t connect. Here is the logs:


                Emoms.log:
                2013-05-14 12:20:18,683 [EMUI_12_13_47_/console/database/config] ERROR db.conf logp.251 - Unable to connect to the database.
                2013-05-14 12:20:18,724 [EMUI_12_13_47_/console/database/config] ERROR db.conf logp.251 - java.sql.SQLException: El fallo de conexión se puede deber a una red lenta o a la presencia de un firewall.
                java.sql.SQLException: El fallo de conexión se puede deber a una red lenta o a la presencia de un firewall.
                at oracle.sysman.db.conf.DBConfigObject.getConnection(DBConfigObject.java:2391)
                at oracle.sysman.db.conf.DBConfigObject.checkPrivs(DBConfigObject.java:4291)
                at oracle.sysman.db.conf.DBConfigUI.testConnection(DBConfigUI.java:1347)
                at oracle.sysman.db.conf.DBConfigListUI.multipleTestConnection(DBConfigListUI.java:4430)
                at oracle.sysman.db.conf.DBConfigController.getDisplayPage(DBConfigController.java:999)
                at oracle.sysman.db.conf.DBConfigController.handleEvent(DBConfigController.java:3409)
                at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:584)
                at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:248)
                at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:758)
                at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:336)
                at oracle.sysman.eml.app.Console.doGet(Console.java:337)
                at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.ConsoleFilter.doFilter(ConsoleFilter.java:368)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMTargetAuthFilter.doFilter(EMTargetAuthFilter.java:375)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:675)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMSecurityFilter.doFilter(EMSecurityFilter.java:66)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:81)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
                at java.security.AccessController.doPrivileged(Native Method)
                at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
                at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
                at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
                at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
                at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                2013-05-14 12:20:29,835 [EMUI_12_18_54_/console/database/config] ERROR db.conf logp.251 - Unable to connect to the database.
                2013-05-14 12:20:29,845 [EMUI_12_18_54_/console/database/config] ERROR db.conf logp.251 - java.sql.SQLException: El fallo de conexión se puede deber a una red lenta o a la presencia de un firewall.
                java.sql.SQLException: El fallo de conexión se puede deber a una red lenta o a la presencia de un firewall.
                at oracle.sysman.db.conf.DBConfigObject.getConnection(DBConfigObject.java:2391)
                at oracle.sysman.db.conf.DBConfigObject.checkPrivs(DBConfigObject.java:4291)
                at oracle.sysman.db.conf.DBConfigUI.testConnection(DBConfigUI.java:1347)
                at oracle.sysman.db.conf.DBConfigListUI.multipleTestConnection(DBConfigListUI.java:4430)
                at oracle.sysman.db.conf.DBConfigController.getDisplayPage(DBConfigController.java:999)
                at oracle.sysman.db.conf.DBConfigController.handleEvent(DBConfigController.java:3409)
                at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:584)
                at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:248)
                at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:758)
                at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:336)
                at oracle.sysman.eml.app.Console.doGet(Console.java:337)
                at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.ConsoleFilter.doFilter(ConsoleFilter.java:368)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMTargetAuthFilter.doFilter(EMTargetAuthFilter.java:375)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:675)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.eml.app.EMSecurityFilter.doFilter(EMSecurityFilter.java:66)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:81)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
                at java.security.AccessController.doPrivileged(Native Method)
                at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
                at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
                at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
                at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
                at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                2013-05-14 12:20:43,315 [StuckThreadDetection] ERROR workmanager.Work logp.251 - WorkOMSHeartbeatThreadstuck for more than 120000 millisecs
                2013-05-14 12:20:43,318 [StuckThreadDetection] ERROR workmanager.Work logp.251 - name:OMSHeartbeatThread,startTime:1368544723203,
                2013-05-14 12:20:43,320 [StuckThreadDetection] ERROR workmanager.Work logp.251 - java.lang.Shutdown.halt(Shutdown.java:95)
                java.lang.Runtime.halt(Runtime.java:256)
                oracle.sysman.util.healthMonitor.HealthMonitor._exit(HealthMonitor.java:807)
                oracle.sysman.util.healthMonitor.HealthMonitor.restart(HealthMonitor.java:695)
                oracle.sysman.util.healthMonitor.HealthMonitor.restart(HealthMonitor.java:616)
                oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.die(OMSHeartbeatRecorder.java:418)
                oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.heartbeat(OMSHeartbeatRecorder.java:475)
                oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.mainTask(OMSHeartbeatRecorder.java:707)
                oracle.sysman.emdrep.failover.OMSHeartbeatRecorder.doWork(OMSHeartbeatRecorder.java:553)
                oracle.sysman.core.common.workmanager.Work.handleScheduledWork(Work.java:287)
                oracle.sysman.core.common.workmanager.Work.call(Work.java:198)
                oracle.sysman.core.common.workmanager.Work.call(Work.java:45)
                java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                java.util.concurrent.FutureTask.run(FutureTask.java:138)
                java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                java.lang.Thread.run(Thread.java:662)

                emagent_perl.trc:
                oracledb.pl: Tue May 14 12:09:43 2013: INFO: DB_LISTENER_DISCOVERY: ***** Start of Database and Listener Discovery***
                oracledb.pl: Tue May 14 12:09:43 2013: WARN: DB_LISTENER_DISCOVERY: cannot open 2147483650\Software\Wow6432Node\Oracle =The system cannot find the file specified

                oracledb.pl: Tue May 14 12:09:43 2013: WARN: DB_LISTENER_DISCOVERY: Check is oh=[d:\oracle\ora81\bin\ORACLE.EXE IMSP] is valid for sid [IMSP]

                oracledb.pl: Tue May 14 12:09:43 2013: WARN: DB_LISTENER_DISCOVERY: Check is oh=[d:\oracle\ora81\bin\ORACLE.EXE LMSP] is valid for sid [LMSP]

                oracledb.pl: Tue May 14 12:09:54 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="IMSP" service =IMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 12:09:54 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="IMSP" service =IMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 12:09:54 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="LMSP" service =LMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 12:09:54 2013: INFO: DB_LISTENER_DISCOVERY: processing sid="IMSP"
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: database target "IMSP" discovered. Details: [IMSP,IMSP,sdbuetmspc01,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521]
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: processing sid="LMSP"
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: database target "LMSP" discovered. Details: [LMSP,LMSP,sdbuetmspc01,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521]
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: processing listener "LISTENER" from "D:\oracle\ora81\network\admin"
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: listener target LISTENER_sdbuetmspc01.grupo.ypf.com discovered. Details: [D:\oracle\ora81\network\admin,LISTENER,sdbuetmspc01.grupo.ypf.com,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521,]
                oracledb.pl: Tue May 14 12:09:55 2013: INFO: DB_LISTENER_DISCOVERY: ***** END of Database and Listener Discovery***
                oracledb.pl: Tue May 14 13:03:17 2013: INFO: DB_LISTENER_DISCOVERY: ***** Start of Database and Listener Discovery***
                oracledb.pl: Tue May 14 13:03:17 2013: WARN: DB_LISTENER_DISCOVERY: cannot open 2147483650\Software\Wow6432Node\Oracle =The system cannot find the file specified

                oracledb.pl: Tue May 14 13:03:17 2013: WARN: DB_LISTENER_DISCOVERY: Check is oh=[d:\oracle\ora81\bin\ORACLE.EXE IMSP] is valid for sid [IMSP]

                oracledb.pl: Tue May 14 13:03:17 2013: WARN: DB_LISTENER_DISCOVERY: Check is oh=[d:\oracle\ora81\bin\ORACLE.EXE LMSP] is valid for sid [LMSP]

                oracledb.pl: Tue May 14 13:03:28 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="IMSP" service =IMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 13:03:28 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="IMSP" service =IMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 13:03:28 2013: INFO: DB_LISTENER_DISCOVERY: found dynamic sid="LMSP" service =LMSP port = 1521 host =sdbuetmspc01 home=
                oracledb.pl: Tue May 14 13:03:28 2013: INFO: DB_LISTENER_DISCOVERY: processing sid="IMSP"
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: database target "IMSP" discovered. Details: [IMSP,IMSP,sdbuetmspc01,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521]
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: processing sid="LMSP"
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: database target "LMSP" discovered. Details: [LMSP,LMSP,sdbuetmspc01,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521]
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: processing listener "LISTENER" from "D:\oracle\ora81\network\admin"
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: listener target LISTENER_sdbuetmspc01.grupo.ypf.com discovered. Details: [D:\oracle\ora81\network\admin,LISTENER,sdbuetmspc01.grupo.ypf.com,sdbuetmspc01.grupo.ypf.com,D:\oracle\ora81,1521,]
                oracledb.pl: Tue May 14 13:03:29 2013: INFO: DB_LISTENER_DISCOVERY: ***** END of Database and Listener Discovery***


                Regards.
                Juan José
                • 5. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                  EricvdS
                  A part of it is in Spanish and it is a while I learned theat language at school but I do see d:\oracle\ora81 Oracle 8.1.x is not supported. Not by 12c nor by 11g.
                  Could that be the problem?

                  Eric
                  • 6. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                    JuanjoRG
                    Yes Could be, but it's strange that the agent can discoverer all the targets except database. So the solution only it's upgrade the database up to 10g at less.
                    Unfortunately We have about 20 databases with 8i version :(
                    Regards
                    Juan Jose
                    • 7. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                      Davewolf-Oracle
                      Looking at the Discovery output, it is finding 2 databases on the agent host.

                      The process is saying it cannot connect to the DB via SQL. I believe the connection is being attempted between the OMS and the target DB. Check to make sure the host name of the agent host resolves using NSLOOKUP from the oms server. (If it does not, add it to local hosts file. ) Then, double check you can connect to the database as DBSNMP user and password you are entering from the OMS host using SQLPlus.

                      Let us know if this resolves the issue.
                      Dave
                      • 8. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                        JuanjoRG
                        Hi Dave, I checked all conecction issues like nslookup, ping, etc and I don't have any problem between OMS and DB.Also I can connect with dbsnmp user.
                        Regards
                        Juan José
                        • 9. Re: Cannot Discovering Host-Database with Agent 12c on Windows Server
                          JuanjoRG
                          Hi everyone, finally I installed agent 12c over WinServer 2003, then I create OS command job that call a package in the database 8i to get my demand.
                          Regards
                          Juan José