Hi Thanks for the reply. Yes, I saw that "2769" is related to locales. On the machine, I saw a new locale called "C" is installed. I am not sure how it got installed. By default, this locale was getting selected. I did select "English - united states" and try to install. It also failed with the same error. We are using 8.2.4. There is a later version, but we tested our applciation thoroughly with 8.2.4 and so we currently bundle our applciation with this version only. Do you think uninstalling this locale would fix this issue? Niranjan -----Original Message----- From: Richard Huxton [mailto:dev@xxxxxxxxxxxx] Sent: Thursday, March 04, 2010 1:05 AM To: Niranjan Maturi (nmaturi) Cc: pgsql-general@xxxxxxxxxxxxxx Subject: Re: Failed to run initdb: 128 On 04/03/10 00:12, Niranjan Maturi (nmaturi) wrote: > Hi > > I am trying to install Postgres 8.2 on a virtual machine that has > Windown 2003 SP2. The installation fails with the error "Failed to run > initdb: 128". I searched the archives and looks like it is a catch-all > error. But is there anything specific that we can do to resolve this > issue? > > I am logged in as an administrator, so no problem with permissions. > Postgres was able to create the windows user account properly and after > that it fails with the above error. It tells us to copy a log file > initdb.log, but that file does not exist. It clearly didn't get that far in the process. > There is another log file pginstall.log, where I do see some error > messages, I printed them below. Any help is appreciated. Well, searching on error "2769" just seems to say a custom installer step failed. In this case clearly "GetAvailableLocales" - nothing unusual with your locale setup, is there? > MSI (c) (C4:64) [15:59:30:242]: Note: 1: 2769 2: GetAvailableLocales 3: > 1 > MSI (c) (C4:64) [15:59:30:242]: Note: 1: 2205 2: 3: Error > MSI (c) (C4:64) [15:59:30:242]: Note: 1: 2228 2: 3: Error 4: SELECT > `Message` FROM `Error` WHERE `Error` = 2769 > DEBUG: Error 2769: Custom Action GetAvailableLocales did not close 1 > MSIHANDLEs. > The installer has encountered an unexpected error installing this > package. This may indicate a problem with this package. The error code > is 2769. The arguments are: GetAvailableLocales, 1, > {1F701DBD-1660-4108-B10A-FB435EA63BF0} Version: 8.2.0 Attributes: 0 > PatchId: Native BaselineId: - This isn't version 8.2.0 you're installing, is it? Because 8.2.15 is the current release for that version. -- Richard Huxton Archonet Ltd -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general