dbTalk Databases Forums  

Re: [BUGS] Changing line for user pgsql connecting via UNIX socket to "ident sameuser" causes pg_ctl start -s -w to fail.

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


Discuss Re: [BUGS] Changing line for user pgsql connecting via UNIX socket to "ident sameuser" causes pg_ctl start -s -w to fail. in the mailing.database.pgsql-bugs forum.



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

Default Re: [BUGS] Changing line for user pgsql connecting via UNIX socket to "ident sameuser" causes pg_ctl start -s -w to fail. - 12-11-2003 , 09:46 AM






Constantin Stefanov <cstef (AT) mail (DOT) ru> writes:
Quote:
Then I change the line to
local all pgsql ident sameuser
and try to start server with
su -l pgsql -c "pgsql start -D /home/pgsql/data -s -w"
It does not start.
It starts fine, as the log shows. Try not using "-w" ... I suspect
there is something odd about the "su" environment that prevents pg_ctl
from connecting with IDENT authorization, so it fails to realize that
the postmaster has started.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


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.