Informix Error -26957: The statement failed because the grid query cannot connect to a server.
Cause and resolution
The statement failed because the grid query cannot connect to a server.
One of the servers in the grid is not currently available. Wait until the server is available, or run the SET ENVIRONMENT GRID_NODE_SKIP 'on' statement and then run the statement again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26957 fires when a grid query can't connect to one of the grid's servers — per the official guidance.
- A grid server is currently unavailable, per the official guidance — the direct, only cause.
Solutions / Resolution
- Wait until the server is available, per the official guidance, or
- Run
SET ENVIRONMENT GRID_NODE_SKIP 'on'and rerun the statement, per the official guidance, to skip unavailable servers.
Examples
Skipping unavailable grid nodes
SET ENVIRONMENT GRID_NODE_SKIP 'on';
Diagnostic Checks
- Check the availability of every server in the grid, and either wait or enable
GRID_NODE_SKIP.
Related Errors / Related Topics
- -26955 — "The statement failed because of an invalid value for the SET
ENVIRONMANT GRID_NODE_SKIP statement" A related
GRID_NODE_SKIPerror, on an invalid value rather than a server-connection failure this setting is meant to work around.
A grid query couldn't connect to a server — wait for it, or set GRID_NODE_SKIP 'on'.