getcwd failing suddenly

Поиск
Список
Период
Сортировка
От D'Arcy" "J.M." Cain
Тема getcwd failing suddenly
Дата
Msg-id m103gbL-0000bnC@druid.net
обсуждение исходный текст
Ответы Re: [HACKERS] getcwd failing suddenly  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Recently I have started seeing this error when starting the server.

shell-init: could not get current directory: getcwd: cannot access parent directories

Here is the command I use to start PostgreSQL.

su postgres -c "/usr/local/pgsql/bin/postmaster -S -D /usr/local/pgsql/data"

Did something change recently to cause this?  I find I can get around it
by changing the command to the following.

su postgres -c "cd /usr/local/pgsql; /usr/local/pgsql/bin/postmaster -S -D /usr/local/pgsql/data"

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.


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

Предыдущее
От: Oleg Broytmann
Дата:
Сообщение: Re: [HACKERS] GROUP BY / ORDER BY string is very slow
Следующее
От: Oleg Broytmann
Дата:
Сообщение: SET encoding