Re: BUG #4826: Cannot install Postgresql - Mailing list pgsql-bugs

From Craig Ringer
Subject Re: BUG #4826: Cannot install Postgresql
Date
Msg-id 4A1F2964.6070705@postnewspapers.com.au
Whole thread Raw
In response to BUG #4826: Cannot install Postgresql  ("Tobias Storm" <tobias_storm@ofir.dk>)
List pgsql-bugs
Tobias Storm wrote:
> The following bug has been logged online:
>
> Bug reference:      4826
> Logged by:          Tobias Storm
> Email address:      tobias_storm@ofir.dk
> PostgreSQL version: postgresql-8.3
> Operating system:   Windows XP Home Edition
> Description:        Cannot install Postgresql
> Details:
>
> When I am trying to install PostgreSQL I get an error message which say:
> (Due to this I am not able to install PostgreSQL)
>
> Failed to run initdb: 1!
> Please see the logfile in: C/Programmer/.......
>
> When I go to the logfile it says:
>
> The files belonging to this database system will be owned by user SYSTEM.
> This user must also own the server process.
>
> The database cluster will be initialized with locale Danish_Denmark.1252.
> The default text search configuration will be set to danish.
>
> creating directory CProgrammerPostgreSQL8.3data ... initdb could not create
> directory CProgrammerPostgreSQL File exists
>
>
> Can you tell me how I can solve this problem?

It sounds like you set the data directory to the same directory as the
PostgreSQL install directory. That won't work.

Specify a subdirectory of the install directory if you must have it in
there.

--
Craig Ringer

pgsql-bugs by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: BUG #4827: install
Next
From: "Gilvan Garcelan"
Date:
Subject: BUG #4830: operator does not exists