User Guide

Additional setup 75
If you encounter problems when working with the application, for
example, I/O errors, library errors, etc., use the watchdog utility included
in the distribution kit. This utility is installed on your computer together
with Kaspersky Anti-Virus.
The watchdog utility produces a descendant process to control the parent
process. If the application encounters a conflict and stops, the watchdog
utility restarts the application.
The maximum number of restarts induced by watchdog is defined by the
WatchdogMaxRetries parameter in the [kavmilter.global] section. To
disable this parameter, set it to –1.
The use of the watchdog utility is regulated by the –f command line
option. If this option is specified when the application is loaded, watchdog
is disabled.
The anti-virus database is reloaded immediately after updating. No
manual application restart is needed. The automatic restart of the
application is defined by the PostUpdateCmd parameter in the
[updater.options] section.
7.15. Managing the application from
the command line
Kaspersky Anti-Virus is managed from the command line using kavmilter control
file (stored by default in /opt/kav/5.6/kavmilter/bin in Linux distributions and
/usr/local/share/kav/5.6/kavmilter/bin in OpenBSD / FreeBSD distributions) with
the following
command line options:
–h – display help information to console;
–v – display the application version to console;
–t – check the application configuration and verify the configuration
operability; display error messages to console;
–f – run the application and work with the current console (do not switch to
background mode after startup);
–s <socket> – define the socket for data transfer; the format of the
<socket> parameter is as follows:
inet:port@ip-addr use a network socket working via the port and the
address ip-addr.
local:/socket/file/path – use a local socket.
–u <user > – start the application with the rights of the user <user> (for
example, with the root user rights). By default, the application is started
with the rights of the kav user;