PDA

View Full Version : OPENVAS error



xerxes
2016-10-04, 07:00
Hi All,

After running openvas-start command, get following error:

Starting OpenVas Services
Job for openvas-scanner.service failed because the control process exited with error code.
See "systemctl status openvas-scanner.service" and "journalctl -xe" for details.

journalctl -xe:

L'unité (unit) openvas-scanner.service a échoué, avec le résultat failed.
: openvas-scanner.service: Unit entered failed state.
: openvas-scanner.service: Failed with result 'exit-code'.

systemctl status openvas-scanner.service:

: Starting Open Vulnerability Assessment System Scanner Daemon...
: openvas-scanner.service: Control process exited, code=exited status=1
: Failed to start Open Vulnerability Assessment System Scanner Daemon.
: openvas-scanner.service: Unit entered failed state.
: openvas-scanner.service: Failed with result 'exit-code'.



Thanks for your help,

grid
2016-10-04, 11:44
Is there anything helpful in /var/log/openvas? If not, I'd try removing & reinstalling OpenVAS, and see if that fixes the problem.

FYI, in the past, I've seen instances of OpenVAS failing due to an apt-get update && apt-get dist-upgrade.

xerxes
2016-10-04, 17:12
Is there anything helpful in /var/log/openvas? If not, I'd try removing & reinstalling OpenVAS, and see if that fixes the problem.

FYI, in the past, I've seen instances of OpenVAS failing due to an apt-get update && apt-get dist-upgrade.


Found nothing helpful in logs.
Exactly; the problem aroused after apt-get update,&dist-upgrade.Then what about next updates?!
By restoring my Kali image, problem solved.

Thanks,

grid
2016-10-05, 11:40
No problem :) For what it's worth, I'll sometimes postpone an apt-get dist-upgrade, and just do apt-get upgrade instead. This usually helps with Kali stability.