Hi all!
If you experience the error message “interrupted 0%…” and all tasks failing when trying to use any of the “Alive test” besides “consider alive” like I was getting and stumbled upon for a few hours, I’d like to inform you that in my case the IPv6 was the culprit, as I’ve disabled IPv6 on that machine. I’ve also seen in the logs that the task was started and passed to the mqtt broker and immediately after it stopped without any apparent reason.
I found the culprit via this post ARPV6/ICMPV6 socket: Address family not supported by protocol.
I’m using Ubuntu 22.04 so the steps would be as follows:
edit the /etc/default/grub and delete the ipv6 disable part - #GRUB_CMDLINE_LINUX=“ipv6.disable=1” and then run sudo update-grub
I’m using the official “Greenbone Community Containers 22.4” one-script-does-it-all.
Disabled ipv6 on all windows 11 interfaces and yet, I’m seeing the same “interrupted 0%…”.
Logs shows absolutely nothing:
2023-12-13 18:45:37 greenbone-community-edition-gvmd-1 | event task:MESSAGE:2023-12-13 21h45.37 UTC:702: Status of task taskname.2023.tdi1 (0e89ebdd-877c-4a0c-925f-51af9dae74d3) has changed to Queued
2023-12-13 18:45:47 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:45:47,544: INFO: (ospd.ospd) Currently 1 queued scans.
2023-12-13 18:45:47 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:45:47,701: INFO: (ospd.ospd) Starting scan 1e5d1f30-2bcb-45c4-81be-f5716fd0357e.
2023-12-13 18:45:48 greenbone-community-edition-gvmd-1 | event task:MESSAGE:2023-12-13 21h45.47 UTC:702: Status of task taskname.2023.tdi1 (0e89ebdd-877c-4a0c-925f-51af9dae74d3) has changed to Running
2023-12-13 18:46:25 greenbone-community-edition-mqtt-broker-1 | 1702503985: New connection from 172.18.0.6:48654 on port 1883.
2023-12-13 18:46:25 greenbone-community-edition-mqtt-broker-1 | 1702503985: New client connected from 172.18.0.6:48654 as 7b4ace6f-4dd8-48ff-8019-8cb37d918774 (p5, c1, k0).
2023-12-13 18:46:33 greenbone-community-edition-mqtt-broker-1 | 1702503993: Client 7b4ace6f-4dd8-48ff-8019-8cb37d918774 closed its connection.
2023-12-13 18:46:33 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 **21:46:33,505: ERROR: (ospd_openvas.daemon) Task 1e5d1f30-2bcb-45c4-81be-f5716fd0357e was unexpectedly stopped or killed**.
2023-12-13 18:46:33 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:33,507: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Host scan finished.
2023-12-13 18:46:33 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:33,510: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Host scan got interrupted. Progress: 0, Status: RUNNING
2023-12-13 18:46:33 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:33,510: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan interrupted.
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,878: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan process is dead and its progress is 0
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,879: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan interrupted.
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,882: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan process is dead and its progress is 0
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,883: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan interrupted.
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,913: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan process is dead and its progress is 0
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,913: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan interrupted.
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,933: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan process is dead and its progress is 0
2023-12-13 18:46:37 greenbone-community-edition-ospd-openvas-1 | OSPD[7] 2023-12-13 21:46:37,934: INFO: (ospd.ospd) 1e5d1f30-2bcb-45c4-81be-f5716fd0357e: Scan interrupted.
2023-12-13 18:46:38 greenbone-community-edition-gvmd-1 | event task:MESSAGE:2023-12-13 21h46.37 UTC:702: Status of task taskname.2023.tdi1 (0e89ebdd-877c-4a0c-925f-51af9dae74d3) has changed to Interrupted
I’ve tried to remove containers/images completely and build it twice.
Tried to restart gvmd, ospd, rebuild, yet same result.
using ping command I’m able to reach the target ip address, so is not a network problem.
Anyone out there already come across this and know whats going on?
This is something completely different and not related to what the OP is describing (the only common part is the “interrupted 0%” message which can have a huge amount of different sources).
Please see the following existing thread for more info:
@dogasantos There is no need to update that existing thread. If your problem persists it’s something different (e.g. the docker feeds haven’t been updated correctly) and a completely new thread is required.