Task Wizard unresponsive/mkdtemp failed

Installed using ‘apt install gvm’ on a fresh kali install.

I ran gvm-setup and gvm-check setup which confirms the install looks ok. I was able to sync the feed and see the ‘Current’ Status on the feed status page.

I can create targets and add credentials no issue. When I try to use the New Task wizard or advanced wizard I get this error in /var/log/gvm/gvmd.log:

md manage:WARNING:2024-04-10 16h54.31 UTC:80970: manage_run_wizard: Wizard XSL transform failed
event wizard:MESSAGE:2024-04-10 16h59.16 UTC:83911: Wizard quick_task could not be run by admin

When I create a custom scan I am met with this error after the scan being interrupted at 0%: An internal error occurred while getting resources list. The current list of resources is not available. Diagnostics: Failure to receive response from manager daemon.

Here are the log outputs:

event task:MESSAGE:2024-04-10 17h06.53 UTC:88011: Task AD test (89815c44-875d-40a3-8154-98ef74beb481) has been created by admin
event task:MESSAGE:2024-04-10 17h06.55 UTC:88063: Status of task AD test (89815c44-875d-40a3-8154-98ef74beb481) has changed to Requested
event task:MESSAGE:2024-04-10 17h06.55 UTC:88063: Task AD test (89815c44-875d-40a3-8154-98ef74beb481) has been requested to start by admin
libgvm util:MESSAGE:2024-04-10 17h07.13 UTC:88074:    Error: Error on line 1 char 1: Document was empty or contained only whitespace
libgvm util:WARNING:2024-04-10 17h07.13 UTC:88074:    End error: Error on line 1 char 1: Document was empty or contained only whitespace
md manage:WARNING:2024-04-10 17h07.13 UTC:88074: OSP start_scan e2d4d8c1-465e-47fa-9bf3-4cf53b697831: Could not send start_scan command to scanner
event task:MESSAGE:2024-04-10 17h07.13 UTC:88074: Status of task AD test (89815c44-875d-40a3-8154-98ef74beb481) has changed to Done
event task:MESSAGE:2024-04-10 17h07.13 UTC:88074: Status of task AD test (89815c44-875d-40a3-8154-98ef74beb481) has changed to Interrupted
md manage:WARNING:2024-04-10 17h07.26 UTC:88479: manage_send_report: mkdtemp failed
md manage:WARNING:2024-04-10 17h07.41 UTC:88633: manage_send_report: mkdtemp failed

I have un-installed and re-installed gvm and run in to the same issue every time. Any advice appreciated!

You could create a new request over at Issues · greenbone/gvmd · GitHub to make this a little bit more verbose (e.g. to include what failed, …).

But from a first glance this sounds like a permission or disc space issue on the underlying operating system (e.g. /tmp is read only, either /tmp or the whole system doesn’t have any free space or inodes left, …) which prevents the creation of a required temporary directory.

2 Likes