I have installed the source version of OpenVas 9 on Ubuntu 16.04 LTS but I am having problems:
Running ‘openvasmd --rebuild’ doesn’t seem to work, no matter how many times I run it. How long does a rebuild take for first run - minutes? Hours? Days?
Running openvas-check-setup --v9 gives this error:
ERROR: The number of NVTs in the OpenVAS Manager database is too low.
FIX: Make sure OpenVAS Scanner is running with an up-to-date NVT collection
Running a sqlite query on tasks.db gives 0 records for nvts table.
I cannot login to the openvas web page. I get this erro when I try to login:
Login failed. Waiting for OMP service to become available.
Thanks for the tip. I have reconfigured redis-server according to this article at https://wiki.archlinux.org/index.php/OpenVAS
and restarted services. I have then tried the rebuild but it still fails to build and just sits there…
It depends on your permission settings, we strongly disadvise to run GVMd as root.
I would put GVMd and redis in a shared group and set both members to RW- execute is not needed so your permissions are not correct here.
You need to think about your permission system like any other enterprise Linux application. Please check your settings, group-configurations. If you are unsure how to model the permission system right you can always use the GCE. On the GCE is the permission system configured correctly and it´s a ready to run virtual appliance.
Many 3rd party packages run everything as root (very unsafe) or have broken permissions. So if this is a permission system please get back to your package maintainer.