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.
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.
Replace files in the ./ppl folder of the current KAV SDK setup with the files in the ./ppl folder of the upgrade package.
Replace files in the ./lib folder of the current KAV SDK setup with the files in the ./lib folder of the upgrade package.
libkave8.so libraryWhen 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.
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.
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.
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.
Replace files in the ./ppl folder of the current KAV SDK setup with the files in the ./ppl folder of the upgrade package.
Replace files in the ./lib folder of the current KAV SDK setup with the files in the ./lib folder of the upgrade package.
libkave8.so libraryWhen 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.
Replace kavehost binary of the current KAV SDK setup with the kavehost in the upgrade package.
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.
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.