[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

Gentran Server Archive Corruption??

From: "Cox, Ken" <jkcedi@...>
Date: Wed Feb 25, 2004  2:21 pm
Subject: [EDI-L] Gentran Server Archive Corruption??
Hi,
I'm not sure if this will help, as I don't remember what error I was
getting, but in case your problem is a corrupted index, here is
something that may help.

To help determine your problem run dcheck:
$ dcheck -e edihist/edihist

I got output including:
. . . checking data. .failed data free list is corrupt
checking index 1..failed index count mismatch checking index
2..failed index count mismatch checking index
3..failed index file read error key out of order index/data mismatch
checking index
4..failed index count mismatch checking index
5..failed index/data mismatch
fatal isam error isfree.c(197)

To recover you need to get rid of the index file and rebuild it from the
data file (do this on a copy, or keep a backup):
1) Make a copy of edihist.dat/idx
2) Run "edicreat -cp $EDI_ROOT" to initialize edihist.dat/idx; while
this creates empty files, it also provides a valid .idx file.
3) Then copy edihist.dat back to the edihist directory. Since the data
will no longer match the idx, now you rebuild the .idx by running
"dcheck -be edihist/edihist". The "b" parameter says (re)build the
index; the -e says report messages/errors.

Ken Cox
Brach's Confections

----- Original Message -----
From: edi_kb2003
To: Sent: Tuesday, February 24, 2004 2:10 PM
Subject: [EDI-L] Gentran Server Archive Corruption??
Have a couple of questions here. We are running Gentran Server for
UNIX (no data managers), 5.2.

First, our company does enough volume that after about 5 months of
EDI data flow, the edihist.idx and edihist.dat files have a combined
size of well over 1 gigabyte. Sterling has mentioned to us that this
could cause problems, but they didn't really have an answer as to how
or why.
SO, do any of you out there have a similar volume of data? What do
you do?

Now, of course, we are having a problem. When we try to run our
purge job, we are running into what seems to be a system error, which
is something to the effect of "Segmentation Error (Core)". We run
our edipurge commands, then we run our edimv -u, then we run our
edicreat, that all works OK. But when we run the last step, edimv -
l, we get the segmentation error.
Is our archive corrupt??

Thanks for any help!!"



[Non-text portions of this message have been removed]




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.