Informix Error -1796: The database server detected a mismatch in the registry subkey data for MIRRORPATH. The data retrieved for MIRRORPATH was pathname.
Cause and resolution
The database server detected a mismatch in the registry subkey data for MIRRORPATH. The data retrieved for MIRRORPATH was pathname.
The root dbspace has not been mirrored. To add mirroring, use onspaces or onmonitor.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1796 fires (Windows-specific) when the registry's MIRRORPATH subkey data doesn't match what
the server expects — per the official guidance, this indicates the root dbspace lacks mirroring
configuration.
- The root dbspace not actually configured for mirroring, per the official guidance — the
direct, named cause; the registry's
MIRRORPATHdata reflects that absence.
Solutions / Resolution
- Use
onspacesoronmonitorto add mirroring to the system, per the official guidance — this is the documented, specific fix.
Examples
Adding mirroring with onspaces
$ onspaces -m rootdbs -p /path/to/mirror_chunk -o 0
Diagnostic Checks
- Check whether the root dbspace is actually configured for mirroring, and add it via
onspaces/onmonitorif not.
Related Errors / Related Topics
- -1787 — "The database server detected a mismatch in the configuration file. Mirror chunk
pathname..." A related mirror-configuration error, about
ONCONFIG's recorded chunk size rather than the registry'sMIRRORPATHdata.
The registry's MIRRORPATH data reflects a root dbspace with no mirroring configured — add
mirroring via onspaces/onmonitor.