Re: Error: Could not change user id

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error: Could not change user id
Дата
Msg-id 1271.1148864373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error: Could not change user id  (Russell Davie <rjrd@exemail.com.au>)
Ответы Re: Error: Could not change user id  (Russell Davie <rjrd@exemail.com.au>)
Список pgsql-admin
Russell Davie <rjrd@exemail.com.au> writes:
> Manually starting postgresql by the user postgres:
> postgres@XXXX:/etc/init.d$ ./postgresql-7.4 start
> chmod: changing permissions of `/var/run/postgresql': Operation not permitted
>  * Starting PostgreSQL 7.4 database server:main
> Error: Could not change user id                  [fail]

There is no such error message anywhere in the PG 7.4 source code.
I suppose it's coming out of whatever init script you're using;
have you tried reading the init script for enlightenment?

(FWIW, init scripts are almost always designed to be executed as
root, not as random unprivileged users like postgres.  sudo might
help.)

            regards, tom lane

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

Предыдущее
От: Russell Davie
Дата:
Сообщение: Error: Could not change user id
Следующее
От: Russell Davie
Дата:
Сообщение: Re: Error: Could not change user id