On Mon, Sep 21, 2009 at 3:23 PM, Christine Penner <[email protected]> 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 -- Sent via pgsql-bugs mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
