cfi
December 30, 2020, 8:12pm
5
Some further reading below.
TLDR: Either a wrongly configured redis-server or a gvmd
not configured to access the correct ospd-openvas / ospd socket could be additional reasons for this problem.
opened 04:25PM - 14 Aug 20 UTC
closed 02:49PM - 17 Aug 20 UTC
bug
### Expected behavior
Upon launching a clean instance with no previous databa… se, GVMD should populate port lists, report formats, and scan configs from the data feed sync.
### Actual behavior
All feeds are properly synced prior to launching GVMD. Events in the log show report formats and port lists are created, however there are no log entries (success or failure) relating to scan configs. Have verified that the scan config files are synced and stored in /usr/local/var/lib/gvm/data-objects/gvmd/20.08/configs. Also have verified that permissions are correct and the same as the permissions for port lists and report formats.
### Steps to reproduce
1. Clean installation of all 20.8 components from source on Ubuntu 18.4
2. Run feed syncs for GVMD_DATA, SCAP, and CERT
3. Create admin user and grant feed import rights
4. Launch GVMD
### GVM versions
**gsa:** 20.08.0
**gvm:** 20.08.0
**openvas-scanner:** 20.08.0
**gvm-libs:** 20.08.0
### Environment
**Operating system:**
Linux gvm 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
**Installation method / source:** source installation
### Logfiles
```
md main:MESSAGE:2020-08-14 16h08.53 utc:590: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md main: INFO:2020-08-14 16h08.53 utc:590: Migrating database.
md main:WARNING:2020-08-14 16h08.53 utc:590: manage_migrate: no task tables yet, so no need to migrate them
md main:MESSAGE:2020-08-14 16h08.53 utc:590: No SCAP database found for migration
md main:MESSAGE:2020-08-14 16h08.53 utc:590: No CERT database found for migration
md main:WARNING:2020-08-14 16h08.53 utc:590: gvmd: databases are already at the supported version
md main:MESSAGE:2020-08-14 16h08.53 utc:593: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md manage: INFO:2020-08-14 16h08.53 utc:593: Creating user.
md manage:WARNING:2020-08-14 16h08.53 utc:593: sql_exec_internal: PQexec failed: ERROR: relation "public.meta" does not exist
LINE 1: SELECT value FROM public.meta WHERE name = 'database_version...
^
(7)
md manage:WARNING:2020-08-14 16h08.53 utc:593: sql_exec_internal: SQL: SELECT value FROM public.meta WHERE name = 'database_version';
md manage:WARNING:2020-08-14 16h08.53 utc:593: sql_x: sql_exec_internal failed
md manage:MESSAGE:2020-08-14 16h08.53 utc:593: No SCAP database found
md manage:MESSAGE:2020-08-14 16h08.53 utc:593: No CERT database found
md main:MESSAGE:2020-08-14 16h08.54 utc:596: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md manage: INFO:2020-08-14 16h08.54 utc:596: Modifying setting.
md manage:MESSAGE:2020-08-14 16h08.54 utc:596: No SCAP database found
md manage:MESSAGE:2020-08-14 16h08.54 utc:596: No CERT database found
md main:MESSAGE:2020-08-14 16h08.54 utc:600: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md manage: INFO:2020-08-14 16h08.54 utc:600: Getting users.
md manage:MESSAGE:2020-08-14 16h08.54 utc:600: No SCAP database found
md manage:MESSAGE:2020-08-14 16h08.54 utc:600: No CERT database found
md main:MESSAGE:2020-08-14 16h08.54 utc:605: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md manage: INFO:2020-08-14 16h08.54 utc:605: Modifying setting.
md manage:MESSAGE:2020-08-14 16h08.54 utc:605: No SCAP database found
md manage:MESSAGE:2020-08-14 16h08.54 utc:605: No CERT database found
md main:MESSAGE:2020-08-14 16h08.54 utc:540: Greenbone Vulnerability Manager version 20.08.0 (DB revision 233)
md manage:MESSAGE:2020-08-14 16h08.54 utc:540: No SCAP database found
md manage:MESSAGE:2020-08-14 16h08.54 utc:540: No CERT database found
event port_list:MESSAGE:2020-08-14 16h08.55 utc:540: Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin
event port_list:MESSAGE:2020-08-14 16h08.55 utc:540: Port list All TCP and Nmap top 100 UDP (730ef368-57e2-11e1-a90f-406186ea4fc5) has been created by admin
event port_list:MESSAGE:2020-08-14 16h08.55 utc:540: Port list All IANA assigned TCP and UDP (4a4717fe-57d2-11e1-9a26-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format ITG (77bd6c4a-1f62-11e1-abf0-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format TXT (a3810a62-1f62-11e1-9219-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format CSV Results (c1645568-627a-11e3-a660-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format PDF (c402cc3e-b531-11e1-9163-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format XML (a994b278-1f62-11e1-96ac-406186ea4fc5) has been created by admin
event report_format:MESSAGE:2020-08-14 16h08.55 utc:540: Report format Anonymous XML (5057e5cc-b825-11e4-9d0e-28d24461215b) has been created by admin
md manage: INFO:2020-08-14 16h10.25 utc:637: Initializing CERT database
md manage:WARNING:2020-08-14 16h10.25 utc:635: update_scap: No SCAP db present, rebuilding SCAP db from scratch
md manage: INFO:2020-08-14 16h10.25 utc:637: sync_cert: Updating data from feed
```
opened 08:23PM - 21 Oct 20 UTC
closed 11:28AM - 06 Jul 21 UTC
bug
In the web UI when I go to configure a scan the box labeled "scan config" is not… populated. I ran into this once before on another install and the issue was with my feed.lock file not having read/write privs under the gvm user, fixing that and doing an nvt-sync fixed it. That is not the case this time. I can't figure it out. I've gone through logs, followed the troubleshooting steps outlined here (https://sadsloth.net/post/install-gvm-20_08-src-on-debian/). I've confirmed my feed user has the UUID associated properly, I've been messing with it for days now. I'm running ubuntu 20.04, my NVTs are up to date, yet I do not have any options in the drop down box for feed config and I cannot start a scan because of it.
Archive
Greenbone Community Edition
Hi, I’ve installed greenbone-vulnerability-manager ( gvm-20.8.0-14795 ) on Centos 8.2 from atomic repo. After installation was done I end up without any scan config. “/usr/sbin/greenbone-feed-sync --type GVMD_DATA” doesn’t fetch anything except...
Reading time: 3 mins 🕑
Likes: 4 ❤
1 Like