Greenbone web interface shows “The Scap data is required”. I have installed openvas in kali linux by running these commands.
sudo apt-get install openvas
sudo gvm-setup
sudo gvm-start
but when in login in the web interface it shows this scap data missing error. When I run gvm-check-setup command, it shows that “Scap data is present”.
gvm-check-setup is a tool maintained by the Debian/Kali packagers. Greenbone is not involved in the development of that script. Therefore you can be sure that the tool developed by Greenbone (the web application Greenbone Security Assistant) is right about the situation.
To give some more hints. It is likely that gvm-check-setup looks for the files synced with the feed at the /var/lib/gvm directory. But only checking that these files are present is not enough. They need to be loaded by our gvmd service. The loading of the data may take a several minutes up to hours during the first time.
It has been two days since I installed it on the system but everytime I start gvm, it is showing this error. There must be some other reason behind this problem.
I don’t know why nobody on the internet is telling the solution of this problem…?
If anybody have any idea, then please share.
What command I will have to run to fix this problem?
Yes, I have checked this file. It is empty. I also checked ospd-openvas.log, there is an error
“OSPD[1289] 2021-06-30 08:54:34,206: ERROR: (ospd.server) Error sending data to the client. [Errno 32] Broken pipe”
Do this error message has something to do with this “Scap data required” problem…?
If gvmd is running which is required to be able to login into GSA /var/lib/gvm/gvmd.log should not be empty. But maybe it is due to the logrotate usage in Kali. Could you take a look at the /var/lib/gvm/ directory if there are other similar files e.g gvmd.log.tar.gz or something like that?
Could you also please paste the output of systemctl status gvmd?