port_list faild '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'

Hi,

I have a new clean installation on debian by Building from Source:

Currently I receive the error when trying to scan a host:
Failed to find port_list '33d0cd82-57c6-11e1-8ed1-406186ea4fc5'

Logs:

tail -f /var/log/gvm/gvmd.log
md main:MESSAGE:2025-02-08 20h51.51 utc:3264: Greenbone Vulnerability Manager version 23.8.1 (DB revision 256)
md manage:MESSAGE:2025-02-08 20h51.57 utc:3264: Rebuilding configs from feed…
md main:WARNING:2025-02-08 20h51.57 utc:3264: Failed to rebuild gvmd data: No configs feed directory.
get_feed_info: Failed to read ‘/var/lib/gvm/data-objects/gvmd/22.04/feed.xml’: Failed to open file “/var/lib/gvm/data-objects/gvmd/22.04/feed.xml”: No such file or directory

Why does gvmd try to find the feed.xml in “gvmd/22.04/feed.xml”?
The feed is inside “gvmd/feed.xml”.

not available 	/var/lib/gvm/data-objects/gvmd/22.04/feed.xml
available		/var/lib/gvm/data-objects/gvmd/feed.xml

I also applied the steps in the troubleshooting

find /var/lib/gvm/data-objects/ -name “33d0cd82-57c6-11e1-8ed1-406186ea4fc5.xml”
sudo -u gvm greenbone-feed-sync --type GVMD_DATA
sudo -u gvm gvmd --rebuild-gvmd-data=all

See this post for some possible causes.

Hi,

currently the source build guide is in an intermediate state. The installed greenbone-feed-sync version doesn’t fit to the used gvmd version anymore. That’s due some chicken and egg issues and finding some problems with the docs while updating the source build guide to the latest components. Hopefully that will be fixed today.

Until the guide is updated, please run greenbone-feed-sync with the --feed-release 22.04 argument when using gvmd < 25.0.0 because the latest release of greenbone-feed-sync 25.1.0 will use a different feed version with an adjusted directory layout not fitting to your gvmd version. I added a disclaimer to the README of greenbone-feed-sync now.

4 Likes

I updated my last comment in regards of the CLI argument to use for an old feed release. The 25.1.0 release of greenbone-feed-sync renamed the --feed-version argument to --feed-release. The term feed version was used ambiguous and I hope the change improves the situation. Sorry for the inconvenience.

2 Likes