Search Postgresql Archives

Re: a question about postgresql server connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thank you for all suggestions, I fixed this problem by change the owner of
/tmp/.s.PGSQL.5432.lock file.

# chown postgres /tmp/.s.PGSQL.5432.lock

and it is done.

Best wishes,
Dongyan


Adrian Klaver wrote:
> 
> On Thursday 16 April 2009 2:04:19 am SongDongyan wrote:
>> 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
>>
> 
> Per Toms suggestion, you need to look at the permissions on the /tmp
> directory 
> to see why Postgres cannot open a lock file there.
> 
> 
> -- 
> Adrian Klaver
> aklaver@xxxxxxxxxxx
> 
> -- 
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> 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-tp23059116p23081602.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux