My Postgres was working fine on my ubuntu 12.10 before i installed postgres-xc and execute a command initdb for changing encoding. After that it started showing error like:
psql: could not connect to server: Too many levels of symbolic links
Is the server running locally and acceptingconnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I have tried most of the the things I found on internet but nothing worked for me