Informix Error -23504: CM error: dbspace already exists.
Cause and resolution
CM error: dbspace already exists.
An attempt to create a dbspace failed because a dbslice or dbspace of that name already exists.
Select a name that is not in use and resubmit the request using the new name, or drop the existing dbspace or dbslice and resubmit the request using the same name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23504 fires when creating a dbspace with a name already used by a dbslice or dbspace — per the official guidance.
- A dbspace/dbslice of the requested name already existing, per the official guidance — the direct, only cause.
Solutions / Resolution
- Select an unused name and resubmit, per the official guidance, or
- Drop the existing dbspace/dbslice and resubmit using the same name, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a name collision.
Diagnostic Checks
- Check whether a dbspace or dbslice already uses the requested name, and choose a different name or drop the existing one.
Related Errors / Related Topics
- -23503 — "CM error: No such dbspace." The mirror-image error, on a dbspace name not found rather than a name collision.
A dbspace/dbslice with the requested name already exists — choose a different name or drop the existing one.