• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Error with KAV 17.8.11 upgrade

Oliver Marugg

Basic Pleskian
Hi
Just upgrade to 17.8.11 upd5 on ubuntu 16.04.
I receive following mail from cron, now new once an hour:

Code:
From: Cron Daemon <root@SERVER>
To: root@SERVER
Subject: Cron <root@SERVER> /opt/kav/sdk8l3/bin/kav8update
Date: Tue, 17 Apr 2018 16:22:17 +0200 (CEST)

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: 29/11/2019
Operation result code: 0x00000000. Success
/opt/kav/sdk8l3/bin/kav8update: line 14: service: command not found
 
Well.

Resolution

Reconfigure update script to write the output of cronjob to log file /var/log/kav-update.log instead of sending it by email.

  1. Connect to Plesk server via SSH

  2. Back up the file /opt/kav/sdk8l3/bin/kav8update:

    Code:
    # cp /opt/kav/sdk8l3/bin/kav8update /opt/kav/sdk8l3/bin/kav8update.bkp

  3. Modify /opt/kav/sdk8l3/bin/kav8update as follows:

    Code:
    #!/bin/bash
    SDK_HOME=/opt/kav/sdk8l3
    export KL_PLUGINS_PATH="$SDK_HOME/lib"
    export LD_LIBRARY_PATH="$KL_PLUGINS_PATH:$LD_LIBRARY_PATH"
    $SDK_HOME/bin/keepup2date8 --download --licinfo --simplelic --version --xmlfile $SDK_HOME/bin/settings.xml >> /var/log/kav-update.log 2>&1
    RET=$?
    ### Return codes are detailed in updatersdk.h
    case "$RET" in
    0)
    # 0 - Success
    service kavehost reload > /dev/null 2>&1
    ;;
    10|20)
    # 10 - All files are up-to-date
    # 20 - An operation did not complete because the current version of definitions is newer than the version in the source
    RET=0
    ;;
    esac
    exit $RET
 
Back
Top