Ospd-openvas.service failed

Use this category only if you have build GVM from sources or if you use packages provided by a 3rdparty repository.

When posting you should provide information about your environment using the following template:

GVM versions

gsad: (‘gsad --version’)
Greenbone Security Assistant 21.4.1~dev1

gvmd: (‘gvmd --version’)
Greenbone Vulnerability Manager 21.4.2
Manager DB revision 242
Copyright (C) 2009-2021 Greenbone Networks GmbH
License: AGPL-3.0-or-later

openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’)
gvm-libs:
OpenVAS 21.4.1
gvm-libs 21.4.1
Most new code since 2005: (C) 2021 Greenbone Networks GmbH
Nessus origin: (C) 2004 Renaud Deraison deraison@nessus.org
License GPLv2: GNU GPL version

Environment

Operating system:
Parrot Sec

Kernel: (‘uname -a’)
Linux parrot 5.15.0-15parrot1-amd64 #1 SMP Debian 5.15.15-15parrot2 (2022-02-15) x86_64 GNU/Linux

Installation method / source:
apt

hello, when i did gvm-check-setup i got error at the end. here is is the results from ‘journalctl -xe’

└──╼ $sudo journalctl -xe
░░ Subject: A start job for unit ospd-openvas.service has begun execution
░░ Defined-By: systemd

░░
░░ A start job for unit ospd-openvas.service has begun execution.
░░
░░ The job identifier is 5013.
Mar 16 04:58:21 parrot openvas[3492]: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf.
Mar 16 04:58:26 parrot openvas[3497]: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf.
Mar 16 04:58:31 parrot openvas[3498]: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf.
Mar 16 04:58:37 parrot openvas[3500]: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf.
Mar 16 04:58:42 parrot openvas[3501]: init_openvas: Can not open or create log file or directory. Please check permissions of log files listed in /etc/openvas/openvas_log.conf.
Mar 16 04:58:47 parrot systemd[1]: ospd-openvas.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░
░░
░░ An ExecStart= process belonging to unit ospd-openvas.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Mar 16 04:58:47 parrot systemd[1]: ospd-openvas.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░
░░
░░ The unit ospd-openvas.service has entered the ‘failed’ state with result ‘exit-code’.
Mar 16 04:58:47 parrot systemd[1]: Failed to start OpenVAS Wrapper of the Greenbone Vulnerability Management (ospd-openvas).
░░ Subject: A start job for unit ospd-openvas.service has failed
░░ Defined-By: systemd
░░ Support: Debian -- Support
░░
░░ A start job for unit ospd-openvas.service has finished with a failure.
░░
░░ The job identifier is 5013 and the job result is failed.
Mar 16 04:59:16 parrot sudo[3509]: user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Mar 16 04:59:16 parrot sudo[3509]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)

Looks like this is already giving the info that there is a permission problem on this setup. Please make sure that the permissions on your setup are correct and are matching the user which is trying to start ospd-openvas.