Informix Error -25555: Server server-name is not listed as a dbserver name in sqlhosts.
Cause and resolution
Server server-name is not listed as a dbserver name in sqlhosts.
The database server name that is mentioned in the current command is not listed in the sqlhosts file. Check the server name for accuracy. Check that all database servers to be accessed are included in the sqlhosts file.
If you are using IBM Informix SE, your current working directory might be an NFS-mounted directory. Change your current working directory to a local directory, or add appropriate local directories to your DBPATH.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25555 fires when the database server named in the current command isn't listed in
sqlhosts — per the official guidance.
- The named server missing from
sqlhosts, per the official guidance — the direct, only cause. - On IBM Informix SE, the current working directory being NFS-mounted, per the official guidance — a secondary contributing case.
Solutions / Resolution
- Check the server name's spelling, per the official guidance, and confirm every
accessed server has an
sqlhostsentry. - On Informix SE, change to a local working directory, or add local directories to
DBPATH, per the official guidance, if the current directory is NFS-mounted.
Examples
N/A
No specific triggering statement is documented beyond a missing sqlhosts entry.
Diagnostic Checks
- Check the server name's spelling and its presence in
sqlhosts, and on Informix SE, check whether the current directory is NFS-mounted.
Related Errors / Related Topics
- -25553 — "Sqlhosts file not found or cannot be opened." A related
sqlhostserror, on a missing file rather than a missing entry. - -25556 — "Invalid sqlhosts file format." A related
sqlhostserror, on malformed content. - -25559 — "DBPATH server server-name is not listed as a dbserver name in sqlhosts."
The same missing-entry condition, specific to a
DBPATH-referenced server.
A database server name wasn't listed in sqlhosts — check spelling and add the entry, or
check for an NFS-mounted working directory on Informix SE.