Re: Window2012R2: initdb error: "The current directory is invalid."

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Window2012R2: initdb error: "The current directory is invalid."
Дата
Msg-id CAMsr+YHib0t-T7XkDWTGwCN8aJG0MqpqHOn3Cyfpfg0av__V5w@mail.gmail.com
обсуждение исходный текст
Ответ на Window2012R2: initdb error: "The current directory is invalid."  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
Список pgsql-hackers
On 19 January 2016 at 18:49, Huong Dangminh <huo-dangminh@ys.jp.nec.com> wrote:
Hi all,

I have failed in execute initdb in "c:\Windows\Temp\dir" folder as
reproduce logs below. The OS's messages "The current directory is invalid."
was returned.

Is that directory or any parent of it a junction point?



Also, why would you possibly run the installer from there? You should be using %TEMP% which should generally resolve to C:\Users\{Username}\AppData\Local\Temp or similar.
 
creating template1 database in c:/testdb/base/1 ... The current directory is invalid.

It looks like somehow the current working directory is unmapped or cannot be found.

Is there any chance you have mapped network drives in use?
 
--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Re: pglogical_output - a general purpose logical decoding output plugin
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2