To deploy OpenVAS to Virtual machines I've been using Ansible for a while and it worked pretty well. Now today I wanted to deploy it to another machine but the openvas-check-setup
script keeps telling me that the setup isn't yet finished because the SCAP database is missing which it in fact is.
ERROR: No OpenVAS SCAP database found. (Tried: /var/lib/openvas/scap-data/scap.db) FIX: Run a SCAP synchronization script like greenbone-scapdata-sync.
The suggested solution doesn't solve the problem. The directory /var/lib/openvas/scap-data
does exist and it is by no means empty. The only file that seems to be missing is the scap.db
.
To validate the process I moved all the files from /var/lib/openvas/scap-data
to a temporary drive and ran greenbone-scapdata-sync
again. All the files that had been there before where downloaded again but the SCAP Database is still missing.