From: zhuge xiao <xiao.zhuge@hhstech.cn>
To: tgl@sss.pgh.pa.us
To: evrim@commandprompt.com
To: pgsql-admin@postgresql.org
To: pgsql-bugs@postgresql.org
To: smarlowe@g2switchworks.com
Subject: Re: [BUGS] BUG #2118: could not connect to server
Date: Fri, 23 Dec 2005 15:25:16 +0800
Message-ID: <43ABA65C.1080101@hhstech.cn> (raw)
Tom Lane,
I have read the email you mailed me. 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@Rinaix.cn>
Tom Lane wrote:
>>"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
>>
>>
>>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: xiao.zhuge@hhstech.cn, tgl@sss.pgh.pa.us, evrim@commandprompt.com, pgsql-bugs@postgresql.org, smarlowe@g2switchworks.com
Subject: Re: [BUGS] BUG #2118: could not connect to server
In-Reply-To: <43ABA65C.1080101@hhstech.cn>
References: <43ABA65C.1080101@hhstech.cn>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox