I installed OpenVAS on a Debian 10 machine. I can run scans from the command line. However, when I try to login to the Web UI I get this error message: Login failed. Waiting for OMP service to become available.
In gsad.log I can find these 2 log lines every time I try to login: Failed to connect to server: No such file or directory Authentication failure for '<username>' from <IP>
This error indicates that gsad can’t connect to openvasmd/gvmd via unix socket because the unix domain socket isn’t available at the expected location. Did you check if the manager daemon is running at all?
I solved it by changing the following line in /usr/lib/systemd/system/greenbone-security-assistant.service from ExecStart=/usr/sbin/gsad --foreground --listen=127.0.0.1 --port=9392 --mlisten=127.0.0.1 --mport=9390
to ExecStart=/usr/sbin/gsad --foreground --listen=0.0.0.0 --port=9392 --mlisten=127.0.0.1 --mport=9390 --allow-header-host=<IP of the machine>