Re: Failed to run initdb: 128 - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Failed to run initdb: 128
Date
Msg-id 9837222c1003080236t2c27cb2fgd338f0e5ddb780a@mail.gmail.com
Whole thread Raw
In response to Re: Failed to run initdb: 128  (Richard Huxton <dev@archonet.com>)
List pgsql-general
2010/3/8 Richard Huxton <dev@archonet.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@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@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
haspermission 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/

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Failed to run initdb: 128
Next
From: Chris Roffler
Date:
Subject: Re: XML Index again