Informix Error -1787: The database server detected a mismatch in the configuration file. Mirror chunk pathname = pathname, Offset = offset K, Size = size K.
Cause and resolution
The database server detected a mismatch in the configuration file. Mirror chunk pathname = pathname, Offset = offset K, Size = size K.
Check the actual file size of the chunk against the size that is specified for the mirror chunk in the ONCONFIG file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1787 fires when the mirror chunk size specified in ONCONFIG doesn't match the actual size of
the chunk file on disk — per the official guidance, this is a configuration/reality mismatch
specific to a mirror chunk, named in the message with its path, offset, and size.
- The chunk file on disk resized or recreated without updating
ONCONFIGto match, per the official guidance's framing — the direct, common cause. ONCONFIGedited with an incorrect size for this mirror chunk, the other direction of the same mismatch.
Solutions / Resolution
- Verify that the actual chunk file dimensions match the configuration specifications, per the official guidance.
- Correct whichever side is wrong — resize the chunk file to match
ONCONFIG, or correctONCONFIG's recorded size to match the actual file, whichever reflects the intended state.
Examples
Checking the actual chunk file size
$ ls -l /path/to/mirror_chunk
$ grep -A1 mirror_chunk "$ONCONFIG"
Diagnostic Checks
- Compare the mirror chunk's actual file size against the offset/size recorded in
ONCONFIGfor that chunk, using the exact path/offset/size named in the -1787 message.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -1787 in this set yet.
The mirror chunk's actual size doesn't match ONCONFIG's recorded size — correct whichever side
is wrong.