SQL Agent on Windows doesn't start

Discussion created by zafar_9240 on Jun 6, 2017
Latest reply on Jun 8, 2017 by Wolfgang_Brueckler_1288
Hello All,
I have installed a SQL agent on Windows server but when I try to start the agent from serviceManagerDialog nothing happens and following messages are recorded in the log file.

20170606/060657.598 - U00022005 ... with command line  'java -jar -Xmx256M C:\Automic\ServiceManager\bin\..\..\Agents\sql\bin\ucxjsqlx.jar -service -iC:\Automic\ServiceManager\bin\..\..\AutomationEngine\bin\ucsrv.ini'.
20170606/060657.598 - U00022006 ... and start directory  'C:\Automic\ServiceManager\bin\..\..\Agents\sql\bin'.
20170606/060657.604 - U00022007 Process 'UC4 DATABASE-SERVICE01' (ID '8408') successfully started.
20170606/060717.604 - U00022023 No associated window can be found for process 'UC4 DATABASE-SERVICE01'.
20170606/060717.604 - U00022012 Process 'UC4 DATABASE-SERVICE01' (ID '8408') ended.
20170606/060717.604 - U00022022 Process 'UC4 DATABASE-SERVICE01' ended, exit code='2'.
20170606/090720.279 - U00022015 Command file 'C:\Automic\ServiceManager\bin\UC4.smc' was re-created.
20170606/091205.504 - U00022019 Client statement: process 'UC4 DATABASE-AGENT01' should be started.
20170606/091205.505 - U00022031 Client data: User 'U166044\Administrator' of computer 'U166044'.

I have checked the paths for all the files used and all looks good, not sure where to look for more information.

Appreciate inputs.

Regards, Zafar