Informix Error -25596: The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
Cause and resolution
The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
The default database server name that the INFORMIXSERVER environment variable specifies must be a valid database server name in the file $INFORMIXDIR/etc/sqlhosts on UNIX or the registry on Windows. Check that the specified server is listed in the sqlhosts file or the registry.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25596 fires when the server name INFORMIXSERVER specifies isn't a valid entry in
sqlhosts (or the Windows registry) — per the official guidance.
INFORMIXSERVERnaming a server absent from$INFORMIXDIR/etc/sqlhosts(UNIX) or the registry (Windows), per the official guidance — the direct, only cause.
Solutions / Resolution
- Check that the server
INFORMIXSERVERspecifies is listed insqlhostsor the registry, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an INFORMIXSERVER value missing
from sqlhosts/the registry.
Diagnostic Checks
- Check
INFORMIXSERVER's value againstsqlhosts(or the registry on Windows), and add the missing entry or correct the variable.
Related Errors / Related Topics
- -25555 — "Server server-name is not listed as a dbserver name in sqlhosts." The
general form of this missing-entry error, not specific to
INFORMIXSERVER.
INFORMIXSERVER named a server not listed in sqlhosts/the registry — add the entry or
correct the variable.