wingcommander'99
2023-07-28, 19:20
This is an update for Kali Linux 2023.2a from my previous thread on installing OpenVas on Kali Linux.
=> https://forums.kali.org/showthread.php?71778-HowTo-Installation-procedure-of-OpenVAS-on-Kali-Linux-2022-1
Follow the "how to" until you do the "gvm-setup" line, then follow the following guidelines to avoid a GVMD database creation error in Postgresql with this result => "WARNING: database ?postgres? has a collation version mismatch
DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.37."
In a terminal window fill in the following command line:
sudo -u postgres psql
then fill in the following to upgrade database support:
ALTER DATABASE postgres REFRESH COLLATION VERSION;
To exit Postgresql:
\q
Let's relaunch a verification of the setup:
sudo gvm-check-setup
After this step, all you have to do is create a user and its password then follow the how to, ignoring the creation of the user later:
sudo runuser -u _gvm -- gvmd --create-user=my_user --password=my_password
Source (https://forum.greenbone.net/t/the-postgresql-db-does-not-exist/15239)
=> https://forums.kali.org/showthread.php?71778-HowTo-Installation-procedure-of-OpenVAS-on-Kali-Linux-2022-1
Follow the "how to" until you do the "gvm-setup" line, then follow the following guidelines to avoid a GVMD database creation error in Postgresql with this result => "WARNING: database ?postgres? has a collation version mismatch
DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.37."
In a terminal window fill in the following command line:
sudo -u postgres psql
then fill in the following to upgrade database support:
ALTER DATABASE postgres REFRESH COLLATION VERSION;
To exit Postgresql:
\q
Let's relaunch a verification of the setup:
sudo gvm-check-setup
After this step, all you have to do is create a user and its password then follow the how to, ignoring the creation of the user later:
sudo runuser -u _gvm -- gvmd --create-user=my_user --password=my_password
Source (https://forum.greenbone.net/t/the-postgresql-db-does-not-exist/15239)