Re: Failed to run initdb: 128

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Niranjan Maturi (nmaturi)" <nmaturi(at)cisco(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Failed to run initdb: 128
Date: 2010-03-08 10:24:23
Message-ID: 4B94D057.4020808@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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).

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2010-03-08 10:36:08 Re: Failed to run initdb: 128
Previous Message Alban Hertroys 2010-03-08 10:11:07 Fwd: postgresql 8.2 startup script