Manually upgrading Kaspersky Scan Engine 1.0
March 5, 2024
ID 225715
To manually upgrade Kaspersky Scan Engine 1.0:
- Make sure you have root (administrator) privileges.
- Stop Kaspersky Scan Engine:
- If you use Kaspersky Scan Engine in ICAP mode, run this command:
/etc/init.d/kavicapd stop
- If you use Kaspersky Scan Engine in HTTP mode, run this command:
/etc/init.d/kavhttpd stop
- If you use Kaspersky Scan Engine GUI, run this command:
/etc/init.d/klScanEngineUI stop
- If you use Kaspersky Scan Engine in ICAP mode, run this command:
- Create backup copies of the following data:
- If Kaspersky Scan Engine worked in ICAP mode and you configured ICAP rules in
kavicapd_gui_rules.conf
, you need to copy/opt/kaspersky/ScanEngine/icap_data
. - If you generated a certificate and a private key to use with the Kaspersky Scan Engine GUI, copy the certificate and the private key.
You can find information on the location of the certificate and private key in the
SSLCertificatePath
andSSLPrivateKeyPath
elements of theklScanEngineUI.xml
file. - The key file (if Kaspersky Scan Engine was activated in offline licensing mode) or the activation code (if Kaspersky Scan Engine was activated in online licensing mode).
You can find information on the location of the key file or activation code in the
LicensePath
element of thekavhttpd.xml
configuration file (if Kaspersky Scan Engine worked in HTTP mode) orkavicapd.xml
configuration file (if Kaspersky Scan Engine worked in ICAP mode).
- If Kaspersky Scan Engine worked in ICAP mode and you configured ICAP rules in
- In the
/opt/kaspersky/ScanEngine
directory, uninstall Kaspersky Scan Engine withuninstall.
If you used the Kaspersky Scan Engine GUI, you also need to confirm deletion of data from the
kavebase
database. The structure of database in Kaspersky Scan Engine 1.0 differs significantly from the new version, so you cannot use the old database with the new version of Kaspersky Scan Engine. - Remove files form the directory
/opt/kaspersky/ScanEngine/
or delete this directory. - Install the new version of Kaspersky Scan Engine with the installer.
- Stop Kaspersky Scan Engine:
- If you used Kaspersky Scan Engine in ICAP mode, run this command:
service kavicapd stop
- If you used Kaspersky Scan Engine in HTTP mode, run this command:
service kavhttpd stop
- If you used Kaspersky Scan Engine GUI, run this command:
s
ervice klScanEngineUI stop
- If you used Kaspersky Scan Engine in ICAP mode, run this command:
- Copy data that you backed up earlier:
- Copy
klScanEngineUI.xml
to/opt/kaspersky/ScanEngine/etc/
- To be able to use Kaspersky Scan Engine GUI:
- Go to
/opt/kaspersky/ScanEngine/tools/
- Run the following command:
./kav_encrypt -d '%USERNAME%:%PASSWORD%'
Here,
%USERNAME%
and%PASSWORD%
are the username and password used to connect to thekavebase
database.If you forgot the username or password, use the psql utility.
- Go to
- If the previous version of Kaspersky Scan Engine worked in ICAP mode and you configured ICAP rules in
kavicapd_gui_rules.conf
, copy data from/opt/kaspersky/ScanEngine/icap_data
. - If you used Kaspersky Scan Engine GUI and you made copies of the certificate and the private key, place them in the locations that are specified in the
SSLCertificatePath
andSSLPrivateKeyPath
elements of theklScanEngineUI.xml
file, respectively.Make sure that only users with administrator rights have read access to the certificate and the private key.
- Make sure that the key file (if the previous version of Kaspersky Scan Engine was activated in offline licensing mode) or the activation code (if the previous version of Kaspersky Scan Engine was activated in online licensing mode) is located in the correct directory.
You can find information on the location of the key file or activation code in the
LicensePath
element of thekavhttpd.xml
configuration file (if Kaspersky Scan Engine worked in HTTP mode) orkavicapd.xml
configuration file (if Kaspersky Scan Engine worked in ICAP mode).
- Copy
- Run Kaspersky Scan Engine:
- To use Kaspersky Scan Engine in ICAP mode, run
service kavicapd start
- To use Kaspersky Scan Engine in HTTP mode, run
service kavhttpd start
- To use the Kaspersky Scan Engine GUI, run
service klScanEngineUI start
- To use Kaspersky Scan Engine in ICAP mode, run
- If you are using the Kaspersky Scan Engine GUI, clear your browser cache after the upgrade.