Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initdb fail error when installing win32 8.0 beta 4 on XP Pro

Status
Not open for further replies.

UltraSmooth

Programmer
Oct 28, 2002
97
CA
When trying to install postgresql win32 8.0 beta 4 on my XP Professional computer (with SP2) I get an error saying 'Failed to run initdb: 1!' and then the install rolls back the installation. Here's the output of the logfile:

---------Logfile--------------
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program Files/PostgreSQL/8.0.0-beta4/data ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok
creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... initdb: failed
initdb: removing contents of data directory "C:/Program Files/PostgreSQL/8.0.0-beta4/data"
------------------------------------

I have tried installing all over 8.0 beta versions as well as trying the install on a windows 2000 server (sp4).

I am initializing the install using the Administrator account and setup the service using the postgres account and have given full control priveleges to the Program Files and Windows folder. I have tried creating a folder on another drive for the data folder and selected this folder in the installer.

Anyone have any idea what's causing this or how I can get postegres installed?



 
I logged the msi installer and here's what it shows.

In one place I'm getting a lot of errors like this:

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, ,
Action ended 14:45:56: Welcome_Dialog. Return value 1.
Action start 14:45:56: Progress_Dialog.
DEBUG: Error 2826: Control wc_bmp on dialog Progress_Dialog extends beyond the boundaries of the dialog on the top by 20 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: Progress_Dialog, wc_bmp, on the top
DEBUG: Error 2826: Control wc_l1 on dialog Progress_Dialog extends beyond the boundaries of the dialog to the right by 4 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: Progress_Dialog, wc_l1, to the right
DEBUG: Error 2826: Control wc_l2 on dialog Progress_Dialog extends beyond the boundaries of the dialog to the right by 4 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: Progress_Dialog, wc_l2, to the right
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, ,
Action 14:45:56: Progress_Dialog. Dialog created
DEBUG: Error 2888: Executing the TextStyle view failed



And where the installer completely fails i'm getting this error:

Action 14:46:13: SetPermissions. Setting filesystem permissions...
Action 14:46:16: RunInitdb. Initializing database cluster (this may take a minute or two)...
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: , ,
Failed to run initdb: 1!
Please see the logfile in 'C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will be automatically removed.
MSI (s) (A4!A0) [14:46:25:312]: Product: PostgreSQL 8.0.0-beta4 -- Failed to run initdb: 1!
Please see the logfile in 'C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will be automatically removed.


This of any help?
 
I figured out my problem, it was because of encoding. I had my character encodings messed up under "Regional Settings
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top