Re: a question about postgresql server connection

From: Dongyan Song <yzhskdls(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: a question about postgresql server connection
Date: 2009-04-16 09:49:59
Message-ID: 23074712.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

Thank you for your suggestion, I set my listen_address = ' * ', and I want
to connect to local server.

After I modified listen_address from localhost to *, the error message left
to one line:
****************************************************************************************
FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied

But still, I cannot link to server.

Thank you again!

Best regards,
Dongyan

Tom Lane-2 wrote:
>
> Adrian Klaver <aklaver(at)comcast(dot)net> writes:
>> On Wednesday 15 April 2009 5:30:29 am SongDongyan wrote:
>>> FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission
>>> denied
>
>> First are you trying to connect to a local server or a remote server?
>> Second what is listen_addresses in postgresql.conf set to?
>
> The /tmp permissions problem is unrelated to listen_addresses ...
> need to fix that.
>
> regards, tom lane
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>

-----
Dongyan Song, Msc
Medical informatics, Uppsala University, Sweden
--
View this message in context: http://www.nabble.com/a-question-about-postgresql-server-connection-tp23059116p23074712.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-04-16 11:12:10 Re: PgAdmin & PosgreSQL Plus Setup
Previous Message Albe Laurenz 2009-04-16 09:22:46 Re: need information