Page 1 of 1

Corrupt next header error

Posted: Mon Sep 10, 2007 12:19 pm
by weixel
Greetings,

I'm getting the following error whenever I use dowalk to access one of my profiles:

005 /webinator/dowalk(readsettings) 801: Corrupt next header at 0x36A7D04 in KDBF file /usr/local/morph3/texis/testdb/options.tbl in the function read_rest_data

Do I really need the testdb? If so, how do I go about repairing the options table?

Corrupt next header error

Posted: Mon Sep 10, 2007 12:47 pm
by mark
Yes, you need testdb and the options table. It contains all of your profile settings.

Make sure your disk isn't full.

You'll need "kdbfchk" to repair the table. Check in the same directory as the Texis program "monitor". INSTALLDIR on windows or INSTALLDIR/bin on *nix. If you don't have it create it from monitor. On windows copy monitor.exe to kdbfchk.exe. On *nix soft link kdbfchk from monitor (ln -s monitor kdbfchk).

Make sure there's no editing of settings going on or profiles running. Then create a repaired copy of the table with
kdbfchk -o options.fix options.tbl
then replace the old table file with the fix. Rename options.tbl to options.bad to keep it around for the moment. Then rename options.fix to options.tbl. Make sure the ownerships and permissions are the same on the fixed file as on the bad.