My problem is after postgresql installed try to configure postgresql database it's show error message like below:
dineshlap@ss-laptop:~$ sudo -u postgres psql postgres
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"?
and i tried lot of solutions from internet. but, nothing worked for me! :(
if you know the solution for this problem please, answer this post!
Note : I'm using ubuntu 14.04 (64 bit) and postgresql 9.3
pg_hba.conf
file. I had removed the CIDR block info from the bindings section.