Re: Problem installing Postgres 8.4.1

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Christine Penner <christine(at)ingenioussoftware(dot)com>
Cc: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>, Postgres-Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Problem installing Postgres 8.4.1
Date: 2009-09-22 18:56:58
Message-ID: 603c8f070909221156s56b58c09y1216f47da0d14506@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Sep 21, 2009 at 3:23 PM, Christine Penner
<christine(at)ingenioussoftware(dot)com> wrote:
> At 11:57 AM 21/09/2009, you wrote:
>>
>> What error you get when you run initdb?? (Also what exact command you
>> run?)
>
> The first time I just double clicked on the file initdb.exe. Just now I
> tried to run it through the command prompt and go this, this is the same
> stuff that was in the log file in the temp directory after I ran the
> installer:
>
> C:\Program Files\PostgreSQL\8.4\bin>initdb.exe -D C:\PostgreSQL\8.4\data
> The files belonging to this database system will be owned by user "User".
> This user must also own the server process.
>
> The database cluster will be initialized with locale English_Canada.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:/PostgreSQL/8.4/data ... ok
> creating subdirectories ... initdb: could not create directory
> "C:/PostgreSQL":
> File exists
> initdb: removing contents of data directory "C:/PostgreSQL/8.4/data"
>
> C:\Program Files\PostgreSQL\8.4\bin>
>
> I deleted the PostgreSQL Directory that was there (empty) and tried again
> and now it tells me that initdb.exe is not a valid win32 application

It sort of sounds like you must've removed some component that
initdb.exe needed....

but I'm not a Windows guy, so just speculating.

...Robert

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Euler Taveira de Oliveira 2009-09-23 01:39:49 Re: Requesting the Revision History
Previous Message Tom Lane 2009-09-22 15:47:39 Re: BUG #5072: User trying to drop an internally dependent object crashes server