Database errors
Created: 24 November 2008. Last Reviewed: 24 November 2008
Need to determine whether the database (.dbf) or the index (.mdx) is corrupt:
- Look for dbf and .mdx
- If no .mdx, find out what the file is
- Close all Enabler applications including Nibbler
- Delete bu-param.mdx (index)
- Re-index bu-param (x:\enabler>infoctrl indexlocal bu-param)
- If the .mdx is created and no errors then all is okay
- If Database error re-occurs then the .dbf is corrupt
- If \enabler\local replace from another machine OR if \enabler\lantran retrieve from backup or discuss
--------------------------------------
Type: Database Error
Date: 20060313
Time: 13:38:27
Logical Address: 030501
Version: 04.29.13
help_idx: 0
Unable to open file
Function:DbaseTable :: use ()
Message:Corrupt table/index header.
Filename:d:\enabler\local\bu-param.DBF
Indexname:d:\enabler\local\bu-param.MDX
Database:LOCAL
Error Code:8961
Open:0
DBF:1
PDX:0
Openmode:1
Sharemode:1
Data Item 1:Trace 1: 19980114, 648
Trace 2: 19980114, 648
Trace 3: 19980114, 262
Trace 4: 0, 0
Need to determine whether the database (.dbf) or the index (.mdx) is corrupt. Please note that this error is occurring on the till (node) but it is the store server that has the corruption.
- Delete repairs.mdx (index)
- Re-index repairs (x:\enabler>infoctrl indexlantran repairs)
- If the .mdx is created and no errors then all is okay
- If Database error re-occurs then the .dbf is corrupt
- If \enabler\local replace from another machine OR if \enabler\lantran retrieve from backup or discuss.
- If lantran, and after discussion, replace with empty from upgbase and perform migrate (x:\enabler>infoctrl migrate)
--------------------------------------
Type: Database Error
Date: 20060207
Time: 14:59:59
Logical Address: 014002
Version: 04.27.00
help_idx: 0
Unable to open file
Function:DbaseTable :: use ()
Message:Corrupt file - other than header.
Filename:\\GOD-014001\enserver\enabler\lantran\repairs.DBF
Indexname:\\GOD-014001\enserver\enabler\lantran\repairs.MDX
Database:LANTRAN
Error Code:8962
Open:0
DBF:1
PDX:0
Openmode:0
Sharemode:0
Data Item 1:Trace 1: 20031030, 1
Trace 2: 20031030, 1
Trace 3: 19980114, 667
Message: Number is out of range
Filename: \\possrv\enserver\enabler\local\POSPROD.DBF
Indexname: \\possrv\ensever\enabler\local\POSPROD.MDX
Number out of range means data doesn’t fit
1. Check the version is the same an all machines
2. If the version is the same perform steps below.
3. If not upgrade machines to same versions and ensure upgrade applies fully.
4. If upgrade applied recently it may not have fully applied.
5. Reboot
6. Migrate
7. Re-index
Message: Table is read only
Filename: \\ct\enserver\enabler\lanmnt\comflg.DBF
Indexname: \\ct\enserver\enabler\lanmnt\comflg.MDX
Replace comflg.DBF with copy located in upgrade file.
Missing Database
d:\enabler\lantran\salesum3.DBF
- Look for salesum3.DBF and salesum3.MDX
- Reindex to create .MDX that is missing
- What is contained in file?
- Replace .DBF from upgbase
- Reindex and Migrate
No associated index.
d:\enabler\lantran\taxhist.DBF
d:\enabler\lantran\taxhist.MDX
- Close Nibbler
- Delete taxhist.MDX
- Reindex
- If file not created or locked, reboot.