Thread: [pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

[pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

From
"Scott Stillwell"
Date:
The following bug has been logged online:

Bug reference:      1355
Logged by:          Scott Stillwell
Email address:      sstillwell@kc.rr.com
PostgreSQL version: 8.0
Operating system:   Windows XP Pro SP2
Description:        8.0.0 rc2 installer fails
Details:

When installing PostgreSQL 8.0.0 rc2 on my computer (Windows XP
Professional, SP2 and all current patches), I accepted all defaults (with
the exception of assigning a password to the local Windows account and the
postgres password).  I get the following error near the end of the process:

Failed to run initdb: -1073741512!
Please see the logfile in 'C:\Program
Files\PostgreSQL\8.0.0-rc2\tmp\initdb.log'.
Note! You must read/copy this logfile before you click
OK, or it will be automatically removed.

While the dialog box is still displayed, I checked the initdb.log file.  It
is zero bytes with no contents.

After clicking OK, the installer rolls back, at which point I get another
dialog titled "Fatal Error" saying

Installation ended prematurely because of an error.

Re: [pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

From
"Scott Stillwell"
Date:
=20
Found the problem...it's been reported before.

http://archives.postgresql.org/pgsql-bugs/2004-11/msg00195.php

I was a bad boy and left off the part about the missing ordinal in
libeay32.dll...

Dunno if that's something that still needs to be fixed, but at least
I've got a workaround.

Scott

-----Original Message-----
From: Magnus Hagander [mailto:mha@sollentuna.net]=20
Sent: Thursday, December 23, 2004 3:00 AM
To: Scott Stillwell; pgsql-www@postgresql.org; pgsql-bugs@postgresql.org
Subject: RE: [pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

(um, why was this filed to -www? Copying over to -bugs where it should
be. Something wrong with the scripts, I assume)


> The following bug has been logged online:
>=20
> Bug reference:      1355
> Logged by:          Scott Stillwell
> Email address:      sstillwell@kc.rr.com
> PostgreSQL version: 8.0
> Operating system:   Windows XP Pro SP2
> Description:        8.0.0 rc2 installer fails
> Details:=20
>=20
> When installing PostgreSQL 8.0.0 rc2 on my computer (Windows XP=20
> Professional, SP2 and all current patches), I accepted all defaults=20
> (with the exception of assigning a password to the local Windows=20
> account and the postgres password).  I get the following error near=20
> the end of the process:
>=20
> Failed to run initdb: -1073741512!
> Please see the logfile in 'C:\Program
> Files\PostgreSQL\8.0.0-rc2\tmp\initdb.log'.
> Note! You must read/copy this logfile before you click OK, or it will=20
> be automatically removed.
>=20
> While the dialog box is still displayed, I checked the initdb.log=20
> file.  It is zero bytes with no contents.
>=20
> After clicking OK, the installer rolls back, at which point I get=20
> another dialog titled "Fatal Error" saying
>=20
> Installation ended prematurely because of an error.

Very interesting error :-) That means the initdb process exited with an
error code that certainly didn't come from initdb...

Have you installed any non-standard security products, or done any
lockdown from the standard level of the system? So that perhaps the
postgres account doesn't have access to required DLL files?

Also, when this happens, can you check the contents of
8.0.0-rc2\tmp\initdb.bat and see if the paths entered there are correct?

Finally, do you get anything in the windows event logs when this
happens?

//Magnus

Re: [pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

From
"Scott Stillwell"
Date:
I assume the script is broken..._I_ sure didn't send it to -www :)

No, no real lockdown except for the Windows Firewall that installs with
SP2, but it didn't complain or offer to block or unblock as usual.  The
postgres account that it created was granted the 'logon as a service'
right, but I haven't checked permissions...what directories would it
need access to beyond its own  tree?  Special permissions beyond "logon
as a service"?

I will retry the install and check the initdb.bat file for paths.

The Application event log contains two messages for each attempted
install.  The first error nearly mirrors the displayed error:

Product: PostgreSQL 8.0.0-rc2 -- Failed to run initdb: -1073741512!
Please see the logfile in 'C:\Program
Files\PostgreSQL\8.0.0-rc2\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will be
automatically removed.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

The second message is informational and is as follows:

Product: PostgreSQL 8.0.0-rc2 -- Installation failed.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

No further information is in the System or Security event logs.

Thanks for the reply...I'll forward more information as I acquire it.

Regards,

Scott Stillwell

-----Original Message-----
From: Magnus Hagander [mailto:mha@sollentuna.net]=20
Sent: Thursday, December 23, 2004 3:00 AM
To: Scott Stillwell; pgsql-www@postgresql.org; pgsql-bugs@postgresql.org
Subject: RE: [pgsql-www] BUG #1355: 8.0.0 rc2 installer fails

(um, why was this filed to -www? Copying over to -bugs where it should
be. Something wrong with the scripts, I assume)


> The following bug has been logged online:
>=20
> Bug reference:      1355
> Logged by:          Scott Stillwell
> Email address:      sstillwell@kc.rr.com
> PostgreSQL version: 8.0
> Operating system:   Windows XP Pro SP2
> Description:        8.0.0 rc2 installer fails
> Details:=20
>=20
> When installing PostgreSQL 8.0.0 rc2 on my computer (Windows XP=20
> Professional, SP2 and all current patches), I accepted all defaults=20
> (with the exception of assigning a password to the local Windows=20
> account and the postgres password).  I get the following error near=20
> the end of the process:
>=20
> Failed to run initdb: -1073741512!
> Please see the logfile in 'C:\Program
> Files\PostgreSQL\8.0.0-rc2\tmp\initdb.log'.
> Note! You must read/copy this logfile before you click OK, or it will=20
> be automatically removed.
>=20
> While the dialog box is still displayed, I checked the initdb.log=20
> file.  It is zero bytes with no contents.
>=20
> After clicking OK, the installer rolls back, at which point I get=20
> another dialog titled "Fatal Error" saying
>=20
> Installation ended prematurely because of an error.

Very interesting error :-) That means the initdb process exited with an
error code that certainly didn't come from initdb...

Have you installed any non-standard security products, or done any
lockdown from the standard level of the system? So that perhaps the
postgres account doesn't have access to required DLL files?

Also, when this happens, can you check the contents of
8.0.0-rc2\tmp\initdb.bat and see if the paths entered there are correct?

Finally, do you get anything in the windows event logs when this
happens?

//Magnus