Re: BUG #2118: could not connect to server - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2118: could not connect to server
Date
Msg-id 29387.1135092049@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2118: could not connect to server  ("zhuge xiao" <zhuge@Rinaix.cn>)
List pgsql-bugs
"zhuge xiao" <zhuge@Rinaix.cn> writes:
> could not connect to server: Permission denied
> Is the server running locally and accepting connections on Unix domain
> socket "/tmp/.s.PGSQL.5432"?

"Permission denied" indicates a file permissions problem.  Check the
permissions on /tmp and on the socket file itself.  If you have SELinux
enabled in enforcing mode, you might also have a SELinux policy problem
--- is your selinux-policy package up to date?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2119: FOREIGN KEY ON DELETE RESTRICT
Next
From: Martin Pitt
Date:
Subject: Re: horology regression test failure