Re: initdb failing
От | Sachin Srivastava |
---|---|
Тема | Re: initdb failing |
Дата | |
Msg-id | 4ACBA453.1080504@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: initdb failing (Scott Mead <scott.lists@enterprisedb.com>) |
Список | pgsql-general |
On 10/07/2009 01:24 AM, Scott Mead wrote:
Actually i put the -n and -d flags just to get more information about what all has been created but they remain empty. Nevertheless tried removing the old data directory and without -n option still got the same output.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:its empty or i say its newly created.On 06/10/2009 19:00, Sachin Srivastava wrote:
fixing permissions on existing directory d:/base/netscope/pg/data ... okCould it be that the "..../data" directory isn't empty? I think initdb
* 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
will fail if this is the case.
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
-- Regards, Sachin Srivastava www.enterprisedb.com
В списке pgsql-general по дате отправления: