Update

 

It is recommended to use the Updater script (update.pl) to update virus databases. Updater is a part of Dr.Web for Kerio MailServer and can be installed via the drweb-updater packet of the installation archive.

 

Внимание!

In case Dr.Web Agent operates in the Enterprise mode, virus databases and anti-virus engine are updated from the repository of Dr.Web Control Center.

 

The Updater script is written in Perl and is located in the directory of executable files of application (by default, /opt/drweb/update.pl). Updater settings are specified in the [Updater] section of the main configuration file (by default, /etc/drweb/drweb32.ini). To use a different configuration file, it is necessary to specify the full path to it via command line parameter when launching the script.

When installing the drweb-updater packet, a task for periodic launch of the update.pl script (every half an hour) is created via a standard scheduler (cron). This is done by creating the drweb-update file in the /etc/cron.d directory. The file contains the following code:
*/30 * * * * drweb /opt/drweb/update.pl

The [Updater] section of the configuration file contains the following parameters:

Parameter

Description

Section

Specifies the component for update. The following values are possible:

Daemon – to update the daemon
Scanner – to update the scanner

The default value is Daemon.

The information on the location of the files for update is received from the corresponding sections of the configuration file. The value can de redefined by setting the command line parameter --what when launching the updates.

ProgramPath = <path to file>

Path to Daemon/Scanner. This parameter is used by Updater to get the product version and API information on the installed executable file.

The default value is %bin_dir/drwebd.

SignedReader = <path to program file>

Path to the program for signed files reading.

The default value is %bin_dir/read_signed.

LzmaDecoderPath = <path to program file>

Path to the program for lzma-archives unpacking.

LockFile = <path to file>

Path to lock file designed to prevent certain files share when they are processed by Updater.

The default value is  %var_dir/run/update.lock.

CronSummary

This parameter enables/disables use of the standard output mode (stdout) for statistics of update session. The following values are possible:

Yes to enable the use of standard output
No to disable the use of standard output

The default value is Yes.

DrlFile = <path to file>

Path to the file containing the list of update servers. Updater selects the values from this list randomly.

The default value is %var_dir/bases/update.drl.

warning_grey_small

This file is signed by Doctor Web and should not be modified by user. It is updated automatically.

Timeout

Maximum time (in seconds) for updates download.

By default it is set to 90 sec.

Tries

The number of attempts for Updater to establish the connection.

The default the value is 3.

LogFileName = <full file name>

The log file name. It can be set as syslog to carry out logging by the system service. The default name is syslog.

SyslogFacility = <full file name>

The type of record when the system service syslogd is used. The following values are possible: Daemon, Local0 .. Local7, Kern, User, Mail.

The default value is Daemon.

LogLevel

Log verbosity level. The following values are possible: Debug, Verbose, Info, Warning, Error, Quiet.

The default value is Verbose.

The [Updater] section contains also the proxy configuration parameters.