GVM versions
gsa: Greenbone Security Assistant 9.0.0~git-c6b0b9ed3-gsa-9.0
gvm: Greenbone Vulnerability Manager 9.0.1~git-7518695a-gvmd-9.0
openvas-scanner: OpenVAS 7.0.0
gvm-libs: gvm-libs 11.0.1
ospd-openvas: OSP Server for openvas: 1.0.0 / OSP: 1.2 / OSPd: 2.0.0
Environment
Operating system: Ubuntu 18.0.14
Kernel: 4.15.0-91-generic x86_64
Installation method / source: Specific branches of the git repositories.
Redis is configured for the UNIX socket, and so the ospd-openvas
. When starting the ospd-openvas
, it complains about the redis ctx isnt provided. The NVT’s are successfully loaded and are correctly into redis. Resetting the nvt’s and restarting ospd-openvas
loads the NVT’s correctly, but after a few minutes the same error arises.
ospd-openvas -s /usr/local/etc/openvas/ospd.conf -f -L DEBUG
2020-03-25 15:00:20,980 OSPD - openvas: DEBUG: (ospd_openvas.daemon) Loading NVTs in Redis DB
Traceback (most recent call last):
File "/home/administrator/.local/bin/ospd-openvas", line 8, in <module>
sys.exit(main())
File "/home/administrator/.local/lib/python3.6/site-packages/ospd_openvas/daemon.py", line 1454, in main
daemon_main('OSPD - openvas', OSPDopenvas)
File "/home/administrator/.local/lib/python3.6/site-packages/ospd/main.py", line 159, in main
daemon.init()
File "/home/administrator/.local/lib/python3.6/site-packages/ospd_openvas/daemon.py", line 291, in init
self.openvas_db.set_redisctx(ctx)
File "/home/administrator/.local/lib/python3.6/site-packages/ospd_openvas/db.py", line 133, in set_redisctx
raise RequiredArgument('set_redisctx', 'ctx')
ospd.errors.RequiredArgument: set_redisctx: Argument ctx is required
2020-03-25 15:00:25,366 OSPD - openvas: DEBUG: (ospd.misc) Finishing daemon process
What could be the cause of this error?