Hello,
With new GVM 11 after sync of NVT’s everytime do we need restart any of the services or it will just sync to web portal by itself if any service not restarted?
GVM versions
gsa: (‘gsad --version’) = Greenbone Security Assistant 9.0.1
gvm: (‘gvmd --version’) = Greenbone Vulnerability Manager 9.0.1
openvas-scanner: (‘openvassd --version’) = OpenVAS 7.0.1
gvm-libs: = gvm-libs 11.0.1
Environment
Operating system: = Unbuntu 18 LTS
Kernel: (‘uname -a’) = 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Installation method / source: = VM Installation
cfi
July 23, 2020, 12:09pm
2
This will be done automatically by all services in GVM-11, no restart or similar required besides running the greenbone-*-sync scripts.
ok thanks, was confirming as everytime after sync if I restart gvmd service it breaks as scap data sync is going on
Can you tell exactly how much it will take after we run a nvt sync to reflect in web portal? As even after 6-8 hours after I ran the nvt,scap & cert sync it did not reflect in the web portal of openvas.
I have similar problem. My NVTs are:
Greenbone Community Feed
20200625T1021
Too old (28 days)
Please check the automatic synchronization of your system.
Synchronization is very fast (too fast for me):
gvm@gse:~$ time greenbone-nvt-sync
real 0m0.026s
user 0m0.022s
sys 0m0.005s
After that gvm is reloading NVTs…
gvm@gse:~$ ps -ef |grep gvm
gvm 8343 1 0 Jul23 ? 00:01:30 gvmd: Waiting for incoming connections
postgres 8366 6585 0 Jul23 ? 00:00:32 postgres: 11/main: gvm gvmd [local] idle
root 8503 8500 0 09:30 pts/0 00:00:00 su - gvm
gvm 8504 8503 0 09:30 pts/0 00:00:00 -bash
gvm 8568 8343 0 09:31 ? 00:00:00 gvmd: Reloading NVTs
gvm 8570 8568 0 09:31 ? 00:00:00 gvmd: OSP: Updating NVT cache
postgres 8573 6585 0 09:31 ? 00:00:00 postgres: 11/main: gvm gvmd [local] idle
gvm 8580 8504 0 09:31 pts/0 00:00:00 ps -ef
gvm 8581 8504 0 09:31 pts/0 00:00:00 grep gvm
And I still have obsoleted NVTs database.
I find the solution. I need to delete lock file in:
/opt/gvm/var/run/*.lock
BTW. Method of syncing has changed to RSYNC:
https://community.greenbone.net/t/shutting-down-gcf-http-download/5339