Starting and stopping HCL® Quality Server
You can start HCL® Quality Server to enable users to log in by using a web browser. If the server is installed as a service, you can configure it for automatic startup on boot or for manual startup on demand.
About this task
On Windows™ systems, the server is, by default, configured to be installed as a service, and for automatic startup on boot. If you cleared these selections during the installation, then use the Modify option of Installation Manager to update the installation. See Starting and stopping on Windows systems.
Starting and stopping on Windows systems
Procedure
-
Start the server from the command line. Run the
startup.bat
file from the default locationC:\Program Files\HCL\HCLProducts\QualityServer\bin
. -
Stop the server from the command line. Run the
shutdown.bat
file from the default locationC:\Program Files\HCL\HCLProducts\QualityServer\bin
.
-
Start the service from the Start menu. Click
.
Note: By default, the server is configured to start automatically on boot.
-
Stop the service from the Start menu. Click
.
Important: Do not attempt to end the processes after you initiated the stopping of HCL® Quality Server. Doing so might render the stored data in the workspace to become unusable.
-
Follow these steps to change from automatic startup to manual
startup:
Starting and stopping on non-Windows systems
Before you begin
About this task
/opt/HCL/HCLProducts/QualityServer/bin
.Procedure
-
If you are using the init shell script run the
startup.sh
file from the default location or where you installed HCL® Quality Server. -
If you are using the systemd script, follow these steps:
-
If you are using the init shell script, run the
shutdown.sh
file from the default location:/opt/HCL/HCLProducts/QualityServer/bin
. -
If you are using the systemd script, run
sudo systemctl stop hqs
.
-
Follow these steps to configure automatic start on boot for the
init shell script:
-
Follow these steps to configure automatic start on boot for the
systemd script:
Configuring automatic start on boot on RedHat Linux systems
Before you begin
About this task
The steps for RedHat Linux systems are different from those for non-Windows systems.
Procedure
-
Add the
startup.sh
script to the path/etc/init.d
. -
Create symbolic links to the script in the run-level folders, for
example,
/etc/rc3.d
. -
Edit
startup.sh
(located at both/etc/init.d
and/etc/rc3.d
) by using the following command:nano startup.sh
. -
Replace the following lines:
#!/bin/sh . /opt/HCL/HCLProducts/QualityServer/bin/server start defaultServer
with the following:#!/bin/sh #chkconfig: 345 99 01 #description: startup.sh . /opt/HCL/HCLProducts/QualityServer/bin/setenv.sh
This adds
startup.sh
tochkconfig
. -
Run the following command:
ntsysv
.This command runs
startup.sh
automatically on boot.