Consultor Eletrônico



Kbase P125034: Rpserver.exe terminates when user logs off Windows server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/04/2008
Status: Verified

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000
Windows 64-bit

SYMPTOM(s):

Replication enabled source database started by AdminServer

Source stops replicating to target

Target database log file reports a TCP/IP communications error

Connection failure for host localhost port 2588 transport TCP. (9407)

A TCP/IP failure has occurred. The Agent's will enter PRE-TRANSITION, waiting for connection from the Replication Server. (11699)

Target database log file shows rpagent entering Pre-transition mode

dsrutil sourcdb -C monitor returns error

Cannot attach to replication shared memory, status=<num>

rpserver user disconnected as dead user by watchdog

Disconnecting dead user 10. (2527)

CAUSE:

User stopped and restarted the rpserver process after the database was started by the AdminServer. The Rpserver.exe terminates when user logs off system due to a received ctrl_logoff_event. This happens when a process is started by a user instead of a Windows Service. Processes owned/started by a Windows service are immune to ctrl_logoff_events.

FIX:

The quickest way to recover is to restart the rpserver process on the source database using the following command:
dsrutil sourcedb -C restart server
Please note that the rpserver agent, since started again via the command line is susceptible to the ctrl_logoff_event.
If you wish to make the rpserver process immune to a logoff event, stop and restart the source database via the AdminServer.
If the rpagent process has terminated on the target db, restart the target database first, then restart the source db or replication server.

As an alternate workaround please refer to P130259, "How to restart the replication server under the Local System Account"