Scan interrupted

Hi,

im using docker compose container but cant start any scan.

Always get:

Scan process Failure
Scan process Failure
Task interrupted unexpectedly

I tried:

  1. erase volumes and images and start from scratch
  2. different version of ospd-openvas (22.4.1)
  3. disable ipv6

Do you have any advices?

Thanks

greenbone-community-edition-gvmd-1                 | event config:MESSAGE:2024-02-08 16h15.30 UTC:539: Scan config GaussDB 100 V300R001C00 Security Hardening Guide (Standalone) (61327f09-8a54-4854-9e1c-16798285fb28) has been created by admin
greenbone-community-edition-gvmd-1                 | event config:MESSAGE:2024-02-08 16h15.30 UTC:539: Scan config System Discovery (bbca7412-a950-11e3-9109-406186ea4fc5) has been created by admin
greenbone-community-edition-gvmd-1                 | event target:MESSAGE:2024-02-08 16h16.16 UTC:695: Target Target for immediate scan of IP www.google.com - 2024-02-08 16:16:16 (9115ae02-013b-4993-ac1c-fdc8ffa03667) has been created by admin
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.16 UTC:695: Status of task  (057f009c-ead8-4c5a-af74-32d227506db3) has changed to New
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.16 UTC:695: Task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has been created by admin
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.16 UTC:695: Status of task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has changed to Requested
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.16 UTC:695: Task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has been requested to start by admin
greenbone-community-edition-gvmd-1                 | event wizard:MESSAGE:2024-02-08 16h16.16 UTC:695: Wizard quick_first_scan has been run by admin
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:16:24,762: INFO: (ospd.command.command) Scan 2885e08f-aca7-4cad-9779-230572862985 added to the queue in position 1.
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.24 UTC:702: Status of task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has changed to Queued
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:16:31,113: INFO: (ospd.ospd) Currently 1 queued scans.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:16:31,245: INFO: (ospd.ospd) Starting scan 2885e08f-aca7-4cad-9779-230572862985.
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h16.34 UTC:702: Status of task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has changed to Running
greenbone-community-edition-mqtt-broker-1          | 1707409017: New connection from 172.20.0.5:42682 on port 1883.
greenbone-community-edition-mqtt-broker-1          | 1707409017: New client connected from 172.20.0.5:42682 as d90a4295-f432-428d-a5fd-6bdf48a5e50d (p5, c1, k0).
greenbone-community-edition-mqtt-broker-1          | 1707409026: Client d90a4295-f432-428d-a5fd-6bdf48a5e50d closed its connection.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:07,144: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Host scan finished.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:07,145: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Host scan got interrupted. Progress: 0, Status: RUNNING
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:07,145: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan interrupted.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,880: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan process is dead and its progress is 0
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,881: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan interrupted.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,883: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan process is dead and its progress is 0
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,883: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan interrupted.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,901: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan process is dead and its progress is 0
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,901: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan interrupted.
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,907: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan process is dead and its progress is 0
greenbone-community-edition-ospd-openvas-1         | OSPD[1] 2024-02-08 16:17:09,907: INFO: (ospd.ospd) 2885e08f-aca7-4cad-9779-230572862985: Scan interrupted.
greenbone-community-edition-gvmd-1                 | event task:MESSAGE:2024-02-08 16h17.09 UTC:702: Status of task Immediate scan of IP www.google.com (057f009c-ead8-4c5a-af74-32d227506db3) has changed to Interrupted

Hi,

please always format log outputs. See Start Here - #3 by bricks

Could you take a look at the scanner output too by running

docker compose -f $DOWNLOAD_DIR/docker-compose-22.4.yml -p greenbone-community-edition exec ospd-openvas cat /var/log/gvm/openvas.log

where $DOWNLOAD_DIR needs to be set accordingly to Greenbone Community Containers 22.4 - Greenbone Community Documentation

1 Like

Some additional questions.

What’s the status of the feed in the web UI (Administration → Feed Status)?
Do you have a list of NVTs in the web UI (SecInfo → NVTs)?
Do you have a list of scan configurations in the web UI (Configuration → Scan Configs)?
Do you get “scan interrupted” for all target hosts or just this one?

2 Likes