我是靠谱客的博主 沉默世界,最近开发中收集的这篇文章主要介绍Job for openvas-manager.service failed because a timeout was exceeded.错误,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

使用如下命令
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.错误所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(59)

评论列表共有 0 条评论

立即
投稿
返回
顶部