Consultor Eletrônico



Kbase P56184: Database started from a user session shuts down when user logs off
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/08/2010
Status: Verified

SYMPTOM(s):

Database started from a user session shuts down when user logs off

Database shuts down abnormally when user logs off

Database log file mentions 9437 when the user logs off

CTRL_LOGOFF_EVENT console event received. (9437)

Begin ABNORMAL shutdown code 2 (2249)

FACT(s) (Environment):

Database is started from an interactive Windows session
Database is started using either proserve, _mprosrv or batch script
Progress 8.3E
Progress 9.x
OpenEdge 10.x
Windows
OpenEdge Category: Database

CAUSE:

This is expected behavior.
On Windows, user logout generates the system event CTRL_LOGOFF_EVENT. This event is sent to all processes started by this user account and instructs the processes to terminate.

FIX:

In order to avoid this behavior, configure the database to start via the AdminServer. Databases started via the AdminServer will ignore CTRL_LOGOFF_EVENT and stay running when the corresponding user accounts logs off from the system.