Informix Error -1809: Server rejected the connection.
Cause and resolution
Server rejected the connection.
Check that you have permission to connect to the server that you specified. If you specified both a database server and a database, check to see that you have permission to access the database.
This error message can occur when you are trying to use a Pluggable Authentication Module (PAM) feature of IDS when one or both of the following conditions exists:
* The PAM configuration file is not set correctly. Refer to the OS vendor documentation for more information.
* The client or server computer is not configured to handle PAM messages that are generated from a connection request.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1809 fires when the target server rejects a connection attempt — per the official guidance, this points at connection permissions and database access rights, and may also stem from PAM (Pluggable Authentication Module) configuration issues.
- Insufficient connection permissions to the specified server, per the official guidance — the first named check.
- Insufficient database access rights, per the official guidance — the second named check.
- A PAM configuration file not set correctly, per the official guidance's PAM-specific case.
- The client or server computer not configured to handle PAM messages generated from a connection request, per the official guidance's other PAM-specific case.
Solutions / Resolution
- Verify connection permissions to the specified server, per the official guidance.
- Verify database access rights, per the official guidance.
- If PAM is in use, check the PAM configuration file's correctness, per the official guidance.
- Confirm the client and server are both configured to handle PAM connection-request messages, per the official guidance, if PAM authentication is involved.
Examples
N/A
No specific triggering statement is documented — check server/database permissions and, if PAM is in use, its configuration on both client and server.
Diagnostic Checks
- Check connection permissions and database access rights for the specified server.
- If PAM is in use, check its configuration file and client/server PAM-message handling.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -1809 in this set yet.
The server rejected the connection — check permissions/access rights first, then PAM configuration if applicable.