Missing scan configuration

Hi,

after the installation was successfully I started the service. Unfortunately, there is no scan config.
What I’ve done:

apt install openvas
gvm-setup
gvm-check-setup
--> It seems like your GVM-21.4.3 installation is OK.

At this point the Scan Config is already missing. Then:

runuser -u _gvm -- greenbone-nvt-sync

Still missing the config. Then:

runuser -u _gvm -- gvmd --get-scanners
runuser -u _gvm -- gvmd --get-users --verbose
runuser -u _gvm -- gvmd --modify-scanner [scanner id] --value [user id]
--> Scanner modified.

Restared and rebootet: Scan config still not available.
Someone knows how to fix it?

GVM versions

gsad: Greenbone Security Assistant 21.4.4
gvmd: Greenbone Vulnerability Manager 21.4.5
Manager DB revision 242
Copyright (C) 2009-2021 Greenbone Networks GmbH
License: AGPL-3.0-or-later
openvas-scanner: OpenVAS 21.4.4
gvm-libs: gvm-libs 21.4.4

Environment

Operating system: Kali 2022.2
Kernel: Linux kali 5.16.0-kali7-amd64 #1 SMP PREEMPT Debian 5.16.18-1kali1 (2022-04-01) x86_64 GNU/Linux
Installation method / source: NetInstaller

Hi @individuum

Kali is not our supported distribution or reference system, so we can’t help you here with official support.

But let me check, what does tell you the feed status in the web-ui or via gvm-cli xml request? Is a sync in progress?

If not you should maybe have more luck with the gvmd --help and the commands that starts with gvmd --rebuild*.

Good luck and best regards, Josef

1 Like

Hi,

thanks for reply!

Kali is not our supported distribution or reference system, so we can’t help you here with official support.

Oh, okay. My mistake. What is the supported OS? So I’ll create a VM with the specific OS and try it again :slight_smile:

Thanks

Hi,
Debian 11 should be fine. A documentation to build it yourself you can find here: https://greenbone.github.io/docs/

1 Like

If you only run

runuser -u _gvm -- greenbone-nvt-sync

the scan config is of course missing. You need to sync all feed data.

runuser -u _gvm -- greenbone-feed-sync --type SCAP
runuser -u _gvm -- greenbone-feed-sync --type CERT
runuser -u _gvm -- greenbone-feed-sync --type GVMD_DATA
1 Like

Hi,

After spending some time following the instructions, I was able to install the applications successfully.
Unfortunately, the original problem is still there. @Dexus

What tells you the WebUI in the administration → feed status menu point?
Are the feeds syncing done?

@individuum you must wait until nvt is installed into sql database. It can take up to hour after sync – depends on machine cpu and memory …

Eero

It seems like that this was the “failure”. The Keyword is: Wait!
After typing the above commands I thought that was it. I didn’t know that the process was still running in the background. Only after looking at the feed status did I see that something was still going on

Is it normal that the GVMD_DATA are very old?
Too old (145 days) Please check the automatic synchronization of your system.”

1 Like

@individuum yes for gvmd data its normal… others feeds no.

Eero

1 Like