c4gl Compile Time Connection Error
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues
Hi,
My setup
Redhat Linux v8
Informix Online
dbaccess 5.20.UC1
IBM INFORMIX-4GL Version 7.32.UC1 (i4gl)
INFORMIXDIR is set to /opt/informix
TBCONFIG=tbconfig.eng
INFORMIXSERVER=onlineDBSERVERNAME=online
INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhosts.eng
/opt/informix/etc/tbconfig.eng
------------------------------
DBSERVERNAME online
NETTYPE soctcp,1,60,NET
sqlhosts.eng
-------------
online onsoctcp linux sqlexec
/etc/services
-------------
sqlexec 1542/tcp
/etc/hosts
----------
127.0.0.1 linux localhost.localdomain localhost
I have been fiddling with this setup for three days now, and my files
are still not compiling:
When running dbaccess I am able to create a database with tables no
problem.
BUT
When trying to compile a .4gl file with c4gl -c filename.4gl I get the
following error message:
Attempt to connect to database server (online) failed. See error
number -908
I am stumped. Any ideas out there?
Thanks in advance,
Du Toit Scheepers
"Du Toit Scheepers" <dutoit@infoagent.co.za> wrote in message news:6a945109.0406101036.4101bfa4@posting.google.com... > When trying to compile a .4gl file with c4gl -c filename.4gl I get the > following error message: > > Attempt to connect to database server (online) failed. See error > number -908 > > I am stumped. Any ideas out there? Is I-STAR running: ie have you run $INFORMIXDIR/etc/sqlexecd as root?
"Neil Truby" <neil.truby@ardenta.com> wrote in message news:<2irp4nFplt8nU1@uni-berlin.de>... > "Du Toit Scheepers" <dutoit@infoagent.co.za> wrote in message > news:6a945109.0406101036.4101bfa4@posting.google.com... > > When trying to compile a .4gl file with c4gl -c filename.4gl I get the > > following error message: > > > > Attempt to connect to database server (online) failed. See error > > number -908 > > > > I am stumped. Any ideas out there? > > Is I-STAR running: ie have you run $INFORMIXDIR/etc/sqlexecd as root? Hi Neil, I do not seem to have a file called sqlexecd anywhere on my machine. Is I-STAR related to the tcp comms? Any idea where I can find the I-STAR tool? Thanks for your reply, Du Toit