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

  • What version of PostgreSQL? – Mike Sherrill 'Cat Recall' Apr 11 '14 at 11:11
  • @MikeSherril 9.3 – cooljohny Apr 11 '14 at 11:17
  • If you remove postgres-xc, does your original installation work? Also, did you use some non-default directory layout? – dezso Apr 11 '14 at 16:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy