Cannot login to Web UI on Debian 10



Sorry if this is the wrong category.

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>

Any ideas what might be causing this?


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?


Thanks for your quick response.

Yes. The manager daemon (openvasmd) is running.

Any other things I can check?



You could check the gsad and openvasmd error logs in /var/log for more details


Thanks again for your answer.

I solved it by changing the following line in /usr/lib/systemd/system/greenbone-security-assistant.service from
ExecStart=/usr/sbin/gsad --foreground --listen= --port=9392 --mlisten= --mport=9390
ExecStart=/usr/sbin/gsad --foreground --listen= --port=9392 --mlisten= --mport=9390 --allow-header-host=<IP of the machine>

Now I can access the UI on https[:]//IP:9392