Hi,
I installed OpenVAS 9 as vulnerability scanner in a virtual machine running
Kali.
When I try to start openvas (through "openvas-start" command) after
rebooting the virtual machine, I receive the following message:
"Job for openvas-manager.service failed because a timeout was exceeded.
See "systemctl status openvas-manager.service" and "journalctl -xe" for
details."
# systemctl status openvas-manager.service
● openvas-manager.service - Open Vulnerability Assessment System Manager
Daemon
Loaded: loaded (/lib/systemd/system/openvas-manager.service; disabled;
vendor preset: disabled)
Active: failed (Result: timeout) since Sun 2017-12-24 17:23:11 CET; 1min
13s ago
Docs: man:openvasmd(8)
http://www.openvas.org/
Process: 1411 ExecStart=/usr/sbin/openvasmd --listen=127.0.0.1
--port=9390 --database=/var/lib/openvas/mgr/tasks.db (code=exited,
status=0/SUCCESS)
Dec 24 17:21:41 Kali systemd[1]: Starting Open Vulnerability Assessment
System Manager Daemon...
Dec 24 17:21:42 Kali systemd[1]: openvas-manager.service: PID file
/var/run/openvasmd.pid not readable (yet?) after start: No such file or
directory
Dec 24 17:23:11 Kali systemd[1]: openvas-manager.service: Start operation
timed out. Terminating.
Dec 24 17:23:11 Kali systemd[1]: openvas-manager.service: Killing process
1444 (openvasmd) with signal SIGKILL.
Dec 24 17:23:11 Kali systemd[1]: openvas-manager.service: Failed with
result 'timeout'.
Dec 24 17:23:11 Kali systemd[1]: Failed to start Open Vulnerability
Assessment System Manager Daemon.
If I run the following commands (in sequence) after rebooting the virtual
machine:
# openvassd
# openvasmd --rebuild --progress
then "openvas-start" can be executed without any problem.
The same thing happens if I run "openvas-check-setup" after rebooting the
virtual machine; it takes a while (just a minute) to complete but there are
no errors when "openvas-start" is invoked and I can access the OpenVAS web
interface.
Do I need to rebuild the NVT cache every time I reboot the virtual machine?
Thanks in advance,
Luca
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss