Secure-Compliance-Solutions-LLC / OpenVAS-Docker

A Docker Image For the Open Vulnerability Assessment Scanner (OpenVAS)
https://securecompliance.gitbook.io/projects/openvas_image
MIT License
20 stars 13 forks source link

Interrupted at 98 % or 99% #8

Closed rudnypc closed 2 years ago

rudnypc commented 3 years ago

1 When I use this image, the scans is interruped at 98%. 2 The container doesn't start the ./connect.sh, I have to open the container console and type nohup ./connect.sh &

rudnypc commented 3 years ago
sd   main:MESSAGE:2021-08-05 10h13.06 utc:170: Vulnerability scan 5e082ee8-00d3-445f-b760-71316dd6166c finished in 232169 seconds: 250 hosts
==> /usr/local/var/log/gvm/ospd-openvas.log <==
OSPD[44] 2021-08-05 10:13:06,757: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Host scan finished.
OSPD[44] 2021-08-05 10:13:06,773: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Host scan finished. Progress: 98, Status: RUNNING
OSPD[44] 2021-08-05 10:13:06,774: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Scan interrupted.
OSPD[44] 2021-08-05 10:13:09,444: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Scan process is dead and its progress is 98
OSPD[44] 2021-08-05 10:13:09,444: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Scan interrupted.
OSPD[44] 2021-08-05 10:13:09,675: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Scan process is dead and its progress is 98
OSPD[44] 2021-08-05 10:13:09,676: INFO: (ospd.ospd) 5e082ee8-00d3-445f-b760-71316dd6166c: Scan interrupted.
==> /usr/local/var/log/gvm/ssh-connection.log <==
2021/08/05 10:22:35 autossh[95]: received SIGALRM (end-of-life 0)
2021/08/05 10:22:35 autossh[95]: check on child 98
2021/08/05 10:22:35 autossh[95]: clear alarm timer (0 secs left)
2021/08/05 10:22:35 autossh[95]: set alarm for 600 secs
2021/08/05 10:32:35 autossh[95]: received SIGALRM (end-of-life 0)
2021/08/05 10:32:35 autossh[95]: check on child 98
2021/08/05 10:32:35 autossh[95]: clear alarm timer (0 secs left)

I don't know if this is related: https://github.com/greenbone/ospd-openvas/issues/335

Dexus commented 3 years ago

Will look to it when I have time, currently it looks like it can related to the issue you mention.

Dexus commented 3 years ago

This is a upstream bug what will fixed in a next release from upstream (https://github.com/greenbone/openvas-scanner/pull/832)

rudnypc commented 3 years ago

the fix is merged

Dexus commented 3 years ago

sure but not released yet