Informix Error -25595: Invalid message received during connection attempt.
Cause and resolution
Invalid message received during connection attempt.
An error occurred when you tried to connect to the desired database server.
If you are using IBM Informix Dynamic Server, IBM Informix Universal Server, or IBM Informix OnLine Dynamic Server, verify that the database server is still online. If you are using IBM Informix SE, verify that the sqlexecd daemon for the database server is still running. Also, verify that the $INFORMIXDIR/etc/sqlhosts file entry for the database server is correct.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25595 fires when an invalid message is received while connecting to a database server — per the official guidance.
- The target database server being offline (on IBM Informix Dynamic Server/Universal Server/OnLine Dynamic Server), per the official guidance — the first named case.
- The
sqlexecddaemon not running (on IBM Informix SE), per the official guidance — the second named case. - An incorrect
$INFORMIXDIR/etc/sqlhostsentry for the server, per the official guidance — the third named case.
Solutions / Resolution
- Verify the database server is online, per the official guidance, on Dynamic Server/Universal Server/OnLine Dynamic Server.
- Verify the
sqlexecddaemon is running, per the official guidance, on Informix SE. - Verify the
sqlhostsentry for the server is correct, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid connection-attempt message.
Diagnostic Checks
- Check the server's online status (or
sqlexecd's on Informix SE), and thesqlhostsentry.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -25595 in this set yet.
An invalid message was received while connecting — check the server's online status and its
sqlhosts entry.