...
Table of Contents | ||
---|---|---|
|
Starting DTP Services on Linux
There are a few ways you can start DTP and its related services:
Using the Console Script
Anchor | ||||
---|---|---|---|---|
|
In addition to starting and stopping DTP and its related services, the dtpconsole.sh script provides interactive management capabilities, such as configuring database connections.
Run the DTP Configuration Manager after the installation completes:
DTP_HOME/bin/dtpconsole.sh
The DTP main menu is displayed:Code Block DTP - Configuration Manager Copyright (C) by Parasoft Corporation MAIN MENU ========= Options: (1) DTP Server (Report Center, License Server) (2) Data Collector (3) DTP Enterprise Pack (4) Status (5) Database configuration (6) System administration (7) Show Machine Id (q) Exit to system
Choose (1) to enter the DTP Server menu.
- Choose (1) to run the service and (q) to return to the menu.
- Choose (2) to enter the Data Collector menu.
- Choose (1) to run the Data Collector service and (q) to return to the menu.
- Choose (3) to enter the Enterprise Pack menu.
- Choose (1) to run the service and (q) to return to the menu. You can only start and stop DTP Enterprise Pack through the DTP console interface. Additional administration commands for Enterprise Pack applications are available in the dedicated dtpservices.sh in the
<DTP_INSTALL>/dtpservices/
directory. See Getting Started with Enterprise Pack.
Anchor | ||||
---|---|---|---|---|
|
After the initial startup and configuration, you can start DTP applications using the dedicated scripts. The scripts are non-interactive and suitable for starting and stopping DTP services in automated environments. Please note that automation scripts are not compatible with crontab functionality. If you are using crontab functionality, use the dtpconsole.sh script to start and stop DTP.
DTP Server
Use the dtp.sh script located in the <DTP_INSTALL>/bin
directory. You can specify the following commands:
...
dtp.sh run | Run the DTP server process in the current window. |
dtp.sh start | Start DTP server as a background process. |
dtp.sh stop | Stop DTP server. |
dtp.sh status | Display the current status of DTP server. |
dtp.sh help | Print the help to the console. |
Data Collector
Use the datacollector.sh script located in the <DTP_INSTALL>/bin
directory. You can specify the following commands:
...
datacollector.sh run | Run the Data Collector process in the current window. |
datacollector.sh start | Start Data Collector as a background process. |
datacollector.sh stop | Stop Data Collector. |
datacollector.sh status | Display the current status of Data Collector. |
datacollector.sh help | Print the help to the console. |
DTP Enterprise Pack
Use the dtpservices.sh script located in the <DTP_INSTALL>/dtpservices
directory. You can specify the following commands:
...
Note | ||
---|---|---|
| ||
In some unexpected instances, you may see the following message when running the "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.
|
Using systemd Services Anchor UsingsystemdServices UsingsystemdServices
UsingsystemdServices | |
UsingsystemdServices |
Note |
---|
User permissions for the installation and |
...
Code Block |
---|
sudo systemctl stop <servicefilename> |
Troubleshooting
In a SELINUX environment, if the installation tar.gz is extracted and run in your home directory, then is subsequently installed in a directory outside of your home directory, the labels will be incorrect. You will need to relabel the files or DTP will not start due to SELINUX blocking it. To relabel the files, run the following command:
...
After running this command, you can determine the SELINUX state by running the following command:
Code Block |
---|
sestatus |
Starting DTP Services on Windows
You can easily use the Windows Start menu to start and stop DTP services:
...