Consultor Eletrônico



Kbase P143479: SYSTEM ERROR: Memory violation (49) when enabling replication or running _dbutil
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/2/2011
Status: Verified

SYMPTOM(s):

SYSTEM ERROR: Memory violation (49) when enabling replication or running _dbutil

No RCB blob present in database

The RCB for this database cannot be opened. Error -159 occurred (11691)

stacktrace on Linux reads:
tmSlot() from _dbutil
tmdtask() from _dbutil
rmClearDbkey() from _dbutil

prostrct add throws SYSTEM ERROR: Memory violation (49)

FACT(s) (Environment):

adding a new database extent coredumps
re-enabling replication causes gpf
no invalid arguments in the startup.pf file
All Supported Operating Systems
OpenEdge 10.1C
OpenEdge 10.2x
All Supported Operating Systems

CHANGE:

executed "dsrutil db -C disablesitereplication" command online sometime in the past

CAUSE:

Bug# OE00182562

CAUSE:

After replication has been disabled online with dsrutil disablesitereplication, further use of _dbutil, rfutil or re-enabling replication results in a coredump

FIX:

Here is how to workaround the issue:
prostrct list dbname
rfutil dbname -C aimage end
run "prostrct remove dbname ai" till there is no AI extent
edit dbname.st file and *move*, ie cut and paste AI definitions to
"ai.st" file
delete dbname.db
prostrct builddb dbname
prostrct add dbname ai.st
rfutil dbname -C mark backedup
rfutil dbname -C aimage begin
proutil dbname -C enablesitereplication source
start db
take an online backup with -REPLTargetCreation and re-create a target database
Note: use "proutil db -C disablesitereplication", i.e. disable replication offline when required.