Informix Error -21545: Encryption of data failed.
Cause and resolution
Encryption of data failed.
An encrypted database server instance encountered an error encrypting data.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21545 fires when an encrypted database server instance encounters an error encrypting data — per the official guidance.
- An error encrypting data, per the official guidance — no further named detail.
Solutions / Resolution
- Check the message log for additional detail, per the official guidance's implication, and contact IBM Informix Technical Support if the cause isn't clear.
Examples
N/A
No specific triggering statement is documented beyond a data-encryption failure.
Diagnostic Checks
- Check the message log around the time of the failure, and confirm the encryption subsystem and cipher are correctly initialized.
Related Errors / Related Topics
- -21546 — "Decryption of data failed." The mirror-image error, on decrypting rather than encrypting data.
An encrypted server instance failed to encrypt data — check the message log for detail.