Re: real and effective user ids must match

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: real and effective user ids must match
Дата
Msg-id 20060915004924.GA32408@winnie.fuhr.org
обсуждение исходный текст
Ответ на real and effective user ids must match  ("Liustech" <david.lao@sharpasia.com.mo>)
Ответы Re: real and effective user ids must match  (david.lao@sharpasia.com.mo)
Список pgsql-admin
On Thu, Sep 14, 2006 at 11:13:43PM +0800, david.lao@sharpasia.com.mo wrote:
> I starting my postgres with standard startup script /etc/rc.d/init.d/postgressql

I didn't notice anything wrong with the script you posted.  What
happens if you run the "su" command that starts the postmaster
directly from the command line?  That is, the "su" on line 151
(you'll have to set the PGDATA environment variable or replace it
with the path to your data directory):

su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start

What's the output of the following command?

ls -l /bin/sh /usr/bin/pg_ctl /usr/bin/postmaster /usr/bin/postgres

--
Michael Fuhr

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: psql command
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: real and effective user ids must match