In Kali Linux, when starting OpenVAS, I receive these messages. What is PID file /run/openvasmd.pid and why can’t it locate it?
Mar 13 15:46:07 kali systemd: Starting Open Vulnerability Assessment System Manager Daemon… Mar 13 15:46:07 kali systemd: openvas-manager.service: Can’t open PID file /run/openvasmd.pid (yet?) after start: No such file or directory Mar 13 15:46:08 kali systemd: Started Open Vulnerability Assessment System Manager Daemon.
Also, I guess related to this, when I start a scan, it stops at 1%
My OpenVAS version is 9.0.3kali1
Also even though the last message above says Daemon was started, I don’t see it when executing ps.
Thanks for the tip. The openvasmd.log file shows no errors.
However the gsad.log file shows these errors. (Not sure what “gsad” is) or how to correct these errors.
Any advice will be welcome.
gsad main:MESSAGE:2019-03-13 19h46.07 utc:15254: Starting GSAD version 7.0.3
gsad xslt:WARNING:2019-03-13 19h46.07 utc:15254: init_language_lists: Failed to open locale directory “/usr/share/openvas/gsa/locale”: No such file or directory
gsad main:MESSAGE:2019-03-13 19h47.24 utc:15254: Authentication success for ‘admin’ from 127.0.0.1
gsad main:WARNING:2019-03-13 19h49.49 UTC:15254: MHD: Failed to send data in request for /favicon.ico'. gsad main:WARNING:2019-03-13 20h05.31 UTC:15254: MHD: Failed to send data in request for/css/gsa-base.css’.
gsad main:WARNING:2019-03-13 20h05.31 UTC:15254: MHD: Failed to send data in request for /img/favicon.gif'. gsad main:WARNING:2019-03-13 20h07.00 UTC:15254: MHD: Failed to send data in request for/css/gsa-base.css’.
gsad main:MESSAGE:2019-03-13 20h07.02 UTC:15254: Authentication success for ‘admin’ from 127.0.0.1
gsad main:WARNING:2019-03-13 20h07.03 UTC:15254: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-03-13 20h07.05 UTC:15254: MHD: Failed to send data in request for `/img/style/menu_pointy.png’.
This message appears in the openvasmd.log file when attempting to run a scan.
md main:WARNING:2019-03-14 11h11.41 UTC:3460: openvas_scanner_read: Failed to read from scanner: Connection reset by peer
This happens when I get the 1% Stopped Message
This looks like the main issue and the “Can’t open PID file” is unrelated to the scans stopped at 1%. There is an existing thread about this message available which i’m linking below. For now i would like to close this thread as a duplicate, please follow up in this thread in the following thread if you have further questions: