EM 12c: Silent Agent Deployment on Windows Fails with Error "oracle.sysman.top.agent:Failed in creating service 12cAgent" (Doc ID 1916682.1)

Last updated on JULY 05, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Generic Windows

Symptoms

Installing the Enterprise Manager 12c Cloud Control Agent on a Microsoft Windows OS using the silent method fails while creating the Windows service for the Agent.
The <AGENT_HOME>/cfgtoollogs/cfgfw/oracle.sysman.top.agent_<timestamp>.log file reports:

INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 5
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from D:\app\agent12c\agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'America/New_York' is installed in D:\app\agent12c\agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: cmd /c set NEED_EXIT_CODE=1&&D:\app\agent12c\core\12.1.0.5.0\bin\emctl.bat deploy agent -L -o xyz.oracle.com:4903 -N 
D:\app\agent12c\agent_inst xyz.oracle.com:3872 xyz.oracle.com completed with status=0
INFO: oracle.sysman.top.agent:Exit value -1
INFO: oracle.sysman.top.agent:AgentUpgradeMain OpenSCManager FAILED: Access is denied.
INFO: oracle.sysman.top.agent:Failed in creating service 12cAgent
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = 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

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms