DTP services must be shut down before proceeding with the upgrade or configuration process.

Windows

  1. Open the Start menu and choose Parasoft> DTP.
  2. Right-click Stop DTP Server and choose Run as administrator from the contextual menu.
  3. Confirm that you want to stop the service when prompted.
  4. Repeat the process to stop the Data Collector Service, Enterprise Pack (if applicable) and for the Parasoft Database Service if your installation includes the embedded database server.

Linux

How you shut down DTP services on Linux depends on how you are managing them. Each method is described below.

Console Script

If you are managing DTP with the dtpconsole.sh script:

  1. Navigate to the DTP_HOME directory and run dtpconsole.sh.
  2. Enter 1 at the console prompt to choose DTP Server.
  3. Enter 1 to stop the service.
  4. Enter q after the service has stopped to return to the main menu.
  5. Repeat this process for Data Collector, DTP Enterprise Pack (if applicable), and the database.

systemd Service

If you are managing DTP with the systemd service, stop each applicable service as shown below:

sudo systemctl stop <servicefilename>

Automation Scripts

If you are managing DTP with automation scripts, use the appropriate stop commands to stop them. Consult the table below:

ServiceScriptLocation
DTP Serverdtp.sh stop<DTP_INSTALL>/bin
Data Collectordatacollector.sh stop<DTP_INSTALL>/bin
DTP Enterprise Packdtpservices.sh stop<DTP_INSTALL>/dtpservices

Potential Errors When Stopping on Linux

In some unexpected instances, you may see the following message when running the stop on Linux:    

"Time out on DTP Enterprise Pack process termination. Please kill all processes manually. (Refer to the documentation)"

This message only triggers if any of the children processes of the main DTP Enterprise Pack application (typically one of the service processes) started but was not killed completely. These processes must be terminated before starting DTP Enterprise Pack again. 

  1. Run following command:    
    pgrep node or pgrep -f <installation home>/nodejs/bin/node
    This command will print out all processes that DTP Enterprise Pack started.
  2. Run the kill command using the same argument to kill these process:
    pkill node 
    or
    pkill -f <installation home>/nodejs/bin/node
  • No labels