Consultor Eletrônico



Kbase P34068: Database fails to start with error (49) and (801) after an Operating System crash.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/11/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

SYSTEM ERROR: Memory violation. (49)

The server terminated due to signal <number>. (801)

The server terminated due to signal 3. (801)

PROGRESS stack trace from _progres reads:

shmVerifySegment
shmattsegs
shmAttach
dbenv

CAUSE:

The protrace file shows that the database failed when calling our shmVerifySegment function. This function is used after a shared memory segment is attached to verify that it has our magic number in it. The dbname.db file became corrupted when the due to an Operating System crash.

FIX:

Perform an OS backup of the database in its current state and then perform the below:

1. Rename the current .db file.
2. Perform BUILDDB on the database:
PROSTRCT BUILDDB <db-name> <ST file>
3. Proserve the database.