Permissions error on sudo gvm-start

Environment

Operating system: Kali LInux
Kernel: 5.10.0-kali7-amd64
Installation method / source: sudo apt install openvas

When I try to run ‘sudo gvm-start’ on a Kali installation from the repository, I gvm and gsa will not start.

$ sudo gvm-start
[*] Please wait for the GVM / OpenVAS services to start.
[*]
[*] You might need to refresh your browser once it opens.
[*]
[*]  Web UI (Greenbone Security Assistant): https://127.0.0.1:9392

Job for gvmd.service failed because a timeout was exceeded.
See "systemctl status gvmd.service" and "journalctl -xe" for details.

All the log file are empty except for /var/log/gvm/openvas.log. There are many lines that are simiar permission denied for .nasl files, and finally a permission denied for another file:

... many similar lines to....
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/gb_lancom_devices_telnet_detect.nasl: Not able to open nor to locate it in include paths
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/novaboard_detect.nasl: Not able to open nor to locate it in include paths
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/gb_gfi_kerio_connect_detect_win.nasl: Not able to open nor to locate it in include paths
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/gb_apache_zookeeper_detect.nasl: Not able to open nor to locate it in include paths
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/no404.nasl: Not able to open nor to locate it in include paths
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/gb_huawei_vrp_network_device_consolidation.nasl: Not able to open nor to locate it in include pat>
lib  nasl:MESSAGE:2021-12-16 22h04.19 utc:69889: /var/lib/openvas/plugins/gb_logix_designer_compare_tool_detect_win.nasl: Not able to open nor to locate it in include paths
lib  nvticache:WARNING:2021-12-16 22h04.19 utc:69888: nvt_feed_version: Failed to open file “/var/lib/openvas/plugins/plugin_feed_info.inc”: Permission denied

i check the permissions of that files:

$ ls -lah /var/lib/openvas/plugins/plugin_feed_info.inc
-rwxr--r-- 1 _gvm _gvm 1014 Dec 15 06:22 /var/lib/openvas/plugins/plugin_feed_info.inc

So, it’s owned by _gvm and has all permissions… please help.

Hi @rippledj,

Please run the command to check the setup to see if id there any error or not: sudo gvm-check-setup

Best

1 Like

Thanks. I had already run that and it said there was no user created. So, something ended up being corrupt about the application. I re-installed Kali from scratch and then installed GVM and it’s working fine. Thanks!

2 Likes