10 Years of Service
60%
After updating Linux, OpenVAS sometimes stops working - sometimes it is because of PostgreSQL, which needs to be matched with the new version. I reactivated the service with the following commands and updated the database.
sudo pg_upgradecluster 16 main
sudo pg_lsclusters
sudo apt update -y && sudo apt upgrade -y
sudo nano /etc/postgresql/17/main/postgresql.conf
sudo gvm-check-setup -h
sudo systemctl restart postgresql
sudo systemctl restart gvmd
sudo pg_upgradecluster 16 main
sudo pg_lsclusters
sudo apt update -y && sudo apt upgrade -y
sudo nano /etc/postgresql/17/main/postgresql.conf
sudo gvm-check-setup -h
sudo systemctl restart postgresql
sudo systemctl restart gvmd