Start the Klocwork ServersThe 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 18.1 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. To add Klocwork to your path, run the following command:
export PATH=<server_install>/bin/:$PATH 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 where <projects_root> is the path that you specified in the installer or the default path. The projects_root directory stores data for the Klocwork Servers and applications.
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. |