Informix Error -23562: CM error: Can't delete a Coserver ID that exists in the $ONCONFIG file.
Cause and resolution
CM error: Can't delete a Coserver ID that exists in the $ONCONFIG file.
You cannot delete a coserver if it is still defined in the $ONCONFIG file.
Before you can use onutil to remove a coserver, you must edit the $ONCONFIG file and remove the COSERVER section that defines the coserver you want to delete.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23562 fires when deleting a coserver still defined in $ONCONFIG — per the official
guidance, this isn't allowed.
- The targeted coserver still defined in the
$ONCONFIGfile, per the official guidance — the direct, only cause.
Solutions / Resolution
- Edit
$ONCONFIGto remove the coserver'sCOSERVERsection before usingonutilto delete it, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond deleting a still-configured coserver.
Diagnostic Checks
- Check
$ONCONFIGfor the coserver'sCOSERVERsection, and remove it before deleting the coserver viaonutil.
Related Errors / Related Topics
- -23561 — "CM error: Can't delete a Coserver ID that is not the highest ID." A
related coserver-deletion restriction, on ID ordering rather than
$ONCONFIGdefinition.
A coserver couldn't be deleted because it's still defined in $ONCONFIG — remove its
COSERVER section first.