dbTalk Databases Forums  

Re: [BUGS] BUG #2118: could not connect to server [From zhuge xiao <zhuge@Rinaix.cn>]

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #2118: could not connect to server [From zhuge xiao <zhuge@Rinaix.cn>] in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gotomoon gotomoon
 
Posts: n/a

Default Re: [BUGS] BUG #2118: could not connect to server [From zhuge xiao <zhuge@Rinaix.cn>] - 12-27-2005 , 08:47 AM






Tom Lane,

I have read the email you mailed me yesterday. And I
have SELinux enabled in permissive mode and the
testlibpq program can run. I am very happy. In the
future, I will use the PostgreSQL and give up the
MySQL and other databases. I think the PostgreSQL is
better than the others.

Thank you very much.

zhuge xiao <zhuge (AT) Rinaix (DOT) cn>


Tom Lane wrote:


Quote:
"zhuge xiao" <zhuge (AT) Rinaix (DOT) 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






__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.