Informix Error -26401: Cannot connect to accelerator server.
Cause and resolution
Cannot connect to accelerator server.
Connecting to the accelerator server failed. Possible reason can be: - The accelerator server is not running. - The connectivity information (a group entry in the sqlhosts file with the name of the accelerator) is outdated or invalid. - The database contains stale meta information (AQTs) of data marts that no longer exist.
ACTION Check if the accelerator server is operational. Log on to the computer as either user root or as user informix, and then run this command: ondwa status
Check the sqlhosts file to find the group entry with the name of the accelerator. If the entry is considered correct, it is possible that the authentication token is outdated. It may be necessary to renew the entry by removing the accelerator and setting up the initial connection anew, as described in the manual. If the accelerator is shared with another Informix server instance (e.g. in a HA environment), it may be necessary to get an up-to-date copy of the sqlhosts entry from one of the sharing Informix server instances.
The meta information for data marts (AQTs) are special views in the system catalog table systables of a database, with a name beginning with "aqt". After removing data marts when connected to a different database, or after setting up the accelerator server from scratch, it is possible that stale AQTs are left over. Stale AQTs should be removed manually using the "DROP VIEW ..." command.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26401 fires when the server can't connect to the Warehouse Accelerator server — per the official guidance.
- The accelerator server isn't running, per the official guidance — the first named case.
- The connectivity information (the accelerator's group entry in
sqlhosts) is outdated or invalid, per the official guidance — the second named case. - The database has stale metadata (AQTs) for data marts that no longer exist, per the official guidance — the third named case.
Solutions / Resolution
- Check whether the accelerator server is operational, per the official guidance —
log in as
root/informixand runondwa status. - Check the
sqlhostsentry for the accelerator, per the official guidance — if correct, the authentication token may be outdated and the entry may need renewing (or, in an HA setup, copying from another sharing server instance). - Manually drop stale AQT views (named
aqt*insystables), per the official guidance, if data marts have been removed or the accelerator rebuilt from scratch.
Examples
Checking accelerator server status
$ ondwa status
Diagnostic Checks
- Run
ondwa status, check thesqlhostsaccelerator group entry, and checksystablesfor staleaqt*views.
Related Errors / Related Topics
- -26402 — "The dynamic SQL operation failed to run on the accelerator server." A related accelerator error, on a query failing during an established connection rather than the connection itself failing.
The server couldn't connect to the Warehouse Accelerator — check ondwa status, the
sqlhosts entry, and stale AQT views.