Cannot login to Web UI on Debian 10

Greetings,

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?

1 Like

Thanks for your quick response.

Yes. The manager daemon (openvasmd) is running.

Any other things I can check?

Cheers.

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

1 Like

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=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>

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

Cheers.