Unable to install OpenVAS 9 on Ubuntu 18.04.1

gvm-9
ubuntu-1804

#1

Hello,
I can’t install properly Openvas9 on Ubuntu 18.04.1.
Following the installation process.

root@vps:~# sudo service openvas-scanner restart
root@vps:~# sudo service openvas-manager restart
Failed to restart openvas-manager.service: Unit openvas-manager.service is masked.
root@vps:~#

In other words openvas-manager can not start

Here some ore info:

root@vps:~# systemctl status openvas-*
● openvas-gsa.service - LSB: remote network security auditor - gsa
Loaded: loaded (/etc/init.d/openvas-gsa; generated)
Active: active (exited) since Sat 2019-02-02 15:52:38 UTC; 1h 36min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 2361)
CGroup: /system.slice/openvas-gsa.service

Feb 02 15:52:38 vps systemd[1]: Starting LSB: remote network security auditor - gsa…
Feb 02 15:52:38 vps systemd[1]: Started LSB: remote network security auditor - gsa.

● openvas-scanner.service - LSB: remote network security auditor - scanner
Loaded: loaded (/etc/init.d/openvas-scanner; generated)
Active: active (running) since Sat 2019-02-02 17:19:50 UTC; 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 14275 ExecStop=/etc/init.d/openvas-scanner stop (code=exited, status=0/SUCCESS)
Process: 14288 ExecStart=/etc/init.d/openvas-scanner start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 2361)
CGroup: /system.slice/openvas-scanner.service
└─14305 openvassd: Waiting for incoming connections

Feb 02 17:19:50 vps systemd[1]: Stopped LSB: remote network security auditor - scanner.
Feb 02 17:19:50 vps systemd[1]: Starting LSB: remote network security auditor - scanner…
Feb 02 17:19:50 vps systemd[1]: Started LSB: remote network security auditor - scanner.
root@vps:~# systemctl status openvas-manager
● openvas-manager.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
root@vps:~#

Any advice ? Any idea what is happening to openvas-manager ?


#2

Did you take a look at the logs created by openvasmd?


#3

Thanks for the information.
At the end I deletes all install and reinstalled it. It worked.

Uninstall:

apt autoremove
apt-purge openvas*
apt-get purge openvas9*
apt-get purge openvas*
apt-get purge libopenvas9
apt-get purge libopenvas9-dev
apt autoremove
rm -rf /var/lib/openvas/

Reinstall:

Then all went perfectly.