After some time the Postgres database stopped working. when I try to enter the command, psql produces an error psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432″? If I do sudo su …

Ubuntu VPS Hosting via Is the server running locally and accepting connections on Unix domain socket.