Start the Klocwork Servers
The Klocwork Servers must be running before you perform management tasks, and before Klocwork can access data and reports.
To start the servers on Windows:
Your Windows services may already be running as you had the option during installation to automatically start the Klocwork Servers as Windows services when installation has completed. This option was enabled by default in the installation wizard.
To start or restart the Klocwork Servers as Windows services, use the Service Control Manager. In the Service Control Manager window, right-click Klocwork 19.3 Server, and select Start.
To start the servers on Linux or Mac:
On Linux or Mac, use the kwservice command to start the servers. kwservice, along with other Klocwork executables, are located in <server_install>/bin. Adding Klocwork to your PATH environment variable makes it easier to run these commands.
On Linux, <server_install> is the directory you chose to install Klocwork to. On Mac, Klocwork is installed at /usr/local/kw/cahoots-server.
To start all of the Klocwork Servers as regular processes, run the following command:
kwservice --projects-root <projects_root> start
- On Linux, the default location is: <server_install>/projects_root.
- On Mac, the default location is: /Users/Shared/Klocwork/projects_root/.
Once the servers are up and running, you can log in to Klocwork. For more information about using the servers, including instructions and examples that describe how to stop and start them, see Managing the Klocwork Servers.