Installations Issuses

I had this problem
Please check permissions of log files listed in /etc/openvas/openvas_log.conf.

I fixed it with the solution from this topic Cant start openvas - #2 by bricks

by giving

sudo chmod 666 /var/log/gvm/openvas.log

I gave
sudo -u postgres psql -c “ALTER ROLE gvm SUPERUSER;”
sudo -u postgres psql gvmd -c “GRANT ALL ON SCHEMA public TO gvm;”
sudo -u postgres psql gvmd -c “GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gvm;”

and I got the output
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?

How can I continue?

Hi,

Is your database running ?
Is the socked correct ?