Re: What is a 'Fail Consistency Check' error ?
Posted in 1997
Topics: High Availability & Replication, Logging & Checkpoints
MMASHALK@ccsmtp.farinon.harris.com wrote:
>
> I am running Informix 5.03UC2 on SunOS. I got the following error in
> my log file . After that I got the normal 'Checkpoint Completed'
> messages...
>
> "
> 13:24:39 101a6434 00000508 0000000 0000000 0000000 ..... .....
> 13:24:39 101a6454 10228a30 . .0
> 13:24:39 --Fail Consistency Check --pthhdr:ptwrite:bad bfget
> --pid=4201 user=103 us=10002158
> "
>
> Could anybody please tell me what the error means and how to avoid it
> in future.?
It means exactly that; something has been checked for consistency
and failed.
1. If possible shutdown OnLine, it may not be on disk yet.
2. If it gives the oncheck command, then run it.
3. Run oncheck on the database.
4. Drop and re-create the offending table or index.
5. If all else fails, restore from archive!
Hope that helps,
--
Mark.
+------------------------------------------------------------------+
|Mark D. Stock - The West Solutions Group http://www.west.co.za |
| The Informix FAQ is at http://www.iiug.org |
|mailto:marks@west.co.za +-----------------------------------------+
|Tel: +27 11 803 2151 |If it doesn't work, force it! |
|Fax: +27 11 803 2189 |If it breaks, it needed replacing anyway!|
|Cell: +27 83 250 2325 |Well, that's how I code anyway! |
+------------------------+-----------------------------------------+