If experiencing "interrupted 0%" - read here for possible cause!

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
  • disable via these sysctl commands:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0

After changing the above, a reboot would be required in order for the new settings to apply.
Hope this helps anybody.

2 Likes

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?

ty

I’ve tried to install a clean ubuntu 22.4 lts VM and installed every gvm component to the last available version and I see the same problem.

openvas.log produces this:

==> openvas.log <==
sd   main:WARNING:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae: Dependency cycle:
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  2016/gb_disk_pulse_enterprise_server_login_bof_vuln.nasl (1.3.6.1.4.1.25623.1.0.809484)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  gb_disk_pulse_enterprise_server_detect.nasl (1.3.6.1.4.1.25623.1.0.809056)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  os_detection.nasl (1.3.6.1.4.1.25623.1.0.105937)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  os_fingerprint.nasl (1.3.6.1.4.1.25623.1.0.102002)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  gb_nagios_xi_http_detect.nasl (1.3.6.1.4.1.25623.1.0.100752)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  gb_php_http_detect.nasl (1.3.6.1.4.1.25623.1.0.800109)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  sw_apcu_info.nasl (1.3.6.1.4.1.25623.1.0.111025)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae:  gb_php_http_detect.nasl (1.3.6.1.4.1.25623.1.0.800109)
sd   main:MESSAGE:2023-12-14 03h03.18 utc:25113:dafc921f-b92c-4151-bd3f-3e13b25766ae: Couldn't initialize the plugin scheduler

==> ospd-openvas.log <==
OSPD[21505] 2023-12-14 03:03:19,532: ERROR: (ospd_openvas.daemon) Task dafc921f-b92c-4151-bd3f-3e13b25766ae was unexpectedly stopped or killed.
OSPD[21505] 2023-12-14 03:03:19,537: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Host scan finished.
OSPD[21505] 2023-12-14 03:03:19,542: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Host scan got interrupted. Progress: 0, Status: RUNNING
OSPD[21505] 2023-12-14 03:03:19,545: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan interrupted.
OSPD[21505] 2023-12-14 03:03:22,302: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan process is dead and its progress is 0
OSPD[21505] 2023-12-14 03:03:22,304: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan interrupted.
OSPD[21505] 2023-12-14 03:03:22,313: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan process is dead and its progress is 0
OSPD[21505] 2023-12-14 03:03:22,314: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan interrupted.
OSPD[21505] 2023-12-14 03:03:22,374: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan process is dead and its progress is 0
OSPD[21505] 2023-12-14 03:03:22,378: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan interrupted.
OSPD[21505] 2023-12-14 03:03:22,416: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan process is dead and its progress is 0
OSPD[21505] 2023-12-14 03:03:22,418: INFO: (ospd.ospd) dafc921f-b92c-4151-bd3f-3e13b25766ae: Scan interrupted.

==> gvmd.log <==
event task:MESSAGE:2023-12-14 03h03.22 UTC:24555: Status of task TASKNAME (cc680f2a-e414-4afe-aa54-76e91a1cfd4a) has changed to Interrupted

ping works just fine from the gvm virtual machine and container.

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:

1 Like

Thanks @cfi. But the existing thread has a solution that does not solve the problem.
I’ll update that thread.

@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.

Thank you. I’ve just downgrated to the 22.4.0 and it works just fine. Seems that keep up with the last releases have its price after all.