Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

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 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.
  • 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.