Manual uninstallation (Linux)
This section describes how to manually uninstall Kaspersky Scan Engine.
To manually uninstall Kaspersky Scan Engine:
- 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
- Remove the executable file and the configuration file:
- If you use Kaspersky Scan Engine in ICAP mode, run this command:
rm /etc/init.d/kavicapd /etc/kavicapd.xml
- If you use Kaspersky Scan Engine in HTTP mode, run this command:
rm /etc/init.d/kavhttpd /etc/kavhttpd.xml
- If you use Kaspersky Scan Engine GUI, run this command:
rm /etc/init.d/klScanEngineUI /etc/klScanEngineUI.xml
- If you use Kaspersky Scan Engine GUI, open the PostgreSQL database and execute the following query:
DROP DATABASE kavebase;
To remove the scanengine database user, run the following command:
DROP ROLE scanengine;
- Remove the
/opt/kaspersky/ScanEngine directory:rm –rf /opt/kaspersky/ScanEngine
- Remove the directory that contains temporary files used by Kaspersky Scan Engine:
rm –rf %temp_dir%
Here %temp_dir% is the temporary directory.
Page top