3 Replies Latest reply: Apr 28, 2013 9:05 AM by 1002969 RSS

    Plugin Fails to install to remote host OEM 12c R2

    972009
      I am trying to get a couple of plugins to deploy to some remote hosts, but they are failing. I did the initial agent install to the servers with no problems. Now I am trying to add the Oracle Database plugin, and the E-Business Suite Plugin now. I have successfully done this before on another OEM install. Here is the output log I see:

      Calling the validateRuntimeParameters method
      PluginDeployonAgt: Plugin Deploy on Agent : validated parameters
      The target_guid is CB189EA727EA205C077F7FC2F853287B.propName : OracleHome
      propName : AgentState
      PluginDeployonAgt
      Plugin Deploy on Agent - oraHome /u01/app/Agent12c/core/12.1.0.2.0
      PluginDeployonAgt - emStateDir /u01/app/Agent12c/agent_inst
      The plugin details are :
      Agent url oracle.apps.ebs
      pluginId 12.1.0.1.0
      pluginVersion 0
      pluginRevision DISCOVERY
      pluginType {4}
      action {5}
      operCode {6}
      errorCode {7}
      errorMsg {8}
      @@@@@@@@@@@@@@-----------------------.
      The exception has occured java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.client.exception.AccessPrivilegeException: (oracle.sysman.gcagent.oms.AsAgentPermission putFile)
      The plugin details are :
      Agent url oracle.apps.ebs
      pluginId 12.1.0.1.0
      pluginVersion 0
      pluginRevision AGENT
      pluginType {4}
      action {5}
      operCode {6}
      errorCode {7}
      errorMsg {8}
      @@@@@@@@@@@@@@-----------------------.
      The exception has occured java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.client.exception.AccessPrivilegeException: (oracle.sysman.gcagent.oms.AsAgentPermission putFile)
      The exit code is -1

      I have tried resynchronizing, stop/start agents, stop/start OEM, and went as far as rebooting the OEM server. I have not tried removing the host, and agent, then trying to reinstall it.

      Any thoughts, suggestions? Thanks in advance.
        • 1. Re: Plugin Fails to install to remote host OEM 12c R2
          972009
          I created an SR with Oracle and they were able to help get this resolved.
          • 2. Re: Plugin Fails to install to remote host OEM 12c R2
            user7765841
            Hi , how did you resolved this problem ?
            Thanks
            • 3. Re: Plugin Fails to install to remote host OEM 12c R2
              1002969
              Hi,
              I have the same problem when i try to deploy patch 16466443 on remote agent via Plan.


              Step: GetHomePatchMap Error


              PatchList : 16466443
              TargetName : ------:3872
              ----------------------------------------
              [Apr 28, 2013 6:04:22 PM] Command Arguments:
              /oracle/agent12cr2/core/12.1.0.2.0/OPatch/opatch checkComponents -phbasedir /u01/distr/16466443/16466443 -oh /oracle/agent12cr2/core/12.1.0.2.0 -invPtrloc /oracle/agent12cr2/core/12.1.0.2.0/oraInst.loc
              [Apr 28, 2013 6:04:22 PM] java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.client.exception.AccessPrivilegeException: (oracle.sysman.gcagent.oms.AsAgentPermission performOperation)
              [Apr 28, 2013 6:04:22 PM] Unexpected Exception: null

              on the server, this command works correctly:

              oracle@xxx $ /oracle/agent12cr2/core/12.1.0.2.0/OPatch/opatch checkComponents -phbasedir /u01/distr/16466443/16466443 -oh /oracle/agent12cr2/core/12.1.0.2.0 -invPtrloc /oracle/agent12cr2/core/12.1.0.2.0/oraInst.loc
              Oracle Interim Patch Installer version 11.1.0.9.10
              Copyright (c) 2012, Oracle Corporation. All rights reserved.


              Oracle Home : /oracle/agent12cr2/core/12.1.0.2.0
              Central Inventory : /oracle/oraInventory
              from : /oracle/agent12cr2/core/12.1.0.2.0/oraInst.loc
              OPatch version : 11.1.0.9.10
              OUI version : 11.1.0.9.0
              Log file location : /oracle/agent12cr2/core/12.1.0.2.0/cfgtoollogs/opatch/opatch2013-04-28_19-02-03PM_1.log

              Invoking utility "checkcomponents"


              The input patch(es) "[16466443]" can be applied to the following homes (1):
              /oracle/agent12cr2/core/12.1.0.2.0

              The input patch(es) "[16466443]" can be applied to the passed homes by the following command(s):
              /oracle/agent12cr2/core/12.1.0.2.0/OPatch/opatch napply /u01/distr/16466443/16466443 -oh /oracle/agent12cr2/core/12.1.0.2.0 -invptrLoc /oracle/agent12cr2/core/12.1.0.2.0/oraInst.loc
              OPatch command 'checkComponents' done.

              OPatch succeeded.


              The error occurs when I try to put any patch on the agent through the Plan



              somebody decided this issue?

              Edited by: 999966 on 28.04.2013 7:02