Hi,
I have installed DHIS2 lxc containers on my laptop, and Im having some problems to access postgres PSQL. Thaings were working well, but suddenly I starting getting the following error: psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
- The first time it worked
root@postgres:~# sudo -u postgres psql
psql (16.8 (Ubuntu 16.8-1.pgdg22.04+1))
Type “help” for help.
postgres=# \du
List of roles
Role name | Attributes
-----------±-----------------------------------------------------------
dhis |
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS
root | Superuser
-
Now Iam getting the error:
-
This is the postgresql configuration file
Looking forward to a solution
Thanks
2 posts - 2 participants