minor
February 10, 2023, 5:34pm
1
Finally I’ve made it to almost working Greenbone on Debian (via manual), to a point:
No port lists available
No Scan Configs available
Tried following:
purged the content of /var/lib/gvm and resynced all - NVTs, SCAP, CERT, GVMD_DATA, no succeed
followed the troubleshooting in the manual:
$ 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
$ sudo -u gvm greenbone-feed-sync --type GVMD_DATA
succeeded
$ sudo -u gvm gvmd --rebuild-gvmd-data=all
Failed to rebuild gvmd data: Feed owner not set or invalid while rebuilding configs.
The same message appears in /var/log/gvm/gvmd.log
Any hints?
bricks
February 10, 2023, 5:48pm
2
Hi,
the error message suggest that the feed import owner is not set. See the bottom of the https://greenbone.github.io/docs/latest/22.4/source-build/troubleshooting.html#failed-to-find-config section to set the feed import owner.
2 Likes
minor
February 10, 2023, 6:02pm
3
It’s working. I had to split the command:
gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value `gvmd --get-users --verbose | grep admin | awk '{print $2}'
into two because the quotations of value parameter were causing issues (gvmd: g_option_context_parse: Missing argument for --value):
sudo -u gvm gvmd --get-users --verbose | grep admin | awk '{print $2}'
99d19126-0e8c-412d-b3f9-48c8ea0c648f
sudo -u gvm gvmd --modify-setting 78eceaec-3385-11ea-b237-28d24461215b --value 99d19126-0e8c-412d-b3f9-48c8ea0c648f
my fault, i haven’t understood the message properly previously. could save the post here. hope the others will take it.
3 Likes
Finally. This worked out for me. @bricks , could the docs be edited to split the command? It’s kind of confusing for beginners.
bricks
June 27, 2023, 4:51am
5
Could you please explain what’s confusing here? I don’t see an issue with the command.