PDA

View Full Version : install error



majestkmoose
10-02-2008, 11:59 AM
hello,

I am having lots of trouble getting postgresql to install on my computer. I spent most of yesterday trying everything people recommended and cant seem to get anything to work. I am running xp on my laptop.

I get the error message:

Failed to run initdb: 1!

Thanks for any help you might be able to offer.

here is the log file around the errors:
InstallFiles: File: zlib1.dll, Directory: C:\Program Files\PostgreSQL\8.3\bin\, Size: 59904
MSI (s) (78:58) [18:35:58:647]: Note: 1: 2318 2: C:\Program Files\PostgreSQL\8.3\bin\zlib1.dll
MSI (s) (78:58) [18:35:58:647]: Note: 1: 2360
MSI (s) (78:58) [18:35:58:647]: Note: 1: 2360
MSI (s) (78:58) [18:35:58:647]: Executing op: CacheSizeFlush(,)
MSI (s) (78:58) [18:35:58:647]: Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (78:58) [18:35:58:647]: Executing op: ActionStart(Name=RunInitdb,Description=Initializin g database cluster (this may take a minute or two)...,)
Action 18:35:58: RunInitdb. Initializing database cluster (this may take a minute or two)...
MSI (s) (78:58) [18:35:58:657]: Executing op: CustomActionSchedule(Action=RunInitdb,ActionType=3 073,Source=BinaryData,Target=_RunInitdb@4,CustomAc tionData=1033;C:\Program Files\PostgreSQL\8.3\;C:\Program Files\PostgreSQL\8.3\data\;C:\Program Files\PostgreSQL\8.3\share\;5432;;English_United States;WIN1252;postgres;postgrespass;DDMD5951;post gres;postgrespass;;)
MSI (s) (78:0C) [18:35:58:657]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI147.tmp, Entrypoint: _RunInitdb@4
MSI (c) (00:E0) [18:36:08:331]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:08:331]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2835
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDlg
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDlg,
MSI (c) (00:E0) [18:36:14:309]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:14:309]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (c) (00:E0) [18:36:14:429]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:14:429]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (c) (00:E0) [18:36:14:439]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:14:439]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (c) (00:E0) [18:36:14:449]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:14:449]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (c) (00:E0) [18:36:14:459]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [18:36:14:459]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (c) (00:E0) [20:24:56:908]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [20:24:56:908]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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: 1!
Please see the logfile in 'C:\Program Files\PostgreSQL\8.3\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will be automatically removed.
MSI (c) (00:E0) [20:24:58:561]: Note: 1: 2205 2: 3: Error
MSI (c) (00:E0) [20:24:58:561]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2888
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, ,
MSI (s) (78!E4) [20:24:58:561]: Note: 1: 2205 2: 3: Error
MSI (s) (78!E4) [20:24:58:561]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (78!E4) [20:24:58:611]: Product: PostgreSQL 8.3 -- Failed to run initdb: 1!
Please see the logfile in 'C:\Program Files\PostgreSQL\8.3\tmp\initdb.log'.
Note! You must read/copy this logfile before you click OK, or it will be automatically removed.

Action ended 20:24:58: InstallFinalize. Return value 3.
MSI (s) (78:58) [20:24:58:631]: User policy value 'DisableRollback' is 0
MSI (s) (78:58) [20:24:58:631]: Machine policy value 'DisableRollback' is 0
MSI (s) (78:58) [20:24:58:681]: Executing op: Header(Signature=1397708873,Version=301,Timestamp= 960599157,LangId=1033,Platform=0,ScriptType=2,Scri ptMajorVersion=21,ScriptMinorVersion=4,ScriptAttri butes=1)
MSI (s) (78:58) [20:24:58:681]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (78:58) [20:24:58:691]: Executing op: DialogInfo(Type=1,Argument=PostgreSQL 8.3)
MSI (s) (78:58) [20:24:58:691]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDesc ription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription= Removing backup files,CleanupTemplate=File: [1])
Action 20:24:58: Rollback. Rolling back action:

morny
10-02-2008, 01:20 PM
Try uninstalling and trying an older version and see if the error still appears. I presume this happens during installation?

majestkmoose
10-02-2008, 02:36 PM
yes this problem occurs during the install. It causes the installation to fail. I am going to try an older version right now. Ill update in a few minutes. thx

majestkmoose
10-02-2008, 02:59 PM
Ok i tried installing version 8.1 and get a new error. It says that the installer failed to set permissions on the installed files.

I am on an admin account as i am trying to do this. Any other advice? i am going to keep trying some of these older versions


thanks again

majestkmoose
10-02-2008, 10:04 PM
The older versions dont seem to be working either. I get similar errors. I did get an error with one of the old versions that said there was an error in permissions. I tried to fix the permissions but it still didnt work. Any way to check if i did it right? Or an other suggestions?

morny
10-03-2008, 10:06 AM
Taken from that error you posted:


Please see the logfile in 'C:\Program Files\PostgreSQL\8.3\tmp\initdb.log'.

can you attach that file, BTW are you using VISTA if so please disable UAC http://208.109.95.123/faq/afmviewfaq.aspx?faqid=73

Also please try this to rule out firewalls/antiviruses causing the problems. Uninstall firewall/antivirus programs completely then uninstall PostgreSQL and delete the PostgreSQL folder from C:\Windows (back it up first if youve a previous database) then reboot your PC and reinstall PostgreSQL and then you can reinstall your antivirus/firewall when you get PostgreSQL fully installed