Greetings!
I have a problem connecting from an ESQLC program to an Informix Dynamic Server 9.30 UC1 instance, running on SunOS 5.8:
The esql program compiled ok, but it times out trying to connect to the database server, giving sqlcode = -25588 and sqlerrd[1] = 4. The associated error message is: “The appl process cannot connect to the
database server demo_on”;
I’m mentioning that I’m using for this the default ‘demo’ server with minimal modifications to the onconfig file. The demo_on instance is using shared memory and all the built-in tools (dbaccess etc..)
are able to connect.
The ‘sqlhosts’ file exists and the $INFORMIXSQLHOSTS variable points to it.
Contents of sqlhosts:
demo_on onipcshm calm on_servername
demo_se seipcpip calm sqlexec
Relevant onconfig settings:
DBSERVERALIASES -- not set
DBSERVERNAME demo_on
NETTYPE ipcshm,1,50,CPU
The Informix Client SDK is 2.81 FC1 (64bit)
The environment has only the minimal stuff:
INFORMIXSERVER = demo_on
INFORMIXSQLHOSTS = /opt/informix/etc/sqlhosts
INFORMIXDIR = /opt/informix ß- this variable is a little confusing to me: the same variable
name is needed by both the Informix Database Server and the Client SDK, but they are installed in
different directories. In my case, I make it to point to the ClientSDK install dir only when I’m
using the esql binary.
Any help is greatly appreciated!
Thanks,
Dorel