ERROR /usr/bin/greenbone-nvt-sync: 517: cannot create /var/lib/openvas/feed-update.lock: Permission denied when i run gvm-setup

ERREUR: la relation « settings » n’existe pas
LIGNE 1 : SELECT value FROM settings WHERE uuid = '78eceaec-3385-11ea-…
^
[*] Define Feed Import Owner

(gvmd:2787): md main-CRITICAL **: 23:51:19.611: gvmd: g_option_context_parse: Missing argument for --value
[>] Updating OpenVAS feeds
[] Updating: NVT
/usr/bin/greenbone-nvt-sync: 517: cannot create /var/lib/openvas/feed-update.lock: Permission denied
[>] Uploading plugins in Redis
[
] Updating: GVMD Data

All transactions are logged.

If you have any questions, please use the Greenbone community portal.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 115 bytes 35.11 bytes/sec
total size is 13 speedup is 0.08
/usr/sbin/greenbone-feed-sync: 606: cannot create /var/lib/openvas/feed-update.lock: Permission denied
[*] Updating: Scap Data

All transactions are logged.

If you have any questions, please use the Greenbone community portal.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 115 bytes 35.11 bytes/sec
total size is 13 speedup is 0.08
/usr/sbin/greenbone-feed-sync: 606: cannot create /var/lib/openvas/feed-update.lock: Permission denied
[*] Updating: Cert Data

All transactions are logged.

If you have any questions, please use the Greenbone community portal.
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 115 bytes 35.11 bytes/sec
total size is 13 speedup is 0.08
/usr/sbin/greenbone-feed-sync: 606: cannot create /var/lib/openvas/feed-update.lock: Permission denied
[] Checking Default scanner
[
] Modifying Default Scanner

Hi!
Sameone can help me to fix this issue, i have try whit chmod, chown for to give same permission but nothing work.
thank

Welcome to our Community,

It seems you are not using the Greenbone Platform Services, and a uncoordinated integration.
So i moved the category. Please check our FAQ for further help first.

1 Like

It seems you database setup is broken. At best you can run the Kali tool gvm-setup to fix this situation. Otherwise please open a bug ticket for the Kali maintainers at their web site.

1 Like