Thread: Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

Hi. This is my first post to this list.  So please let me know if my question is in the wrong area.

I am trying to install version 8.3.0.1 on an old windows 2000 box I inherited.   Firewall s/w is installed but disabled.  I am logged in as a user with Administrative rights.  When the installing gets to the step "Starting Services".  It halts with the error

ERROR:
"The application failed to initialize properly (0xc0000022). Click on OK to terminate the application."

LOG SNIPPET:
==========================================
StartServices: Service: PostgreSQL Database Server 8.3
MSI (c) (04:00) [22:12:14:687]: Note: 1: 2205 2:  3: Error
MSI (c) (04:00) [22:12:14:687]: 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, ,
Action 22:13:06: Cancel. Dialog created
==========================================

It is an old box with lots of programs installed.  So it may well be a configuration problem.  Anyone have any suggestions how I might go about diagnosing the problem?   Btw, I am not a w2k admin, but if you need more information, please let me know.  Any suggestions would be appreciated!




Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Anyone have any suggestions? 

I have tried different versions and everything I can think of but have run out of ideas.  It is frustrating.  I really would like to use postgresql.. if I could only get it to install! ;-)

Dee <devlists.email@yahoo.com> wrote:

I am trying to install version 8.3.0.1 on an old windows 2000 box I inherited.   Firewall s/w is installed but disabled.  I am logged in as a user with Administrative rights.  When the installing gets to the step "Starting Services".  It halts with the error

ERROR:
"The application failed to initialize properly (0xc0000022). Click on OK to terminate the application."
....


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
I did not follow the past threads, but have you looked at what the event viewer has to report?


From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Dee
Sent: Thursday, February 21, 2008 8:36 PM
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

Anyone have any suggestions? 

I have tried different versions and everything I can think of but have run out of ideas.  It is frustrating.  I really would like to use postgresql.. if I could only get it to install! ;-)

Dee <devlists.email@yahoo.com> wrote:

I am trying to install version 8.3.0.1 on an old windows 2000 box I inherited.   Firewall s/w is installed but disabled.  I am logged in as a user with Administrative rights.  When the installing gets to the step "Starting Services".  It halts with the error

ERROR:
"The application failed to initialize properly (0xc0000022). Click on OK to terminate the application."
....


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Thanks for the response.  I checked the event viewer. The main error it reports is:

Event Type:    Error
Event Source:    Service Control Manager
Event Category:    None
Event ID:    7005
Date:        2/21/2008
Time:        3:20:25 PM
User:        N/A
Computer:    DEV
Description:
The LoadUserProfile call failed with the following error:
Access is denied. 

Unfortunately, I am not familiar with that error.  But at least now I have some more information to work with.

Gevik Babakhani <pgdev@xs4all.nl> wrote:
I did not follow the past threads, but have you looked at what the event viewer has to report?


From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Dee
Sent: Thursday, February 21, 2008 8:36 PM
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

Anyone have any suggestions? 

I have tried different versions and everything I can think of but have run out of ideas.  It is frustrating.  I really would like to use postgresql.. if I could only get it to install! ;-)

Dee <devlists.email@yahoo.com> wrote:

I am trying to install version 8.3.0.1 on an old windows 2000 box I inherited.   Firewall s/w is installed but disabled.  I am logged in as a user with Administrative rights.  When the installing gets to the step "Starting Services".  It halts with the error

ERROR:
"The application failed to initialize properly (0xc0000022). Click on OK to terminate the application."
....

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.


Never miss a thing. Make Yahoo your homepage.
FOLLOW UP FOR THE ARCHIVES:
Thanks to some assistance from another forum, I was finally able to install version 8.2, using the filemon.exe utitlity to track down file permission problems. Version 8.3 never did install.  Here are the changes I made. Disclaimer, I tried a lot of different things, so it may not be everything.

Installers:
Success with installers: 8.1.11-1, 8.2.5-1 and 8.2.6-2

1. Created windows user name: postgres

2. Under Local security policy > granted user rights assignment:
- Log on as service
- Log on locally


3. Granted "postgres" account
- Read & Execute permission
- Read permission

On the following files:
=======================================
C:\WINNT\system32\cmd.exe
C:\WINNT\system32\WSOCK32.dll
C:\WINNT\system32\WS2_32.DLL
C:\WINNT\system32\WS2HELP.DLL
C:\WINNT\system32\SHFOLDER.DLL
C:\WINNT\system32\IMM32.DLL
C:\WINNT\System32\rnr20.dll
C:\WINNT\system32\DNSAPI.DLL
C:\WINNT\System32\winrnr.dll
C:\WINNT\system32\iphlpapi.dll
C:\WINNT\system32\rasadhlp.dll
C:\WINNT\system32\msafd.dll
C:\WINNT\system32\ICMP.dll
C:\WINNT\system32\RTUTILS.DLL
C:\WINNT\System32\wshtcpip.dll
C:\WINNT\system32\netmsg.dll


4. Granted "postgres" account
- Read & Execute permission
- List Folder Contents
- Read permission

On the following folders:
=======================================
C:\Documents and Settings\

Note: 8.3.0-1 never would install. Whenever I tried to use an existing windows account, the installer returns the error "
Invalid username specified: A required privilege is not held by the client"


Dee <devlists.email@yahoo.com> wrote:
Anyone have any suggestions? 

I have tried different versions and everything I can think of but have run out of ideas.  It is frustrating.  I really would like to use postgresql.. if I could only get it to install! ;-)


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.