Upgrading on Unix-like platform

This section focuses on upgrade steps you must perform when upgrading your KAV SDK setup to a newer version on Unix-like platform. Depending on the integration type you have chosen for KAV SDK, upgrade procedure might require you to perform additional steps specific to that type.

In-process and out-of-process integration

If you are using in-process or out-of-process integration types for KAV SDK library, please follow the upgrade procedure below.

  1. Deinitialize the running KAV library

    To do that call kaveUninitialize. This step must only be performed if there is a running instance of KAV SDK library at the time of upgrade.

  2. Update plugin files.

    Replace files in the ./ppl folder of the current KAV SDK setup with the files in the ./ppl folder of the upgrade package.

  3. Update libraries.

    Replace files in the ./lib folder of the current KAV SDK setup with the files in the ./lib folder of the upgrade package.

  4. Relink the libkave8.so library

    When linking is done, other library will be loaded at runtime when necessary. For example, if you initialize the KAV library in service mode, the libkave8.so library will automatically load libkavesd.so, libkavessi.so and libipclib.so libraries.

  5. Update malware definitions

    Obtain recent versions of malware definitions by updating malware definition database. It is recommended that you remove currently used definition files from the malware definition database folder and perform automatic update using Updater SDK. The path to this folder is specifier in the pDatabasesPath parameter of initialization functions used to initialized KAV SDK library.

    Make sure that version of Updater SDK that you are using matches the version of KAV SDK.

  6. Clean up temporary folder

    Make sure that you remove remnants of temporary data from the temporary folder before the first start of upgraded KAV SDK. Location of the temporary folder is specified in the pTempFolder parameter of kaveInitialize/kaveInitializeEx functions.

Service integration

If you are using service integration type for KAV SDK library, please follow the upgrade procedure below.

  1. Deinitialize your application and stop the KAV service hosting process

    To stop KAV service, run "init.d stop" at the terminal prompt. Please note that command prompt must be run with root privileges. This step must only be performed if there is a running instance of KAV SDK library at the time of upgrade.

  2. Update plugin files.

    Replace files in the ./ppl folder of the current KAV SDK setup with the files in the ./ppl folder of the upgrade package.

  3. Update libraries.

    Replace files in the ./lib folder of the current KAV SDK setup with the files in the ./lib folder of the upgrade package.

  4. Relink the libkave8.so library

    When linking is done, other library will be loaded at runtime when necessary. For example, if you initialize the KAV library in service mode, the libkave8.so library will automatically load libkavesd.so, libkavessi.so and libipclib.so libraries.

  5. Update service hosting process

    Replace kavehost binary of the current KAV SDK setup with the kavehost in the upgrade package.

  6. Update malware definitions

    Obtain recent versions of malware definitions by updating malware definition database. It is recommended that you remove currently used definition files from the malware definition database folder and perform automatic update using Updater SDK. The path to this folder is specifier in the pDatabasesPath parameter of initialization functions used to initialized KAV SDK library.

    Make sure that version of Updater SDK that you are using matches the version of KAV SDK.

  7. Clean up temporary folder

    Make sure that you remove remnants of temporary data from the temporary folder before the first start of upgraded KAV SDK. Location of the temporary folder is specified in the pTempFolder parameter of kaveInitialize/kaveInitializeEx functions.

Page top