Applicable to:
- Plesk for Linux
Question
Email messages about Kaspersky definitions update are sent from a Plesk server:
PLESK_INFO: Loading engine...
Current product version: 8.5.1.5
Initializing engine...
Using xml-file: /opt/kav/sdk8l3/bin/settings.xml.
LICENSE INFO:
Key file: kav.key
Expiration date: 20/03/2021
Operation result code: 0x00000000. Success Redirecting to /bin/systemctl reload kavehost.service
How to disable these email notifications?
Answer
-
Connect to a Plesk server via SSH.
-
Switch to the Kaspersky installation directory:
# cd /opt/kav/sdk8l3/bin
-
Rename the original
kav8update
file:# cp kav8update kav8update.orig
-
Download and unpack the patched file:
# wget https://support.plesk.com/hc/en-us/article_attachments/360040709154/kav8update.zip
# unzip -o kav8update.zip -
Set correct permissions on the patched file:
# chmod 755 kav8update
Now, output of the KAV cron task will be written to the
/var/log/kav-update.log
file instead of being sent by an email.
Comments
5 comments
The file in the archive has CTRL-M (^M) characters:
-bash: /opt/kav/sdk8l3/bin/kav8update: /bin/bash^M: bad interpreter: No such file or directory
Had to run dos2unix on the file.
Hi @Raul Adorean,
Thank you for bringing our attention to this!
CTRL-M (^M) characters were removed from the script
root @ server: / opt / kav / sdk8l3 / bin # UNIZIP -o kav8update.zip
-bash: UNIZIP: Befehl nicht gefunden
jemand eine Idee
There is a typo in your command:
Super danke ... ist mir nicht aufgefallen :-(
Please sign in to leave a comment.