UC4.smc
!AIT 0
!REATE UC4 WP1
!AIT 0
!REATE UC4 WP2
!AIT 0
!REATE UC4 WP3
!AIT 0
!REATE UC4 WP4
!AIT 0
!REATE UC4 WP5
!AIT 0
!REATE UC4 JWP
!AIT 0
!REATE UC4 CP1
!AIT 0
!REATE UC4 CP2
!AIT 0
CREATE UC4v12
!AIT 0
!REATE UC4 DATABASE-AGENT01
!AIT 0
!REATE UC4 DATABASE-SERVICE01
______________________________
UC4.smd
VAR SRV_STARTPATH;*OWN\..\..\AutomationEngine\bin
VAR CP_STARTCMD;*SRV_STARTPATH\UCsrvcp.exe *SRV_STARTPATH\ucsrv.ini -svc%port%
VAR WP_STARTCMD;*SRV_STARTPATH\UCsrvwp.exe *SRV_STARTPATH\ucsrv.ini -svc%port%
VAR JWP_STARTCMD;java -Xrs -Xmx512M -jar ucsrvjp.jar -I*SRV_STARTPATH\ucsrv.ini -svc%port%
VAR WP_STARTCMD_COLD;*WP_STARTCMD -parm"StartMode=Cold"
VAR WP_STARTCMD_STOP;*WP_STARTCMD -parm"SystemStop=Yes"
VAR WP_STARTCMD_COLDSTOP;*WP_STARTCMD -parm"StartMode=Cold;SystemStop=Yes"
!
DEFINE UC4 WP1;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COLDSTOP)
DEFINE UC4 WP2;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COLDSTOP)
DEFINE UC4 WP3;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COLDSTOP)
DEFINE UC4 WP4;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COLDSTOP)
DEFINE UC4 WP5;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COLDSTOP)
DEFINE UC4 JWP;*JWP_STARTCMD;*SRV_STARTPATH
DEFINE UC4 CP1;*CP_STARTCMD;*SRV_STARTPATH
DEFINE UC4 CP2;*CP_STARTCMD;*SRV_STARTPATH
DEFINE UC4v12;*OWN\..\..\Agents\Windows\bin\UCXJWX6.exe;*OWN\..\..\Agents\Windows\bin
DEFINE UC4 DATABASE-AGENT01;java -jar -Xmx256M *OWN\..\..\Agents\sql\bin\ucxjsqlx.jar;*OWN\..\..\Agents\sql\bin
DEFINE UC4 DATABASE-SERVICE01;java -jar -Xmx256M *OWN\..\..\Agents\sql\bin\ucxjsqlx.jar -service -i*SRV_STARTPATH\ucsrv.ini;*OWN\..\..\Agents\sql\bin
------------------------------
DevOps Engineer
ULLICO
------------------------------
Original Message:
Sent: 03-01-2020 04:13 PM
From: Marcin Uracz
Subject: Service Manager service doesn't start
Hi,
Just checking, did you enable it for autostart ?
Would you mind sharing the *.smd/ *.smc files to see what you have configured there?
As for the starting the agent via Administration perspective in AWI it would seem as the Agent is not linked with the Service Manager. In client 0 open the agent object and take a look if the configuration of the Service Manager has been discovered correctly there.
------------------------------
Cheers,
Marcin
Original Message:
Sent: 02-29-2020 08:33 AM
From: Kenneth Hutchins
Subject: Service Manager service doesn't start
Hi, I am encountering an issue where is Service Manager installs, and shows under Windows Services. But does not kick off the agent service. I have to manually start the service. When I try through AWI, Administration page, I receive this message "Service '' does not exists.
------------------------------
DevOps Engineer
ULLICO
Original Message:
Sent: 11-15-2019 04:21 PM
From: Pete Wirfs
Subject: Service Manager service doesn't start
The method I have used for installing ServiceManager on Windows servers was to use a cmd window to navigate to the folder where ucybsmgr has been installed, and issued this command;
ucybsmgr -install <Phrase>
By virtue of having navigated to the appropriate folder first, I did not have to specify the path to the ini.
------------------------------
Pete
Original Message:
Sent: 11-15-2019 03:40 PM
From: Steven Layman
Subject: Service Manager service doesn't start
Tim,
When you run the following command
UCYBSMGR.EXE -install <Phrase> -iPath UCYBSMgr.ini
Do you use this exact command or do you replace path with the actual path?
Original Message:
Sent: 11-15-2019 03:07 PM
From: Tim Osgood
Subject: Service Manager service doesn't start
When looking at the steps you took to install, they are out of order. Not sure if that is exactly what you did but here are the steps I would do. Sometimes starting from scratch is easier than trying to figure out what is wrong.
1. Open Computer Management, Services. Look for a service starting with UC4. If it exists (it may not based on your notes), stop it. Open the properites, in General tab, copy the exact service name
2. Open Command Prompt (Admin)
3. Run sc delete <service name>
Now you have a clean slate.
1. Run the windows agent setup.exe using the default folder. It will overwrite existing ini file so you will need to edit it. I use my server name in Global - name=<server>
The name needs to be consistent throughout your ini files, I use the server name for all my agents
2. Run the service manager setup.exe. Again it will overwite existing.
In the UCYBSMgr.ini file make sure you have
deffile=c:\Automic\ServiceManager\bin\UC4.smd (here I use the exact path instead of the *Own\etc.)
cmdfile=c:\Automic\ServiceManager\bin\UC4.smc
In the UC4.smd file
DEFINE <name>;*OWN\..\..\Agents\Windows\bin\UCXJWX6.exe;*OWN\..\..\Agents\Windows\bin\
Make sure all other define statements are commented out using ! at beginning of the line
3. I would install the service manager dialog. Same process with the setup.exe
Edit the UCYBSMDi.ini file. I set Host01=<name>
4. Open Open Command Prompt (Admin)
Change directory to \Automic\ServiceManager\bin
run UCYBSMGR.EXE -install <Phrase> -iPath UCYBSMgr.ini
A note about Phrase. Phrase is what you are calling the service. On my servers I replace <Phrase> with AutomicDev or AutomicProd
5. Open the service manager dialog and your agent should be listed and hopefully running
Hope this helps.
Tim
------------------------------
Developer
State of Colorado
Original Message:
Sent: 11-15-2019 10:34 AM
From: Steven Layman
Subject: Service Manager service doesn't start
Hello,
I am trying to configure Windows Agent as a service but the service will not start.
Error 1053: The service did not respond to the start or control request in a timely fashion.
Version 11.2.1
Windows 10
- Installed Windows Agent and Service Manager
- Executed command UCYBSMGR.EXE -install Phrase -iPath UCYBSMgr.ini
- Configured .ini file in Agent\windows\bin directory
-Configured smd file with agent location
Event Log - The UC4.ServiceManager [UCYBSMgr.ini] service terminated unexpectedly. It has done this 1 time(s).
SMGR log file is not created.
The agent starts fine when .exe is started.
I saw someone had a similair issue back in 2017 but I didn't see a resolution.
Thanks,