Consultor Eletrônico



Kbase P130259: How to restart the Fathom replication server under the Local System Account
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/11/2008
Status: Verified

GOAL:

How to restart the replication server under the Local System Account

GOAL:

How to prevent the replication server terminating with CTRL_LOGOFF_EVENT when user logs off Windows server"

GOAL:

How to start a process as a windows service under the AdminServer?

GOAL:

How to manually start the replication server under the AdminServer

GOAL:

Rpserver shuts down due to CTRL_LOGOFF_EVENT

FACT(s) (Environment):

Windows
Fathom Management

FIX:

When the Fathom replication enabled source database is configured to run under the AdminServer, it is sometimes necessary to restart the replication server. For example, when the connection-timeout has expired and the source database continues running, but the replication server process has ended. If started from the cmd line, when the user session logs off, the rpserver.exe terminates with CTRL_LOGOFF_EVENT in the related lg file

The following is an example script which creates a temporary service, runs it and then deletes it.
In the database logfile the restart is performed by the user 'SYSTEM' and the replication server keeps running after the user logs out.

- replace the <db> with the database location
- use the full database path for <dbname>
- do not use the extension '.db' for the database.

sc create OE_restart_repl binpath= "<DLC/bin>\dsrutil.bat <path>\<dbname> -C restart server" type= own type= interact
sc start OE_restart_repl
sc delete OE_restart_repl

Alternatively execute the 'AT' function from the cmd line, the AT command launches the process as SYSTEM:

at hh:mm C:\Progress\OpenEdge101C\bin\dsrutil C:\projects\oereplplus\source\sports2000 -C restart server

Where hh:mm is a near time in the future.