Kaspersky Machine Learning for Anomaly Detection

Starting and stopping Kaspersky MLAD

By default, Kaspersky MLAD uses the systemctl utility to start or stop the application. If there is an unexpected restart of the server where the application is installed, the systemctl utility automatically starts Kaspersky MLAD.

If necessary, you can use scripts to start and stop the application. To do so, you must switch the application state control mode.

We recommend the systemctl utility for controlling the application state.

Starting or stopping the application with the systemctl utility

The user account must have root access to start or stop the application.

To start the application using the systemctl utility:

In the command line, run the following command:

sudo systemctl start mlad

Kaspersky MLAD will be started.

To stop the application using the systemctl utility:

In the command line, run the following command:

sudo systemctl stop mlad

Kaspersky MLAD will be stopped.

When stopping, the application saves service statuses. When the application starts again, the services will be restored to their previous status.

An error message is displayed if you attempt to run the start and stop scripts in control mode by using the systemctl utility.

Starting or stopping the application with the start and stop scripts

To start or stop the application using the start and stop scripts, first switch the application state control mode.

To start the application:

  1. Go to the folder where Kaspersky MLAD is installed (/opt/kaspersky/mlad by default).
  2. In the command line, run the following command:

    ./mlad-start.sh

Kaspersky MLAD will be started.

To stop the application:

  1. Go to the folder where Kaspersky MLAD is installed (/opt/kaspersky/mlad by default).
  2. In the command line, run the following command:

    ./mlad-stop.sh

Kaspersky MLAD will be stopped.

When stopping, the application saves service statuses. When the application starts again, the services will be restored to their previous status.

If you try to use the systemctl utility in control mode via start and stop scripts, an error message is displayed.