Updating the Virus Databases

It is recommended to use the Updater script (update.pl) to update virus databases and the anti-spam library. The Updater is a part of Dr.Web for IBM Lotus Domino and can be installed via the drweb-updater packet of the installation archive. The actual script is written in Perl and can be found in the directory with the plug-in's executive files (by default: /opt/drweb/update.pl).

The 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 a 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

 

When the anti-spam library (libvaderetro.so) is updated:

1.The Updater script sends a SIGHUP signal to drweblotusd daemon using its PID from drweblotusd.pid (path to this file is specified in the Lotusdpidfile parameter of drweb32.ini).
2.The drweblotusd daemon copies the new anti-spam library to /var/drweb/lotus/libvaderetro.so.cache and loads it into RAM. The old version is deleted.