I installed a new GVM and want to try it with task wizard, but it shows:
Failed to find port_list ‘33d0cd82-57c6-11e1-8ed1-406186ea4fc5‘
I tried solution in this post but not work:
gsad: (‘20.08.1 --version’)
gvmd: (‘20.08.1 --version’)
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’)
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:
It seems like your GVM-20.8.0 installation is OK
runuser -u _gvm – greenbone-nvt-sync OK
I can find the xml under /var/lib/gvm/data-objects/gvmd/22.04/port-lists:
What should I do to resolve this?
Greenbone Vulnerability Manager 21.4.5
Greenbone Security Assistant 21.4.4
First of all you should check if you have NVTs by looking at the corresponding web page in the Greenbone Security Assistant. If not your feed sync isn’t finished. In that case take a look at
Building 21.4 from Source - Greenbone Community Documentation for some background about the feed sync. Be aware that with the Kali packages the sudo user should be
_gvm instead of
All my feed status are current
and background feed sync was done before.
Could you try deleting the
/var/lib/gvm/data-objects/gvmd directory and re-running a GVMD_DATA sync (should be
sudo -u _gvm greenbone-feed-sync --type GVMD_DATA)?
I deleted the folder and re-sync GVMD_DATA again, but it’s not work
any information can I provide to help on my problem?
Could you paste the output of
find /var/lib/gvm/data-objects/gvmd -name "*.xml"?
At least the port list is on your disk. You could try to run
sudo -u _gvm gvmd --rebuild-gvmd-data=all which should reload the files from the disk.
It works, thank you very much!
Hello, ich have the same problem as discussed above - i installed OpenVAS and get the same error message whe i try to do create a scan:
Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'
So i tried the recommmedations from this thread:
I was able to find the xml under /var/lib/gvm/data-objects/gvmd/22.04/port-lists:
-rw-rw-r-- 1 gvm gvm 123K Apr 12 12:03 all-iana-assigned-tcp-33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml
-rw-rw-r-- 1 gvm gvm 235K Apr 12 12:03 all-iana-assigned-tcp-and-udp-4a4717fe-57d2-11e1-9a26-406186ea4fc5.xml
-rw-rw-r-- 1 gvm gvm 11K Apr 12 12:03 all-tcp-and-nmap-top-100-udp-730ef368-57e2-11e1-a90f-406186ea4fc5.xml
All my feed status are current
I deleted the /var/lib/gvm/data-objects/gvmd directory and did the re-running a GVMD_DATA sync
sudo -u gvm greenbone-feed-sync --type GVMD_DATA
sudo -u gvm gvmd --rebuild-gvmd-data=all
What else can i do to fix this in my case?
Greenbone Vulnerability Manager 22.4.2
Greenbone Security Assistant 22.04.1
i did the installation after the following instruction path:
Thank you for all your help and comments!
I’m getting that same error too can anyone help us?
Make sure to follow
https://greenbone.github.io/docs/latest/22.4/source-build/index.html step by step and to not miss any of these.
Some common known problems causing this:
The Feed Import Owner wasn’t set
Feed wasn’t fully / correctly synced
Started a scan too early while the data rebuild in the database is still in progress (this might take quite some time)
This is not necessary. Create an (admin) user, set the user as Feed Import Owner, download the feed data (all of them!), start the service daemons and let ospd-openvas and gvmd finish loading the feed data. Loading the feed data really takes a while! I’ve written some hints for the container docs when the loading of each data type is finished at
Greenbone Community Containers 22.4 - Greenbone Community Documentation which is also valid for non-container setups.
You can try to run gvmd --rebuild-gvmd-data=all maybe there was a stuck while processing the sync.
@buda I researched a bit further and managed to fix it on my kali setup, using some of the suggestions in this post.
The problem seems to be that you can only change Feed Owner when you are running the gvmd commands as the _gvm user.
This is what I did:
sudo runuser -u _gvm -- gvmd --get-users --verbose (notice this should be two - characters between _gvm and gvmd, not a long dash). This should return the users (mine gave only admin), and their uid
sudo runuser -u _gvm -- gvmd --modify-s…
Hey! I tried to run the above command
sudo -u _gvm gvmd --rebuild-gvmd-data=all and got this error:
Failed to rebuild gvmd data: Feed owner not set or invalid while rebuilding configs.
I can’t find a good fix for this online. Lower in this post it mentions that’s one of the main issues but I can’t find a good way to fix it haha. Any help is appreciated!
@bricks if i don’t have below .xml file in my disk, what can i do? thanks.
Hi, please don’t re-use a four year old topic and instead create a new one.