Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?
If you get the above error, please follow the below steps. Above error states that postgres is not running. Running pg_lsclusters will list all the postgres clusters running on your device. 2. Most probably the status will be down if we get the above error . Try restarting Postgres clusters and servicesystemctl… Continue Reading Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?