The update is aimed at solving the problem with a delay that may occur when applying anti-virus databases. We strongly recommend installing this update.
These instructions must be carried out on Central Node servers with version 6.0.2 of the component.
Depending on how your application is deployed and used, you need to install the update on the following Central Node servers:
You can install the update package using a script. In this case, the application is updated automatically and you do not need to follow the instructions below. To get the script, please contact Technical Support.
To install the upgrade package on the Central Node server:
mkdir -p /opt/kaspersky/ks_check_klava_patch
cat <<EOF > /opt/kaspersky/ks_check_klava_patch/ks_check_klava_patch.sh
#!/bin/bash
KATA_SCANNER_ID=\$(docker ps -f name=kata_scanner -q)
if [[ -z \${KATA_SCANNER_ID} ]]; then
echo "kata_scanner not found - exit"
exit 0
fi
CHECK_KLAVA_SRC="/opt/kaspersky/apt-scan-server/libexec/check_klava"
CHECK_KLAVA_TGT="/opt/kaspersky/apt-updater/libexec/bases_test/check_klava"
echo "before"
docker exec \${KATA_SCANNER_ID} bash -c "ls -l \$(dirname \${CHECK_KLAVA_TGT})"
docker exec \${KATA_SCANNER_ID} bash -c "[ -h \${CHECK_KLAVA_TGT} ] || ln -s -f \${CHECK_KLAVA_SRC} \${CHECK_KLAVA_TGT}"
echo "after"
docker exec \${KATA_SCANNER_ID} bash -c "ls -l \$(dirname \${CHECK_KLAVA_TGT})"
EOF
cat <<EOF >/etc/cron.d/ks_check_klava_patch
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
* * * * * root flock -w 3 /tmp/ks_check_klava_patch.lock /bin/bash /opt/kaspersky/ks_check_klava_patch/ks_check_klava_patch.sh 2>&1 > /tmp/ks_check_klava_patch.log
EOF
The application component administrator menu is displayed.
This opens the Technical Support Mode confirmation window.
sudo -i
.To run a script, use the following commands:
chmod +x <script name>.sh
./<script name>.sh
You must run these commands for each script.
tail -f /tmp/ks_check_klava_patch.log
The upgrade package will be installed.
Page top