GVM installation problems
When running gvm-check-setup (GVM 11 installation), gives me the following FIX which does not work
FIX: create a Admin user by running ?sudo runuser -u _gvm ? gvmd --create-user= --new-password=?
MY ENTRY: sudo runuser -u _gvm ? gvmd --create-user=Admin --new-password=12345
ERROR: Your GVM-11 installation is not yet complete!
---------------------
AND when running gvm-start gives me the following errors?
Job for gvmd.service failed because a timeout was exceeded.
See ?systemctl status gvmd.service? and ?journalctl -xe? for details.
Job for ospd-openvas.service failed because the service did not take the steps required by its unit configuration.
See ?systemctl status ospd-openvas.service? and ?journalctl -xe? for details
What should i do?
Thank you in advance.
P. Leontios
GVM installation problems - FIXED
There are high chances that you're running 2 or more variations of PostgreSQL which is causing some conflictions in the port needed by gvm (greenbone Vulnerability manager)
steps:
1. apt autoremove gvm
2. apt update && apt upgrade -y
Now navigate to /etc/postgresql #This will show you variations of postgresql you have.
If you have the latest, possibly {13} change the port to 5432.
Use: nano, leafpad or vi (whichever you are comfortable with)
3. nano /etc/postgresql/13/main/postgresql.conf #change the port to 5432 or leave it if it is already 5432.
4. nano /etc/postgresql/12/main/postgresql.conf #change the port to 5433 or any port that will not conflict with other services.
5. nano /etc/postgresql/11/main/postgresql.conf #change the port to 5431 or any port that will not conflict with other services.
systemctl restart postgresql or service postgresql restart
Now it is time to re-install gvm
apt install gvm -y
gvm-setup # Pay attention to the newly generated password, username = admin
gvm-start