Re: initdb failing

Поиск
Список
Период
Сортировка
От Scott Mead
Тема Re: initdb failing
Дата
Msg-id d3ab2ec80910061254j34bcbdb8n5cef28dd0d88367b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: initdb failing  (Sachin Srivastava <sachin.srivastava@enterprisedb.com>)
Ответы Re: initdb failing  (Sachin Srivastava <sachin.srivastava@enterprisedb.com>)
Список pgsql-general

On Tue, Oct 6, 2009 at 3:09 PM, Sachin Srivastava <sachin.srivastava@enterprisedb.com> wrote:
On 10/06/2009 11:41 PM, Raymond O'Donnell wrote:
On 06/10/2009 19:00, Sachin Srivastava wrote:

 
fixing permissions on existing directory d:/base/netscope/pg/data ... ok
* creating subdirectories ... initdb: could not create directory
"d:/base/netscope/pg": File exists
*initdb: data directory "d:/base/netscope/pg/data" not removed at user's
request
   
Could it be that the "..../data" directory isn't empty? I think initdb
will fail if this is the case.
 
its empty or i say its newly created.

  Because you're using the -n flag, after you run initdb once, the directory is left there.  Delete the 'data' directory and try again.

--Scott

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

Предыдущее
От: pere roca
Дата:
Сообщение: interface for "non-SQL people"
Следующее
От: Oleg Bartunov
Дата:
Сообщение: contrib/plantuner - enable PostgreSQL planner hints