Hi,
I installed a 11.2.0.1 kernel then an oracle database, and oracle net services.
Then I try to install an oem cc 12c agent and I've got the error : emctl start agent command has failed with status2.
Please find below the content of the log file of the install.
Please help me
Frederic
ATTENTION: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
INFO: Creating new CFM connection
INFO: Creating a new logger for oracle.sysman.top.agent
INFO: Unmarshalling D:\oracle\product\12.2.0\core\12.1.0.2.0\inventory\ContentsXML\ConfigXML\oracle.sysman.top.agent.12_1_0_2_0.xml
INFO: Creating a new logger for OuiConfigVariables
INFO: Unmarshalling D:\oracle\product\12.2.0\core\12.1.0.2.0\inventory\ContentsXML\ConfigXML\OuiConfigVariables.1_0_0_0_0.xml
INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.2.0:common successfully loaded
INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
INFO: Successfully returning from CfmFactory.connect()
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.2.0:common:family=CFM:oh=D:\oracle\product\12.2.0\core\12.1.0.2.0:label=1}
INFO: Framework waiting for Action to complete at 14:25:19.460
INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
INFO: oracle.sysman.top.agent:Classpath = D:\oracle\product\12.2.0\core\12.1.0.2.0\oui\jlib\srvm.jar;D:\oracle\product\12.2.0\core\12.1.0.2.0\jlib\agentConfig.jar;D:\oracle\product\12.2.0\core\12.1.0.2.0\jlib\emConfigInstall.jar;D:\oracle\product\12.2.0\core\12.1.0.2.0\sysman\jlib\emagentSDK.jar;D:\oracle\product\12.2.0\core\12.1.0.2.0\modules\oracle.http_client_11.1.1.jar;D:\oracle\product\12.2.0\core\12.1.0.2.0\sysman\jlib\log4j-core.jar
INFO: oracle.sysman.top.agent:AgentConfiguration : la configuration de l'agent a démarré
INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
1.ORACLE_HOME=D:\oracle\product\12.2.0\core\12.1.0.2.0
2.AGENT_PORT=-1
3.ORACLE_HOSTNAME=agent_server.domain
4.b_doDiscovery=true
5.AGENT_BASE_DIR=D:\/oracle/product/12.2.0
6.AGENT_INSTANCE_HOME=null
7.s_hostname=agent_server.domain
8.OMS_HOST=console_server.domain
9.b_startAgent=true
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=1159
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
16.PROPERTIES_FILE=
b_skipValidation=false
INFO: oracle.sysman.top.agent:Validation de OMS_HOST et EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://console_server.domain:1159/empbs/genwallet
GRAVE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://console_server.domain:1159/empbs/genwallet
INFO: oracle.sysman.top.agent:Commutateur de protocole EM déterminé : https
INFO: oracle.sysman.top.agent:Détection des ports libres en cours...
INFO: oracle.sysman.top.agent:Trying for host : WS-APPLI29B/172.16.100.237 and port : 3872
INFO: oracle.sysman.top.agent:Trying for host : WS-APPLI29B/fe80:0:0:0:805f:7596:99d5:1049%11 and port : 3872
INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
INFO: oracle.sysman.top.agent: The agent port is 3872
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=D:\oracle\product\12.2.0\agent_inst
2. agentBaseDir=D:\oracle\product\12.2.0
3. oraHome=D:\oracle\product\12.2.0\core\12.1.0.2.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:D:\oracle\product\12.2.0
INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for D:\oracle\product\12.2.0\core\12.1.0.2.0 and hosts=agent_server.domain returned Port to Use=3872
INFO: oracle.sysman.top.agent:Instanciation du fichier emctl.template #DEFAULT_EMSTATE# avec D:\oracle\product\12.2.0\agent_inst
INFO: oracle.sysman.top.agent:Writing the following contents into D:\oracle\product\12.2.0\core\12.1.0.2.0\install\oragchomelist
INFO: oracle.sysman.top.agent:D:\oracle\product\12.2.0\core\12.1.0.2.0:D:\oracle\product\12.2.0\agent_inst
INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
INFO: oracle.sysman.top.agent:Exécution de la commande emctl deploy agent...
INFO: oracle.sysman.top.agent:AgentConfiguration : exécution de la commande emctl deploy agent...
INFO: oracle.sysman.top.agent:Exécution de la commande : cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\core\12.1.0.2.0\bin\emctl.bat deploy agent -L -o console_server.domain:1159 -N D:\oracle\product\12.2.0\agent_inst agent_server.domain:3872 agent_server.domain
INFO: oracle.sysman.top.agent:Creating shared install...
INFO: oracle.sysman.top.agent:Source location: D:\oracle\product\12.2.0\core\12.1.0.2.0
INFO: oracle.sysman.top.agent:Destination (shared install) : D:\oracle\product\12.2.0\agent_inst
INFO: oracle.sysman.top.agent:Secure Mode: No
INFO: oracle.sysman.top.agent:DeployMode : agent
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Creating directories...
INFO: oracle.sysman.top.agent:Creating private.properties...
INFO: oracle.sysman.top.agent:Creating blackouts.xml...
INFO: oracle.sysman.top.agent:Creating targets.xml...
INFO: oracle.sysman.top.agent:Creating emctl control program...
INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
INFO: oracle.sysman.top.agent:Agent will not be secured.
INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 2
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from D:\oracle\product\12.2.0\agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'Europe/Paris' is installed in D:\oracle\product\12.2.0\agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\core\12.1.0.2.0\bin\emctl.bat deploy agent -L -o console_server.domain:1159 -N D:\oracle\product\12.2.0\agent_inst agent_server.domain:3872 agent_server.domain completed with status=0
INFO: oracle.sysman.top.agent:Exit value 0
INFO: oracle.sysman.top.agent:AgentUpgradeMain Service "Oracleagent12c1Agent" create SUCCESS
INFO: oracle.sysman.top.agent:Successfully created service Oracleagent12c1Agent
INFO: oracle.sysman.top.agent:Exécution de la commande : cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\agent_inst\bin\emctl.bat secure agent
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 2
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Agent is already stopped... Done.
INFO: oracle.sysman.top.agent:Securing agent... Started.
INFO: oracle.sysman.top.agent: EMD gensudoprops completed successfully
INFO: oracle.sysman.top.agent:Securing agent... Successful.
INFO: oracle.sysman.top.agent:The command: cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\agent_inst\bin\emctl.bat secure agent completed with status=0
INFO: oracle.sysman.top.agent:Plugin File:D:\oracle\product\12.2.0\plugins.txt
INFO: oracle.sysman.top.agent:Plugin Homes found.
INFO: oracle.sysman.top.agent:Executing command :cmd /c D:\oracle\product\12.2.0\core\12.1.0.2.0\perl\bin\perl D:\oracle\product\12.2.0\core\12.1.0.2.0\bin\AgentPluginDeploy.pl -oracleHome D:\oracle\product\12.2.0\core\12.1.0.2.0 -agentDir D:\oracle\product\12.2.0 -pluginIdsInfoFile D:\oracle\product\12.2.0\plugins.txt -action configure -emStateDir D:\oracle\product\12.2.0\agent_inst
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:The emStateDir is D:\oracle\product\12.2.0\agent_inst
INFO: oracle.sysman.top.agent: The log file is D:\oracle\product\12.2.0\agent_inst\install\logs\agentplugindeploy_2014_03_04_14_25_38.log
INFO: oracle.sysman.top.agent:Acquiring the lock for D:\oracle\product\12.2.0\plugins.txt
INFO: oracle.sysman.top.agent:Acquired the lock for D:\oracle\product\12.2.0\plugins.txt
INFO: oracle.sysman.top.agent:The lock file is D:\oracle\product\12.2.0\agent_inst\install\logs\agentplugindeploy.lock
INFO: oracle.sysman.top.agent: The log file is D:\oracle\product\12.2.0\core\12.1.0.2.0\rwFile
INFO: oracle.sysman.top.agent:Removed the D:\oracle\product\12.2.0\core\12.1.0.2.0\rwFile file.
INFO: oracle.sysman.top.agent:Plugin command completed with status=0
INFO: oracle.sysman.top.agent:Executing command :cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\agent_inst\bin\emctl.bat update_inventory plugin
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 2
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:EMD update_inventory plugin succeeded
INFO: oracle.sysman.top.agent:Plugin Upload command completed with status=0
INFO: oracle.sysman.top.agent:Executing the command:cmd /c set NEED_EXIT_CODE=1&&D:\oracle\product\12.2.0\agent_inst\bin\emctl.bat start agent
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 2
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Le service Oracleagent12c1Agent d‚marre..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
INFO: oracle.sysman.top.agent:Le service Oracleagent12c1Agent n'a pas pu ˆtre lanc‚.
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Une erreur sp‚cifique … un service s'est produiteÿ: 1.
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Vous obtiendrez une aide suppl‚mentaire en entrant NET HELPMSG 3547.
INFO: oracle.sysman.top.agent:
GRAVE: oracle.sysman.top.agent:emctl start agent command has failed with status2
INFO: oracle.sysman.top.agent:
Follow the below steps to manually start the agent and add the host and agent targets:
1. Start the agent by executing the command: D:\oracle\product\12.2.0\agent_inst\bin\emctl start agent
2. Add the targets by executing the command:D:\oracle\product\12.2.0\agent_inst\bin\emctl config agent addinternaltargets
GRAVE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration : configuration de l'agent terminée avec le statut = False
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
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
INFO: done waiting for Action from 14:25:19.460