Re: Problem with Online5.11 (linux native ) and ESQL/C
Posted in 2004
Hi,
CSDK 2.80 should work with OnLine 5.11 on Linux. I have successfully used
this combination.
There are couple of things which you may want to check.
- Please make sure that you have the sqlexecd daemon running. You should
start this daemon as root with your service name as the first argument.
# sqlexecd myservice
- make sure you have this service entry in /etc/services file and in
sqlhosts.
- onipcstr is not supported in OnLine anymore, use onsoctcp instead. Your
sqlhosts entry might look like this,
demo_on onsoctcp localhost myservice
Regards,
Muralidhar Bhat P.
IBM Informix Development, IBM Data Management Solutions
11200 Lakeview Avenue
Lenexa, KS 66219
Phone: 913-599-8687
owner-informix-list@iiug.org wrote on 07/11/2004 03:49:30 AM:
> Welcome, J Have a following problem with informix database server
> Online 5.11 (linux native) + CSDK2.80 on linux box :
> J'm developing my app in C language , and when j'm trying to connect
> within my application to database server this look virtually ok. My
> application say:
> "Connection succesfull" , bat when trying execute any sql statement
> within my application, like this: select count(*) from my_table then
> j'm received an error message:
> -404 the cursor or statement is not availabale
>
> my entry in $INFORMIXDIR/etc/sqlhosts:
>
> demo_on onipcstr localhost sqlturbo> and INFORMIXSERVER=demo_on
>
> anybody have any idea..? What is wrong ? Maybe CSDK2.80 does not match
> database server ... Please help me ...
>
> thanks in advance
>
> ( Sorry english is not my native language..)
sending to informix-list