概述
使用如下命令
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 日 2018-02-11
19:15:48 CST; 3min 29s ago
Docs: man:openvasmd(8)
http://www.openvas.org/ Process: 3073 ExecStart=/usr/sbin/openvasmd –listen=127.0.0.1 –port=9390
–database=/var/lib/openvas/mgr/tasks.db (code=exited, s Main PID: 2025 (code=killed, signal=TERM)2月 11 19:14:18 kali systemd[1]: Starting Open Vulnerability Assessment
System Manager Daemon… 2月 11 19:14:22 kali systemd[1]:
openvas-manager.service: PID file /var/run/openvasmd.pid not readable
(yet?) after start: No such fil 2月 11 19:15:48 kali systemd[1]:
openvas-manager.service: Start operation timed out. Terminating. 2月 11
19:15:48 kali systemd[1]: openvas-manager.service: Killing process
3074 (openvasmd) with signal SIGKILL. 2月 11 19:15:48 kali systemd[1]:
Failed to start Open Vulnerability Assessment System Manager Daemon.
2月 11 19:15:48 kali systemd[1]: openvas-manager.service: Unit entered
failed state. 2月 11 19:15:48 kali systemd[1]: openvas-manager.service:
Failed with result ‘timeout’.
可以看到
PID file /var/run/openvasmd.pid not readable (yet?) after start: No such file
所以在该目录下新建一个openvasmd.pid文件 赋予777的权限即可。
然后重启openvas就可以了
openvas-start
最后
以上就是沉默世界为你收集整理的Job for openvas-manager.service failed because a timeout was exceeded.错误的全部内容,希望文章能够帮你解决Job for openvas-manager.service failed because a timeout was exceeded.错误所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复