Open VAS GVM scanner installation Kali Linux ERROR The default PostgreSQL version 15 is not 16
Cyber Security & Ethical Hacking Skills
OpenVAS GVM Vulnerability Scanner Installation on Kali Linux - Fixing PostgreSQL Version Error
In this video, I will guide you through the installation of the OpenVAS GVM vulnerability scanner on Kali Linux and how to resolve the common PostgreSQL version error. Follow these steps to successfully set up and troubleshoot your installation.
Installation Steps:
Update your system: sudo apt update -y Install GVM: sudo apt install gvm -y Run GVM setup: sudo gvm-setup Check GVM setup: sudo gvm-check-setup Start GVM: sudo gvm-start Stop GVM: sudo gvm-stop
Troubleshooting the PostgreSQL Version Error:
When running sudo gvm-setup, you might encounter the following error: Starting PostgreSQL service
- ERROR: The default PostgreSQL version (15) is not 16 that is required by libgvmd
- ERROR: libgvmd needs PostgreSQL 16 to use the port 5432
- ERROR: Use pg_upgradecluster to update your PostgreSQL cluster
To resolve this issue, follow these steps:
Edit PostgreSQL 15 configuration: sudo nano /etc/postgresql/15/main/postgresql.conf
Find the line port = 5432 and change it to: port = 5433 Edit PostgreSQL 16 configuration: sudo nano /etc/postgresql/16/main/postgresql.conf
Find the line port = 5433 and change it to: port = 5432
Restart PostgreSQL service: sudo service postgresql restart
Run GVM setup again: sudo gvm-setup
Resetting Default Password:
If you need to reset the default password or if you have forgotten your existing password, use the following command: sudo -E -u _gvm gvmd --user=admin --new-password=Pa$$w0rd
#OpenVAS #GVM #VulnerabilityScanner #KaliLinux #PostgreSQL #CyberSecurity #PenTesting #Linux #InstallationGuide #TechTutorial #InfoSec #EthicalHacking #NetworkSecurity #ITSecurity #HackingTools #SecurityTesting #SystemAdministration #OpenSource #SecurityScanner #TechSupport #BugFixing #CyberDefense #LinuxTools #SecurityTools #CyberProtection #VulnerabilityAssessment #PostgreSQLError #OpenVASError #setupguide ... https://www.youtube.com/watch?v=72jtS1OWmXg
127898235 Bytes