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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Constantin Stefanov <cstef(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Changing line for user pgsql connecting via UNIX socket to "ident sameuser" causes pg_ctl start -s -w to fail.
Date: 2003-12-11 15:43:26
Message-ID: 13551.1071157406@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Constantin Stefanov <cstef(at)mail(dot)ru> writes:
> 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Rover 2003-12-11 16:05:19 Ever wonder what your Dog is saying?
Previous Message Michael Meskes 2003-12-11 15:09:50 Re: dyntest.pgc not working in 7.4 ?