Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'

GVM versions

gsad: (‘20.08.1 --version’)
gvmd: (‘20.08.1 --version’)
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’)
gvm-libs:

Environment

Operating system: Kali Linux on Hyper-V (Windows 10 Pro)
Kernel: Linux kali 5.10.0-kali5-amd64 #1 SMP Debian 5.10.24-1kali1 (2021-03-23) x86_64 GNU/Linux
Installation method / source:

gvm-check-setup
It seems like your GVM-20.8.0 installation is OK

runuser -u _gvm – greenbone-nvt-sync OK
greenbone-scapdata-sync OK
greenbone-certdata-sync OK
runuser -u _gvm – gvmd – get-scanners NOTHING DISPLAYED
runuser -u _gvm – gvmd – get-users – verbose NOTHING DISPLAYED

Trying to do my first scan and this error message !!
Failed to find port_list ‘33d0cd82-57c6-11e1-8ed1-406186ea4fc5’

I read this posible solution, but I have not try it because I do not undestand why should I do it manually…maybe is not my case because I have not 20.08 folderAny help will be great !!!

ls -lha /var/lib/gvm/data-objects/gvmd/
.

feed.xml

create 3 subdirectories:

  • /var/lib/gvm/data-objects/gvmd/20.08/configs
  • /var/lib/gvm/data-objects/gvmd/20.08/port_lists
  • /var/lib/gvm/data-objects/gvmd/20.08/report_formats
  • after creation i’ve started greenbone-feed-sync --type GVMD_DATA

Regards !!

Port lists are now part of the feed and they need to be synced before you can run scans. A workaround would be to create port lists, scan configs etc by hand and use those for your scans. However, you may rather want check this out:

There will also be no harm in creating those three directories.

2 Likes

Thank you @Steffen for you time, just let you know to everyone I could find a super easy solution, just update my last sync format command and add one more…here is.

runuser -u _gvm – greenbone-nvt-sync
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
2 Likes