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

problem is Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5' when i run scanner
tried following things:
1.https://forum.greenbone.net/t/failed-to-rebuild-gvmd-data/14038
2.https://greenbone.github.io/docs/latest/22.4/source-build/troubleshooting.html#failed-to-find-config
but didnt work

when i run sudo -u _gvm gvmd --rebuild-gvmd-data=all
I got error:
Failed to rebuild gvmd data: Feed locked.

This means there is another process running which accesses the feed. This can be either gvmd loading feed data currently already or greenbone-feed-sync downloading the feed data from the server. I would bet for the first. Check the gvmd logs if it is loading the feed data currently and if all data has loaded successfully. The log messages to keep an eye on are listed at https://greenbone.github.io/docs/latest/22.4/source-build/index.html#performing-a-feed-synchronization

2 Likes
event wizard:MESSAGE:2024-02-26 18h19.26 UTC:4881: Wizard quick_first_scan could not be run by al0ne

when i click “start scan” button i got that log

This is just a symptom of the issue not the issue itself.

First of all did you check if port list has been downloaded from the feed

find /var/lib/gvm/data-objects/ -name "*33d0cd82-57c6-11e1-8ed1-406186ea4fc5*.xml"

Afterwards the /var/log/gvm/gvmd.log should contain the following line (the user can be different of course)

Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin

Next step is to check /var/log/gvm/gvmd.log for errors.

Additionally you can try to shut down gvmd via

systemctl stop gvmd.service

and wait some time until ps aux | grep gvmd doesn’t show any running gvmd process.

When gvmd is not running anymore

sudo -u _gvm gvmd --rebuild-gvmd-data=all

should work without an issue. Otherwise if you still get the Failed to rebuild gvmd data: Feed locked. message, try deleting the lock file

sudo rm /var/lib/gvm/feed-update.lock

and re-run

sudo -u _gvm gvmd --rebuild-gvmd-data=all
1 Like

find /var/lib/gvm/data-objects/ -name "*33d0cd82-57c6-11e1-8ed1-406186ea4fc5*.xml"

/var/lib/gvm/data-objects/gvmd/22.04/port-lists/all-iana-assigned-tcp-33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml

Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin
not have it

sudo -u _gvm gvmd --rebuild-gvmd-data=all
worked but nothing have output and in gvmd.log

Hi I’m having the same problem using the docker version. Can anyone help?

Ref:
root@db1727c8189b:/# find /var/lib/gvm/data-objects/ -name “33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml”
/var/lib/gvm/data-objects/gvmd/22.04/port-lists/all-iana-assigned-tcp-33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml
/var/lib/gvm/data-objects/gvmd/20.08/port-lists/all-iana-assigned-tcp-33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml
/var/lib/gvm/data-objects/gvmd/21.04/port-lists/all-iana-assigned-tcp-33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml
root@db1727c8189b:/#

First, you can try using the appropriate feed-sync command as specified in the official Greenbone Docker Containers Workflow. You can check the web-interface (GSA) feed-status page to check whether the feeds have finished synchronization. If that does not work for you, please re-post your issue in the appropriate forum category. Thanks kindly :slight_smile:

1 Like

Did the re-post of my problem in:

and

Thnak you!