Re: Failed to run initdb: 128

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: "Niranjan Maturi (nmaturi)" <nmaturi(at)cisco(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Failed to run initdb: 128
Date: 2010-03-08 10:36:08
Message-ID: 9837222c1003080236t2c27cb2fgd338f0e5ddb780a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/3/8 Richard Huxton <dev(at)archonet(dot)com>:
> On 05/03/10 20:05, Niranjan Maturi (nmaturi) wrote:
>>
>> Hi
>>
>> Thanks for the detailed explanation with the locales. I am trying to get
>> approvals to use a later version in 8.2. A colleague also suggested that
>> I install 8.3 version and uninstall it to clean up the machine. Then I
>> can install 8.2. I will try this as well.
>>
>> I am attaching the zipped version of the whole log file.
>
> OK - everything in there from [16:02:11:419] onwards (line 11630+) is just uninstalling.
>
> The last few actions appear to be:
> Action 16:01:37: DoCreateUser. Creating user account...
> Action 16:01:38: SetPermissions. Setting filesystem permissions...
>
> This one appears to fail:
> Action 16:01:39: RunInitdb. Initializing database cluster (this may take a minute or two)...
> MSI (s) (44:24) [16:01:39:449]: Executing op: CustomActionSchedule(Action=RunInitdb,ActionType=3073,Source=BinaryData,Target=RunInitdb(at)4,CustomActionData=1033;e:\pgsql\;e:\pgsql\data\;e:\pgsql\share\;1502;;C;SQL_ASCII;postgres;postgres;GEAMTEST6V;cupmuser;V%JG:<DBA&mYeVqyXIBLbU:WfaqfY_L;)
> MSI (s) (44:24) [16:01:39:465]: Creating MSIHANDLE (3) of type 790536 for thread 3620
> MSI (s) (44:20) [16:01:39:465]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI21.tmp, Entrypoint: RunInitdb(at)4
> MSI (s) (44!C0) [16:01:39:668]: Creating MSIHANDLE (4) of type 790531 for thread 448
> MSI (c) (C4:08) [16:01:39:668]: Note: 1: 2205 2:  3: Error
> MSI (c) (C4:08) [16:01:39:668]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2867
> DEBUG: Error 2867:  The error dialog property is not set
> The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2867. The arguments are: , ,
> MSI (c) (C4:08) [16:01:39:668]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
> ...
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2888. The arguments are: TextStyle, ,
> Failed to run initdb: 128!
> Please see the logfile in 'e:\pgsql\tmp\initdb.log'.
> ...
>
>
> It might be that the file permissions aren't actually working. If the "postgres" user still exists, can you check it has permission to write to "e:\pgsql\data" and also to acccess "e:\pgsql" and "e:\" too (doesn't need write access).

I wonder if it may have osmehting to do with a semicolon in the
password. IIRC we fixed that in the way that we reject semicolons, but
I don't recall which version we did that in.

So please give it a try without having a semicolon in the password.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Roffler 2010-03-08 10:39:43 Re: XML Index again
Previous Message Richard Huxton 2010-03-08 10:24:23 Re: Failed to run initdb: 128