About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
You try to connect to a database server but receive error -908: -908 Attempt to connect to database server (servername) failed.
Symptom
-908 Attempt to connect to database server (servername) failed.
Cause
- instance is offline
- connection information is incorrect
- various other causes not limited to above list
Diagnosing The Problem
- Run onstat -g to check the instance status.
- Check your environment variables, ONCONFIG file, setnet32 settings, services file and sqlhosts to make sure your connectivity related information is consistent and correct.
- Make sure you can ping from the server machine from the client machine
Resolving The Problem
- Run oninit to bring database server online.
- Correct connectivity related information; INFORMIXSERVER, port number, hostname, and so on
[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
More support for:
Informix Servers
Software version:
11.5, 11.7, 12.1
Operating system(s):
AIX, HP-UX, Linux, OS X, Solaris, Windows
Document number:
130587
Modified date:
23 June 2018
UID
swg21409402
Manage My Notification Subscriptions