Informix Error -459
-459 The database server was shut down.
The database server instance that your application was using has been shut down by its operator. Your current transaction will be rolled back automatically when the database server starts up again. Rerun the application at that time.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-459 is a straightforward operational condition, distinct from -457's more alarming "terminated
unexpectedly" message: the server instance was deliberately shut down by its operator (a
maintenance window, upgrade, or planned restart), and the application's in-progress transaction
is affected as a result.
- A planned operator-initiated shutdown — maintenance, upgrade, or scheduled restart.
- An application connected during a shutdown window that wasn't coordinated with its own activity.
Solutions / Resolution
- Wait for the server to restart, per the official guidance — the current transaction will automatically roll back, and there's nothing further the application needs to do to resolve that part.
- Rerun the application once the server is confirmed back up, per the official guidance.
- For applications running during known maintenance windows, add reconnection/retry logic so this becomes a handled, expected condition rather than an unhandled failure.
Examples
Retrying after a known maintenance window
-- Application logic: on -459, wait and retry the connection
-- after a reasonable delay, rather than treating it as a fatal,
-- unhandled error.
Diagnostic Checks
- Confirm whether this coincides with a known, planned maintenance window.
- Check the server's actual current status before assuming it's still down.
Related Errors / Related Topics
- -457 — "Database server terminated unexpectedly." The unplanned counterpart of this same general "server unavailable" condition — this error is specifically the planned, operator-initiated version.
This is a planned, operator-initiated condition, not an application bug — add reconnection/retry logic for applications that need to tolerate scheduled maintenance windows gracefully.