| From: | Serge Fonville <serge(dot)fonville(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: initdb failure on Windows XP |
| Date: | 2009-07-17 19:44:17 |
| Message-ID: | 680cbe0e0907171244v529efa1nc366bc4dbc153893@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> I am using PostgreSQL 8.3 on Windows XP SP2.
>
> I am getting this strange error while initdb:
>
> Part of the error message i get,
>
> The database cluster will be initialized with locale English_United
> States.1252.
>
> The default database encoding has accordingly been set to WIN1252.
> The default text search configuration will be set to "english".
>
> fixing permissions on existing directory C:/postgres/data ... ok
> creating subdirectories ... initdb: could not create directory
> "C:/postgres": File exists
> initdb: removing contents of data directory "C:/postgres/data"
>
> I have a directory structure as :
> C:\
> ->Postgres
> -->bin
> -->lib
> -->share
> Now i get this error, when i tried to do initdb setting my PGDATA to
> C:\postgres\data which is an empty directory and i am running it (initdb)
> as administrator user.
Could you post the exact steps, settings and output?
That makes it a lot easier to determine the exact issue.
Also, have you checked the event log?
Regards,
Serge Fonville
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Craig Ringer | 2009-07-17 19:45:00 | Re: memory leak occur when disconnect database |
| Previous Message | Sachin Srivastava | 2009-07-17 19:24:57 | Re: initdb failure on Windows XP |