OpenVAS – Status code: 503, Status message: Service temporarily down
来源:互联网 发布:淘宝店铺流量太少 编辑:程序博客网 时间:2024/06/05 02:03
If you try to start a task you’ll get:
Operation: Start TaskStatus code: 503Status message: Service temporarily down
In /var/lib/openvasmd.log you can find something like this:
lib serv:WARNING:2016-09-02 08h21.18 UTC:4546: Failed to shake hands with peer: The TLS connection was non-properly terminated.lib serv:WARNING:2016-09-02 08h21.18 UTC:4546: Failed to shutdown server socketevent task:MESSAGE:2016-09-02 08h21.18 UTC:4546: Task 256f8360-1ec7-4675-a6ab-415fd5fb9483 could not be started by admin
The fix is mentioned in a text document you can find here or just following the steps bellow:
- Stop scanner
systemctl stop openvas-scanner
- Stop manager
systemctl stop openvas-manager
- Make the certs with the command (pressing enter will fill in the defaults in the brackets):
openvas-mkcert -f
- Make the client certs with the command:
openvas-mkcert-client -i -n
- Get the scanner uid with the command (gives you an uid like “08b69003-5fc2-4037-a479-93b440211c73”):
openvasmd --get-scanners
- Update scanner and keys with the command (you will need to replace the uid in this command with the uid provided from the previous step):
openvasmd --modify-scanner "08b69003-5fc2-4037-a479-93b440211c73" --scanner-ca-pub /var/lib/openvas/CA/cacert.pem --scanner-key-pub /var/lib/openvas/CA/clientcert.pem --scanner-key-priv /var/lib/openvas/private/CA/clientkey.pem
For Debian it can be slightly different. Thanks mansuamen:
openvasmd –modify-scanner “08b69003-5fc2-4037-a479-93b440211c73” –scanner-ca-pub /usr/local/var/lib/openvas/CA/cacert.pem –scanner-key-pub /usr/local/var/lib/openvas/CA/clientcert.pem –scanner-key-priv /usr/local/var/lib/openvas/private/CA/clientkey.pem
- Sync the feeds using the command:
openvas-nvt-sync
- Start the scanner using the command:
systemctl start openvas-scanner
- Rebuild openvas databases using the command:
openvasmd --rebuild
- Start openvas manager using the command:
systemctl start openvas-manager
- Start Greenbone using the command:
systemctl start gsad
0 0
- OpenVAS – Status code: 503, Status message: Service temporarily down
- Status Code
- set window status message
- status
- status
- Status
- status
- status
- NT STATUS CODE
- Http status code
- HTTP Status Code
- 10 Status Code Definitions
- HTTP的STATUS CODE
- sip status code
- http status code 206
- Status Code Definitions
- Http Status Code Definitions
- HTTP status Code
- 一名普通程序员该如何转人工智能方向?
- Mybatis学习笔记
- python-numpy常见ndarray操作
- Dijkstra算法(单源最短路径) C++
- 深度| 百度副总裁王海峰:百度在NLP领域都做了什么?
- OpenVAS – Status code: 503, Status message: Service temporarily down
- IUnknown
- C++设计模式——单例模式
- CentOS 7 上systemctl 的用法 【转】
- L1-017. 到底有多二
- Ubuntu与CentOS的区别
- 为知一而学十,人生而孤独
- 数据库权限分配探讨
- 读《富爸爸穷爸爸》