Gvm-portnames-update: «Rebuild DB before updating port names»

Hi there.

I’m stuck with the fresh install of GVM10. When I try to update port names it says:

gvm-portnames-update service-names-port-numbers.xml
/usr/local/var/lib/openvas/gvmd/gvmd.db not found. Rebuild DB before updating port names.

But there is gvmd.db in the other place:

find / -name gvmd.db

What should I do with that? Create symlink for gvm-portnames-update? Fix some config? If rebuilding DB is the way, as it asked, how can I do that?

You could subscribe to the following github report to get notified if a solution is provided in the future:

1 Like

Uhh… Still can’t figure out when it should be posted here or to GitHub. Thanks for pointing me out.

FYI – while waiting for the fix symlink trick seems to deal with that:

mkdir /usr/local/var/lib/openvas/gvmd/
ln -s /usr/local/var/lib/gvm/gvmd/gvmd.db /usr/local/var/lib/openvas/gvmd/gvmd.db
gvm-portnames-update service-names-port-numbers.xml
Updated 11514 entries.
1 Like