Consultor Eletrônico



Kbase 19185: Error 5521 Starting Up an AppServer Instance
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/06/2005
Status: Unverified

FACT(s) (Environment):

Progress 8.x

SYMPTOM(s):

Could not create process for executable <image_name>: LAST_ERROR = <last_error>. (5521)

Could not create process for executable <image_name>: LAST_ERROR = 0. (5521)

Error occurring when the AppServer process is created.

CAUSE:

Progress raises Error code 0 if the signaling mechanism used by the server to notify the broker that it successfully started up has a problem during the creation of the server process. The 5521 error with a LAST_ERROR=0 happens if the server takes too long to notify the broker. The broker waits up to 3 minutes for the server to get started.

A delayed notification happens if you are overloading the system and running out of resources. Either the server process is hanging or it's just taking too long to notify the broker.

FIX:

Check the settings of the environment variables; PROAPBK and PROAPSV in particular.

For example:
setting PROAPSV=%DLC%/bin/proapsv.exe
instead of PROAPSV=%DLC%/bin/_proapsv.exe
has caused the 5521 error when the client is connecting to the AppServer.
The problem can be solved by setting the environment variable correctly.