Cannot stop the RTServer using "bkrd -shutdown"
search cancel

Cannot stop the RTServer using "bkrd -shutdown"

book

Article ID: 45670

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

When the following command is executed, the "bkrd" process and all "hserver" processes are stopped, but the rtserver process continues to run: 

bkrd -shutdown

Environment

Harvest Software Change Manager all versions and platforms

Cause

The command does not shut down the RTServer process because this is a CA common component that might be used by another process like the CA SCM Agent or another CA application.

Resolution

Windows:

You can stop the RTServer process by going to Task Manager and killing the "rtserver.exe" process, or by executing the following command from a command prompt window:

rtserver -stop_all

Linux and Unix:

You can stop the RTServer process by finding the process id with "ps -ef | grep rtserver" and killing the process, or by executing the following commands from a command prompt while logged in as the user that owns the CA Harvest SCM installation:

. <path>/pec/bin/rtinit.sh
<path>/pec/bin/<platform>/rtserver.x -stop_all

Where "<path>" is replaced with the full path to the folder that contains the pec installation folder, and "<platform>" is replaced with the folder inside the pec/bin folder for the platform on which pec was installed.

Additional Information

Also note that if you kill rtserver and the broker is still running, it will detect that rtserver has stopped and automatically restart it.  So, always shut down the broker "bkrd" and hservers before shutting down the rtserver.