Hi guys,
when I create a task I receive the ‘failed to find config XXX’ message.
I stoped the GVM and run following command:
runuser -u _gvm -- greenbone-nvt-sync
In the past this command helped to fix the issue. But now it seems like that not.
Has anyone the same issue and knows how to fix it?
GVM versions
gsad: Greenbone Security Assistant 20.08.1~git
gvmd: Greenbone Vulnerability Manager 20.08.1 (Manager DB revision 233)
openvas-scanner: OpenVAS 20.8.1
gvm-libs: gvm-libs 20.8.1
Environment
Operating system: Kali 2021.1
Kernel: 4.19.127-Re4son-v7l+ #1
Installation method / source: Fresh installed VM with .iso as source
cfi
April 29, 2021, 1:41pm
2
cfi
April 29, 2021, 1:44pm
4
What makes you certain that this is not a duplicate? Because this topic is exactly about the “Failed to find config” message and it also contains many hints how to solve it (mainly setup issues and similar).
Thx.
I set it up myself.
Can be closed
cfi
April 29, 2021, 2:08pm
6
@lucidlynx Could it be possible that you are posting in a wrong topic? Because you had created Build from source 21.04 , this topic you are currently posting was created by a different user.
sorry, I wrote in the wrong place.)
Hey,
It seems like that this is the solution:
(short: Just wait a couple of minutes before start the service / scan).
Even after you have fully synced the feeds, it takes gvm some time to ingest that data. I’ve seen it take anywhere from 15minutes to an hour depending on how much CPU/Memory you are throwing at it. I got around this by using docker and building an image that includes a recent full copy of the feeds as well as a fully functioning DB. You can spin up the scanner and have it ready to scan in 5-10 minutes or immediately if you skip the sync.
immauss/openvas (docker.com)
1 Like
Again the issue.
I have installed the gvm successfully. When I try to configure a task, the config dropdown is greyed out and I received the error message again when I try to save the created task.
I already tried out following commands:
runuser -u _gvm -- greenbone-nvt-syn
rsync -avrP rsync://feed.community.greenbone.net:/data-objects/gvmd/
What doing I wrong?
bricks
May 19, 2021, 4:54pm
10
Please ensure that all feed data has been synced
# INSTALLATION INSTRUCTIONS FOR GREENBONE VULNERABILITY MANAGER
Please note: The reference system used by most of the developers is Debian
GNU/Linux 'Buster' 10. The build might fail on any other system. Also, it is
necessary to install dependent development packages.
## Prerequisites for Greenbone Vulnerability Manager
Prerequisites:
* GCC (Debian package: gcc)
* cmake >= 3.0 (Debian package: cmake)
* glib-2.0 >= 2.42 (Debian package: libglib2.0-dev)
* gnutls >= 3.2.15 (Debian package: libgnutls28-dev)
* libgvm_base, libgvm_util, libgvm_osp, libgvm_gmp >= 20.08.1 ([gvm-libs](https://github.com/greenbone/gvm-libs/tree/gvm-libs-20.08) component)
* PostgreSQL database >= 9.6 (Debian packages: libpq-dev postgresql-server-dev-11)
* pkg-config (Debian package: pkg-config)
* libical >= 1.0.0 (Debian package: libical-dev)
* xsltproc (Debian package: xsltproc)
This file has been truncated. show original
1 Like
I have updated the feeds with the following commands as described in the given link:
greenbone-feed-sync --type GVMD_DATA
greenbone-feed-sync --type SCAP
greenbone-feed-sync --type CERT
Unfortunately, it has no effect to my issue.