Fresh install Kali linux, errors, not possible to create task

When I tried to create new task, O had an error: Failed to find config ‘daba56c8-73ec-11df-a475-002264764cea’. I looked for information about this error and found that I should wait for feed status current. I have infinite Update in progress… (waited many hours).

I looked for help and found errors:

└─$ sudo -u _gvm gvmd --rebuild-gvmd-data=all
Failed to rebuild gvmd data: NVTs must be available while rebuilding configs.

I found help to execute comman from Troubleshooting - Greenbone Community Documentation to set Feed import owner.

sudo -u _gvm gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value gvmd --get-users --verbose | grep admin | awk '{print $2}'

(gvmd:35218): md main-WARNING **: 15:02:38.395: init_semaphore_set: error creating semaphore file /var/lib/gvm/gvmd.sem: Permission denied
md main-Message: 15:02:38.395: Greenbone Vulnerability Manager version 23.10.0 (DB revision 256)

(gvmd:35218): md manage-WARNING **: 15:02:38.395: Failed to open lock file ‘/var/lib/openvas/gvm-checking’: Permission denied

(gvmd:35218): md main-CRITICAL **: 15:02:38.395: gvmd: Error trying to get checking lock

(gvmd:35223): md main-CRITICAL **: 10:02:38.419: gvmd: g_option_context_parse: Missing argument for --value

I couldn’t find help about this error.

I solved this problem. Solution was crazy, virtual machine in default configuration had allocated too little RAM and OpenVAS can’t work properly. Unfortunately, OpenVAS showed many strange errors instead of simple out of memory.

There is no simple out of memory, especial if you enable swap. Your machine will be very slow, if there is a hard out of memory the OOM kill will tell you you run low.

Keep in Mind GVM is a complex software of many individual scripts, processes and daemons. So no one single OOM. Esp. if REDIS dies you get many messages and that can´t be help you.

2 Likes