GVM versions
gsad: 21.04.0
gvmd: 21.4.0
openvas-scanner: 21.4.0
gvm-libs: 21.4.0
Environment
Operating system: Red Hat Enterprise Linux 8.2 (Ootpa)
Kernel: 4.18.0-193.28.1.el8_2.x86_64
Installation method / source: https://github.com/Atomicorp/gvm
Dear community,
I’m currently facing an issue when I’m trying to perform a scan on GSA.
The scan is interrupted at 0% and it seems that GSA cannot connect to the scanner.
When I check the log I have this :
sudo tail -f /var/log/gvm/gvmd.log
md manage: INFO:2021-09-10 08h15.39 utc:1599445: Updating /var/lib/gvm/scap-data/nvdcve-2.0-2002.xml
md manage:WARNING:2021-09-10 08h15.39 utc:1599445: update_cve_xml: Failed to parse element
md manage:WARNING:2021-09-10 08h15.41 utc:1599665: update_scap: No SCAP db present, rebuilding SCAP db from scratch
md manage: INFO:2021-09-10 08h15.42 utc:1599665: update_scap: Updating data from feed
md manage: INFO:2021-09-10 08h15.42 utc:1599665: Updating CPEs
event task:MESSAGE:2021-09-10 08h17.44 UTC:1599850: Status of task Immediate scan of IP 10.1.1.80 (99114627-be36-4f9e-8ac2-fd57be47a20f) has changed to Requested
event task:MESSAGE:2021-09-10 08h17.44 UTC:1599850: Task Immediate scan of IP 10.1.1.80 (99114627-be36-4f9e-8ac2-fd57be47a20f) has been requested to start by admin
md manage:WARNING:2021-09-10 08h17.47 UTC:1599853: Could not connect to Scanner at /opt/gvm/var/run/ospd.sock
md manage:WARNING:2021-09-10 08h17.47 UTC:1599853: OSP start_scan 51adf5ca-1ab1-43b0-9955-d555e961b321: Could not connect to Scanner
event task:MESSAGE:2021-09-10 08h17.47 UTC:1599853: Status of task Immediate scan of IP 10.1.1.80 (99114627-be36-4f9e-8ac2-fd57be47a20f) has changed to Done
event task:MESSAGE:2021-09-10 08h17.47 UTC:1599853: Status of task Immediate scan of IP 10.1.1.80 (99114627-be36-4f9e-8ac2-fd57be47a20f) has changed to Interrupted
In the report of the scan, I have also 2 errors that occured :
‘Could not connect to Scanner’
‘Interrupting scan because GVM is exiting.’
I don’t know if it’s linked or related, but the different feed are in status “update in progress” since the installation of GSA and I tried different commands that I found on other topics :
‘greenbone-nvt-sync’
gvmd --get-users --verbose
gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value <uuid_of_user>
I also tried this :
AS GVM USER
‘gvmd --get-scanners’
‘gvmd --get-users --verbose’
‘gvmd --modify-scanner [scanner id] --value [user id]’
I also tried to re-running the different sync :
‘greenbone-feed-sync --type GVMD_DATA’
‘greenbone-feed-sync --type SCAP’
‘greenbone-feed-sync --type CERT’
But the status stays at “update in progress”.
Do you have any ideas about this problem please ?
Thanks in advance,
Regards,