1 2 Previous Next 28 Replies Latest reply: Mar 23, 2011 6:33 PM by 819948 RSS

    oracle.sysman.emcp.agent.AgentPlugIn has failed

    280092
      Hi,
      I did some research on this error and found couple of suggestions. But, still I have issue on my installation.

      OS -> SuSE Linux Enterprise Server 9
      OEM -> OEM 10g R3 (installing R2 and next to upgrade R3)


      Installation Failed at end
      Configuration assistant "Agent Configuration Assistant" failed

      Following is Error Mesg from install<>/log

      ---
      Command = oracle.sysman.emcp.agent.AgentPlugIn has failed
      Exception : java.lang.Exception:
      The Management Agent Configuration Assistant has failed. The following failures were recorded:

      configureAgent:discovery on non RAC: Host discovery failed.
      Oracle Database discovery failed.

      INFO: Configuration assistant "Agent Configuration Assistant" failed
      INFO: The "/oembin/OEM/agent10g/cfgtoollogs/configToolFailedCommands" script contains all commands
      that failed, were skipped or were cancelled. This file may be used to run these configuration
      assistants outside of OUI. Note that you may have to update this script with passwords (if any)
      before executing the same.
      ---

      Thanks.
        • 1. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
          280092
          1) I verified Host file, Commented default IPv6 in /etc/hosts.
          2)
          a. Unset oracle_home
          b. Unset "ld_" variables
          c. Remove any settings in the PATH with "oracle"
          d. Unset "nls_" variables
          e. Unset "lc_" variables
          f. Unset "tns_" variables
          g. Unset sid
          h. Unset LD_LIBRARY_PATH
          i. Unset any oracle application variables (if applicable)
          j. Unset any variables with either spaces or semi-colons in them

          3) Tested nslookup (Hostname) (Host.domianname) (IP Address)
          on OEM server and from other servers/PC.

          4) I'm using VNC session.

          Thanks.
          • 2. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
            mnazim-Oracle
            Does any other agent running on that box , please provide the conff log
            AOh\cfgtoologs\cfgfw\
            • 3. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
              280092
              This New box for OEM 10g Server.


              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Adding /oembin/OEM/agent10g/sysman/install/target.outias file to /oembin/OEM/agent10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:Will not remove for now...
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:TargetInstaller added target file = /oembin/OEM/agent10g/sysman/install/target.outias to /oembin/OEM/agent10g successfully.
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:DiscoverTargets:addCentralAgents:Adding the Central Agent home to iAS Homes
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:DiscoverTargets:addCentralAgents:Adding the Central Agent home to /oembin/OEM/oms10g, VERSION=null
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:DiscoverTargets:addCentralAgent:performing command=/oembin/OEM/agent10g/jdk/bin/java -cp /oembin/OEM/oms10g/jlib/emConfigInstall.jar oracle.sysman.emSDK.conf.TargetInstaller addcentralagent /oembin/OEM/agent10g /oembin/OEM/oms10g, for emdRoot=/oembin/OEM/agent10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /oembin/OEM/agent10g/jdk/bin/java -cp /oembin/OEM/oms10g/jlib/emConfigInstall.jar oracle.sysman.emSDK.conf.TargetInstaller addcentralagent /oembin/OEM/agent10g /oembin/OEM/oms10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=

              STDOUT=

              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /oembin/OEM/agent10g/perl/bin/perl /oembin/OEM/agent10g/sysman/admin/discover/oracle_apache.pl /oembin/OEM/agent10g s1-oem.sitestuff.com
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=
              log4j:ERROR No appenders could be found for category (emSDK.config).
              log4j:ERROR Please initialize the log4j system properly.

              STDOUT=
              <Targets>
              </Targets>

              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Adding /oembin/OEM/agent10g/sysman/install/target.outapache file to /oembin/OEM/agent10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:Will not remove for now...
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:TargetInstaller added target file = /oembin/OEM/agent10g/sysman/install/target.outapache to /oembin/OEM/agent10g successfully.
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /oembin/OEM/agent10g/perl/bin/perl /oembin/OEM/agent10g/sysman/admin/discover/csa_collector.pl s1-oem.sitestuff.com /oembin/OEM/oms10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=

              STDOUT=
              <Targets>
              <Target TYPE="oracle_csa_collector" NAME="s1-oem.sitestuff.com_oms_csa_collector" DISPLAY_NAME="s1-oem.sitestuff.com_oms_csa_collector">
              <Property NAME="recvFileDir" VALUE="/oembin/OEM/oms10g/oms_csa/results"/>
              </Target>
              </Targets>

              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Adding /oembin/OEM/agent10g/sysman/install/target.outcsa file to /oembin/OEM/agent10g
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:Will not remove for now...
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:TargetInstaller added target file = /oembin/OEM/agent10g/sysman/install/target.outcsa to /oembin/OEM/agent10g successfully.
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Doing Chronos Configurarion...
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /oembin/OEM/agent10g/perl/bin/perl /oembin/OEM/agent10g/bin/chronos_config.pl
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 1
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=
              stty: standard input: Invalid argument
              stty: standard input: Invalid argument

              STDOUT=
              Oracle Enterprise Manager 10g Release 10.2.0.1.0.
              Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
              Stopping agent ... stopped.
              Oracle Enterprise Manager 10g Release 10.2.0.1.0.
              Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
              Starting agent ....... started.
              Configuring webserver, document root /oembin/OEM/oms10g/Apache/Apache/htdocs
              Javascript and gif files copied in to document root directory.
              Configuring webcache /oembin/OEM/oms10g
              Checking if opmn is up ...

              /oembin/OEM/oms10g/opmn/bin/opmnctl status

              Processes in Instance: EnterpriseManager0.s1-oem.sitestuff.com
              ------------------------------------------------+---------
              ias-component | process-type | pid | status
              ------------------------------------------------+---------
              DSA | DSA | N/A | Down
              HTTP_Server | HTTP_Server | 5727 | Alive
              LogLoader | logloaderd | N/A | Down
              dcm-daemon | dcm-daemon | N/A | Down
              OC4J | home | 5728 | Alive
              OC4J | OC4J_EM | 5729 | Alive
              OC4J | OC4J_EMPROV | 5730 | Alive
              WebCache | WebCache | 5247 | Alive
              WebCache | WebCacheAdmin | 5733 | Alive


              Restarting webcache...

              /oembin/OEM/oms10g/opmn/bin/opmnctl stopproc process-type=WebCache
              opmnctl: stopping opmn managed processes...

              /oembin/OEM/oms10g/opmn/bin/opmnctl startproc process-type=WebCache
              opmnctl: starting opmn managed processes...
              Adding collection for webcache target : EnterpriseManager0.s1-oem.sitestuff.com_Web Cache
              EnterpriseManager0.s1-oem.sitestuff.com_Web Cache ::: EnterpriseManager0_s1_oem_sitestuff_com_Web_Cache
              Attempting to reload Agent.
              /oembin/OEM/agent10g/bin/emctl reload
              Oracle Enterprise Manager 10g Release 10.2.0.1.0.
              Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
              ---------------------------------------------------------------
              EMD reload completed successfully
              Oracle Enterprise Manager 10g Release 10.2.0.1.0.
              Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
              Oracle Enterprise Manager 10g Release 10.2.0.1.0.
              Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
              ---------------------------------------------------------------
              EMD reload completed successfully

              SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 21 09:24:15 2007

              Copyright (c) 1982, 2005, Oracle. All rights reserved.

              Connected.
              DEFAULT WEBSITE SYSTEM EM Website System(generic_system) FAILED.
              DEFAULT WEBSITE EM Website CREATION FAILED : ORA-20500: Specified target EM
              Website of target type website already existORA-20500: Specified target EM
              Website of target type website already exist

              BEGIN
              *
              ERROR at line 1:
              ORA-20999: CREATE DEFAULT WEBSITE FAILED : ORA-20500: Specified target EM
              Website of target type website already exist
              ORA-06512: at line 224


              Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
              With the Partitioning, OLAP and Data Mining options

              SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 21 09:24:45 2007

              Copyright (c) 1982, 2005, Oracle. All rights reserved.

              Connected.
              DEFAULT WEBSITE SYSTEM EM Website System(generic_system) FAILED.
              DEFAULT WEBSITE EM Website CREATION FAILED : ORA-20500: Specified target EM
              Website of target type website already existORA-20500: Specified target EM
              Website of target type website already exist

              BEGIN
              *
              ERROR at line 1:
              ORA-20999: CREATE DEFAULT WEBSITE FAILED : ORA-20500: Specified target EM
              Website of target type website already exist
              ORA-06512: at line 224


              Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
              With the Partitioning, OLAP and Data Mining options

              SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 21 09:25:15 2007

              Copyright (c) 1982, 2005, Oracle. All rights reserved.

              Connected.
              DEFAULT WEBSITE SYSTEM EM Website System(generic_system) FAILED.
              DEFAULT WEBSITE EM Website CREATION FAILED : ORA-20500: Specified target EM
              Website of target type website already existORA-20500: Specified target EM
              Website of target type website already exist

              BEGIN
              *
              ERROR at line 1:
              ORA-20999: CREATE DEFAULT WEBSITE FAILED : ORA-20500: Specified target EM
              Website of target type website already exist
              ORA-06512: at line 224


              Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
              With the Partitioning, OLAP and Data Mining options

              SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 21 09:25:45 2007

              Copyright (c) 1982, 2005, Oracle. All rights reserved.

              Connected.
              DEFAULT WEBSITE SYSTEM EM Website System(generic_system) FAILED.
              DEFAULT WEBSITE EM Website CREATION FAILED : ORA-20500: Specified target EM
              Website of target type website already existORA-20500: Specified target EM
              Website of target type website already exist

              BEGIN
              *
              ERROR at line 1:
              ORA-20999: CREATE DEFAULT WEBSITE FAILED : ORA-20500: Specified target EM
              Website of target type website already exist
              ORA-06512: at line 224


              Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
              With the Partitioning, OLAP and Data Mining options
              Website target creation script failed.

              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation /oembin/OEM/agent10g/perl/bin/perl /oembin/OEM/agent10g/bin/chronos_config.pl has failed to perform with Status = 1
              FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:8
              INFO: oracle.sysman.top.agent:Internal PlugIn for {Micro Step state:step:1:configuration in CfmAggregateInstance: oracle.sysman.top.agent:10.2.0.1.0:common:family=CFM:oh=/oembin/OEM/agent10g:label=3} failed with an unhandled exception:
              java.lang.Exception: 8
              at oracle.sysman.emcp.agent.AgentPlugIn.startProcessing(AgentPlugIn.java:242)
              at oracle.sysman.emcp.agent.AgentPlugIn.invoke(AgentPlugIn.java:217)
              at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:509)
              at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:121)
              at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
              at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)

              INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
              INFO: OuiConfigVariables:IAction.perform() was called on {Action state:OUICA in CfmAggregateInstance: OuiConfigVariables:1.0.0.0.0:common:family=CFM:oh=/oembin/OEM/agent10g:label=3}
              INFO: Framework waiting for Action to complete at 09:26:19.423
              INFO: CfwProgressMonitor:actionProgress:About to perform Action=OUICA Status=is running with ActionStep=0 stepIndex=0 microStep=0
              INFO: OuiConfigVariables:About to execute plug-in OUI_CA
              INFO: OuiConfigVariables:The plug-in OUI_CA is running
              INFO: OuiConfigVariables:Launching CmdExec
              INFO: OuiConfigVariables:ExitCode=1
              INFO: OuiConfigVariables:The plug-in OUI_CA executed as attached=true in separate process with exitcode=1
              INFO: OuiConfigVariables:The plug-in OUI_CA has failed its perform method
              INFO: done waiting for Action from 09:26:19.423
              INFO: Cfm.save() was called
              INFO: Cfm.save(): 21 aggregate instances saved
              • 4. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                mnazim-Oracle
                Seems agent is working , can you check the targets.xml realated targets are there or not ,also start the agent if not running
                • 5. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                  280092
                  I was able to start/stop/status on agent on OEM Server.
                  Thank you.


                  Now I have issue with AgentDownload on Target hosts.
                  I downloaded agentDownload on target hosts and it failed.

                  oracle.sysman.emcp.agent.AgentPlugIn

                  After installing ./agentDownload -b....
                  I set ORacleHOMe, LD_library_path, path and
                  $ emctl start/stop agent - failed.
                  Any suggestion please.

                  ================================
                  oraInstall log ----
                  Configuration assistant "Agent Configuration Assistant" failed
                  SEVERE: OUI-10104:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the 'Retry' button to retry them.
                  INFO: User Selected: Yes/OK

                  INFO: --------------------------------------
                  INFO: The "/home/oemagent/agentInstal/agent10g/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
                  INFO: The "/home/oemagent/agentInstal/agent10g/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
                  INFO: Created a new file /home/oemagent/agentInstal/agent10g/cfgtoollogs/configToolFailedCommands
                  INFO: Since the option is to overwrite the existing /home/oemagent/agentInstal/agent10g/cfgtoollogs/configToolFailedCommands file, backing it up
                  INFO: The backed up file name is /home/oemagent/agentInstal/agent10g/cfgtoollogs/configToolFailedCommands.bak
                  INFO:
                  INFO: --------------------------------------
                  INFO:
                  *** End of Installation Page***
                  The installation of Oracle Management Agent was successful, but some optional configuration assistants failed, were cancelled or skipped.
                  INFO: The OUICA command is launched from /home/oemagent/agentInstal/agent10g/oui/bin/ouica.sh.
                  INFO: Path To 'globalcontext.xml' = /home/oemagent/agentInstal/agent10g/install/chainedInstall/globalcontext
                  INFO: Recursively delete: /tmp/OraInstall2007-02-21_09-26-15AM
                  -----------------------------------------------------------------------------
                  *** Starting OUICA ***
                  Oracle Home set to /home/oemagent/agentInstal/agent10g
                  Configuration directory is set to /home/oemagent/agentInstal/agent10g/cfgtoollogs. All xml files under the directory will be processed
                  ---------------------

                  ================================
                  ERRORs from /home/oemagent/agentInstal/agent10g/sysman/log
                  ================================
                  ---emctl.log
                  ================================
                  20626 :: Wed Feb 21 09:27:01 2007::AgentLifeCycle.pm: Processing secure agent
                  20626 :: Wed Feb 21 09:27:01 2007::AgentStatus.pm:Processing secure agent
                  21201 :: Wed Feb 21 09:27:17 2007::AgentStatus.pm:Unknown command encountered
                  21626 :: Wed Feb 21 09:27:18 2007::AgentLifeCycle.pm: Processing start agent
                  21626 :: Wed Feb 21 09:27:18 2007::AgentLifeCycle.pm: EMHOME is /home/oemagent/agentInstal/agent10g
                  21626 :: Wed Feb 21 09:27:18 2007::AgentLifeCycle.pm:status agent returned with retCode=0
                  21626 :: Wed Feb 21 09:27:22 2007::AgentLifeCycle.pm:Watch dog processs id: 21648 exited with an exit code of 0
                  21626 :: Wed Feb 21 09:27:49 2007::AgentLifeCycle.pm: Exited loop with retCode=0
                  25475 :: Wed Feb 21 10:46:50 2007::AgentLifeCycle.pm: Processing status agent
                  25475 :: Wed Feb 21 10:46:50 2007::AgentStatus.pm:Processing status agent
                  25475 :: Wed Feb 21 10:46:50 2007::AgentStatus.pm:emdctl status returned 0
                  25475 :: Wed Feb 21 10:46:50 2007::AgentStatus.pm:Abnormal exit code.
                  25905 :: Wed Feb 21 10:47:04 2007::AgentLifeCycle.pm: Processing start agent
                  25905 :: Wed Feb 21 10:47:04 2007::AgentLifeCycle.pm: EMHOME is /home/oemagent/agentInstal/agent10g
                  25905 :: Wed Feb 21 10:47:04 2007::AgentLifeCycle.pm:status agent returned with retCode=0
                  25905 :: Wed Feb 21 10:47:08 2007::AgentLifeCycle.pm:Watch dog processs id: 25928 exited with an exit code of 0
                  25905 :: Wed Feb 21 10:47:34 2007::AgentLifeCycle.pm: Exited loop with retCode=0
                  26686 :: Wed Feb 21 10:49:51 2007::AgentLifeCycle.pm: Processing stop agent
                  26686 :: Wed Feb 21 10:49:51 2007::AgentStatus.pm:emdctl status agent returned 0
                  26686 :: Wed Feb 21 10:49:51 2007::AgentLifeCycle.pm:istatusCEMD returned 0
                  27115 :: Wed Feb 21 10:49:57 2007::AgentLifeCycle.pm: Processing start agent
                  27115 :: Wed Feb 21 10:49:57 2007::AgentLifeCycle.pm: EMHOME is /home/oemagent/agentInstal/agent10g
                  27115 :: Wed Feb 21 10:49:57 2007::AgentLifeCycle.pm:status agent returned with retCode=0
                  27115 :: Wed Feb 21 10:50:01 2007::AgentLifeCycle.pm:Watch dog processs id: 27137 exited with an exit code of 0
                  27115 :: Wed Feb 21 10:50:28 2007::AgentLifeCycle.pm: Exited loop with retCode=0
                  ================================
                  ================================
                  ------- emagent.nohup.
                  ================================
                  ----- Wed Feb 21 10:49:58 2007::Agent Launched with PID 27158 at time Wed Feb 21 10:49:58 2007 -----
                  ----- Wed Feb 21 10:50:01 2007::Checking status of EMAgent : 27158 -----
                  ----- Wed Feb 21 10:50:01 2007::EMAgent exited at Wed Feb 21 10:50:01 2007 with return value 0. -----
                  ----- Wed Feb 21 10:50:01 2007::EMAgent was shutdown normally. -----
                  ----- Wed Feb 21 10:50:01 2007::Exiting watchdog loop
                  -----
                  ================================
                  • 6. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                    280092
                    ./agent10g/sysman/emd/targets.xml

                    I can see only OEM 10g Server details.
                    • 7. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                      mnazim-Oracle
                      Please paste the config log AOh\cfgttolgs\cfgfw
                      • 8. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                        280092
                        Below last few lines from requested log. This on Client where all over DB/AS are running.

                        1) scp /oembin/OEM/oms10g/sysman/agent_download/10.2.0.1.0/linux .
                        2) chmod -R 777 linux
                        3) cd linux
                        4) ./agentDownload.linux -b /home/oemagent/agentInstal

                        Log File - >/agentInstall/agent10g/cfgtoollogs/cfgfw/CfmLogger_2007-02-21_11-15-58-AM.log

                        =====================
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /home/oemagent/agentInstall/agent10g/perl/bin/perl /home/oemagent/agentInstall/agent10g/sysman/admin/discover/oracle_ias.pl /home/oemagent/agentInstall/agent10g s1-10gsso.sitestuff.com
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = -1
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=
                        install_driver(Oracle) failed: Can't load '/home/oemagent/agentInstall/agent10g/perl/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /home/oemagent/agentInstall/agent10g/perl/lib/5.8.3/i686-linux-thread-multi/DynaLoader.pm line 229.
                        at (eval 1) line 3
                        Compilation failed in require at (eval 1) line 3.
                        Perhaps a required shared library or dll isn't installed where expected
                        at /home/oemagent/agentInstall/agent10g/perl/lib/site_perl/5.8.3/i686-linux-thread-multi/Oraperl.pm line 58
                        Compilation failed in require at /home/oemagent/agentInstall/agent10g/sysman/admin/scripts/emd_common.pl line 37.
                        BEGIN failed--compilation aborted at /home/oemagent/agentInstall/agent10g/sysman/admin/scripts/emd_common.pl line 37.
                        Compilation failed in require at /home/oemagent/agentInstall/agent10g/sysman/admin/scripts/emdcommon.pm line 25.
                        Compilation failed in require at /home/oemagent/agentInstall/agent10g/sysman/admin/scripts/emdiscoveryhelper.pm line 39.
                        Compilation failed in require at /home/oemagent/agentInstall/agent10g/sysman/admin/discover/oracle_ias.pl line 53.
                        BEGIN failed--compilation aborted at /home/oemagent/agentInstall/agent10g/sysman/admin/discover/oracle_ias.pl line 53.

                        STDOUT=

                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation /home/oemagent/agentInstall/agent10g/perl/bin/perl /home/oemagent/agentInstall/agent10g/sysman/admin/discover/oracle_ias.pl /home/oemagent/agentInstall/agent10g s1-10gsso.sitestuff.com has failed to perform with Status = -1
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /home/oemagent/agentInstall/agent10g/perl/bin/perl /home/oemagent/agentInstall/agent10g/sysman/admin/discover/oracle_apache.pl /home/oemagent/agentInstall/agent10g s1-10gsso.sitestuff.com
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:STDERR=
                        log4j:ERROR No appenders could be found for category (emSDK.config).
                        log4j:ERROR Please initialize the log4j system properly.

                        STDOUT=
                        <Targets>
                        </Targets>

                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Adding /home/oemagent/agentInstall/agent10g/sysman/install/target.outapache file to /home/oemagent/agentInstall/agent10g
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:Will not remove for now...
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:addToTargetsXML:TargetInstaller added target file = /home/oemagent/agentInstall/agent10g/sysman/install/target.outapache to /home/oemagent/agentInstall/agent10g successfully.
                        INFO: oracle.sysman.top.agent:configureAgent:DiscoverTargets completed=1 and errMsg=1111000, details=configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.

                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:AgentPlugIn:perform:Starting Agent with startAgent=true
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Starting the agent
                        INFO: oracle.sysman.top.agent:Starting the agent...
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Executing Command: /home/oemagent/agentInstall/agent10g/bin/emctl start agent
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation Completed with Status = 1
                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:Requested Operation /home/oemagent/agentInstall/agent10g/bin/emctl start agent has failed to perform with Status = 1
                        STDERR=

                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Starting agent ................................. failed.
                        Consult the log files in: /home/oemagent/agentInstall/agent10g/sysman/log
                        CONFIG: oracle.sysman.top.agent:
                        The Management Agent Configuration Assistant has failed. The following failures were recorded:


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...

                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.

                        STDERR=

                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Starting agent ................................. failed.
                        Consult the log files in: /home/oemagent/agentInstall/agent10g/sysman/log

                        FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.agent:
                        The Management Agent Configuration Assistant has failed. The following failures were recorded:


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...

                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.

                        STDERR=

                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Starting agent ................................. failed.
                        Consult the log files in: /home/oemagent/agentInstall/agent10g/sysman/log

                        INFO: oracle.sysman.top.agent:Internal PlugIn for {Micro Step state:step:1:configuration in CfmAggregateInstance: oracle.sysman.top.agent:10.2.0.1.0:common:family=CFM:oh=/home/oemagent/agentInstall/agent10g:label=0} failed with an unhandled exception:
                        java.lang.Exception:
                        The Management Agent Configuration Assistant has failed. The following failures were recorded:


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...

                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.


                        STDERR=

                        stty: standard input: Invalid argument
                        stty: standard input: Invalid argument
                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Enter Agent Registration password :
                        Failed to stop agent...
                        configureAgent:discovery on non RAC: Host discovery failed.
                        Oracle Database discovery failed.
                        Oracle Application Server discovery failed.
                        Client System Analyzer discovery failed.

                        STDERR=

                        STDOUT=

                        Oracle Enterprise Manager 10g Release 10.2.0.1.0.
                        Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
                        Starting agent ................................. failed.
                        Consult the log files in: /home/oemagent/agentInstall/agent10g/sysman/log

                        at oracle.sysman.emcp.agent.AgentPlugIn.startProcessing(AgentPlugIn.java:242)
                        at oracle.sysman.emcp.agent.AgentPlugIn.invoke(AgentPlugIn.java:217)
                        at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:509)
                        at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:121)
                        at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
                        at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)

                        INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
                        INFO: Cfm.save() was called
                        INFO: Cfm.save(): 2 aggregate instances saved
                        ===============================
                        • 9. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                          277993
                          Is this full EM install or only Agent Install?
                          Do you have a previous Oracle Server instalaltion on this box?
                          • 10. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                            mnazim-Oracle
                            Please answer ugonic question and paste the emagent.trc
                            • 11. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                              280092
                              Issue with Full OEM install and Agent Install on Target Node.

                              I checked agent is running on OEM server.

                              This detail from ./sysman/log/emagent.trc on OEM Server Full Install.


                              2007-02-21 12:36:55 Thread-1127476144 WARN collector: <nmecmc.c> Error exit. Error message: Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.
                              2007-02-21 12:38:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:40:35 Thread-1122487216 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:42:35 Thread-1127476144 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:44:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:46:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:48:35 Thread-1122487216 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:50:35 Thread-1350384560 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:51:55 Thread-1116105648 ERROR fetchlets.oslinetok: Process stderr = Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.

                              2007-02-21 12:51:55 Thread-1116105648 ERROR engine: [host,s1-oem.sitestuff.com,PagingActivity] : nmeegd_GetMetricData failed : Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.

                              2007-02-21 12:51:55 Thread-1116105648 WARN collector: <nmecmc.c> Error exit. Error message: Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.
                              2007-02-21 12:52:35 Thread-1122487216 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:54:36 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:56:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 12:58:35 Thread-1122487216 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:00:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:02:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:04:35 Thread-1350384560 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:06:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:06:55 Thread-1116105648 ERROR fetchlets.oslinetok: Process stderr = Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.

                              2007-02-21 13:06:55 Thread-1116105648 ERROR engine: [host,s1-oem.sitestuff.com,PagingActivity] : nmeegd_GetMetricData failed : Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.

                              2007-02-21 13:06:55 Thread-1116105648 WARN collector: <nmecmc.c> Error exit. Error message: Cannot open /var/log/sa/sa.2007_02_21: No such file or directory
                              em_error=failed to execute sar at /oembin/OEM/agent10g/sysman/admin/scripts/hostpagingactivity.pl line 166.
                              2007-02-21 13:08:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:10:35 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              2007-02-21 13:12:36 Thread-1116105648 ERROR upload: Error renaming file in addXmlFileToUpload. : error = 2: No such file or directory
                              • 12. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                                mnazim-Oracle
                                This seems to be cleanup issue ,can you clean the box and try the same install again
                                • 13. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                                  280092
                                  Same guess, I thought of it and reinstalling OS.

                                  Thank you for your help.
                                  • 14. Re: oracle.sysman.emcp.agent.AgentPlugIn has failed
                                    mnazim-Oracle
                                    You don't need to reinstall os , you just need to deinstall agent and clean the box
                                    Can you inform us once you done ?
                                    1 2 Previous Next