The “SCRAM authentication requires libpq version 10 or above” error when installing Kaspersky Scan Engine
Show applications and versions that this article concerns
- Kaspersky Scan Engine 2.1
- Kaspersky Scan Engine 2.0
- Kaspersky Scan Engine 1.0
When installing Kaspersky Scan Engine, you can encounter the "SCRAM authentication requires libpq version 10 or above” error.
The default password encryption mechanism has been changed in PostgreSQL 13 database management system. The initial postgres user which has been created during the PostgreSQL installation has a password encrypted with the scram-sha-256 algorithm. This algorithm is not supported by Kaspersky Scan Engine.
We recommend that you use PostgreSQL of version 11 or 12.
If you cannot use the recommended versions, configure the supported password encryption mechanism in PostgreSQL. See the instructions for the following installation scenarios:
The changes will affect the entire PostgreSQL cluster and other applications that use the cluster.
If you install the application using the installer
- Open the psql console:
- On Windows: click Start → Postgres 13 → SQL shell.
- On Linux: run psql under the privileged user account.
- Log in to the local cluster and run the command:
- Update the password of the ‘postgres’ user by running the following command:
- To make sure that the password is saved using the supported algorithm, run the command:
- A line with the encrypted password will appear. The line starts with ‘MD5’, for example: md533a9a79ffee1cc8bf4fbc63f24518e44.
- Close the psql console using the command:
- Start the Kaspersky Scan Engine installation once again.
If you install the application manually
- Follow the steps 1–2 described in the Enabling Kaspersky Scan Engine GUI guide for your operating system:
- Run the following command: