If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix client sdk error 931

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-04, 11:47
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Red face Informix client sdk error 931

Hi , I have Informix Dynamic Server Version 7.31.UD5 running in Linux Rethat.
When I try to connect from a client Windows XP (native, ODBC, OLEDB, ILogin) the server returns error -931.

I try with Informix client sdk 2.60 and 2.80 and i get the same error.

I add the service to my \windows\system32\drivers\etc\services file :

I add this line

inform_viatest 1610/tcp

to my \windows\system32\drivers\etc\services file

I get this from $INFORMIXDIR/etc/sqlhosts

inform_viatest onsoctcp tlalnxvw inform_viatest

and this from /etc/services

inform_viatest 1610/tcp

I can telnet the listening port.

Set my env variables using Setne32

I check that the service name for the desired server is correct, But I'm still not capable to find any solution.

How can i find out why the service is not known?

This was working find, but i run Winsql and stop of work.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-23-04, 21:43
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: Informix client sdk error 931

Quote:
Originally posted by javardila
Hi , I have Informix Dynamic Server Version 7.31.UD5 running in Linux Rethat.
When I try to connect from a client Windows XP (native, ODBC, OLEDB, ILogin) the server returns error -931.

I try with Informix client sdk 2.60 and 2.80 and i get the same error.

I add the service to my \windows\system32\drivers\etc\services file :

I add this line

inform_viatest 1610/tcp

to my \windows\system32\drivers\etc\services file

I get this from $INFORMIXDIR/etc/sqlhosts

inform_viatest onsoctcp tlalnxvw inform_viatest

and this from /etc/services

inform_viatest 1610/tcp

I can telnet the listening port.

Set my env variables using Setne32

I check that the service name for the desired server is correct, But I'm still not capable to find any solution.

How can i find out why the service is not known?

This was working find, but i run Winsql and stop of work.

Thanks.
Hi there,

Why don't you download client sdk 2.81. The link is -

http://www14.software.ibm.com/webapp...ndBetas&S_CMP=

Regards,

Lloyd
Reply With Quote
  #3 (permalink)  
Old 03-24-04, 08:22
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Re: Informix client sdk error 931

Quote:
Originally posted by lloydnwo
Hi there,

Why don't you download client sdk 2.81. The link is -

http://www14.software.ibm.com/webapp...ndBetas&S_CMP=

Regards,

Lloyd
Hi,

I download client sdk 2.81 but the error is the same...

Any other idea? How can i find out why the service is not known?

Thanks
Reply With Quote
  #4 (permalink)  
Old 03-24-04, 08:56
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: Informix client sdk error 931

Hi,

Is your INFORMIXSQLHOSTS env variable properly set.
Make sure it points to the correct file.

Regards,

Lloyd

Quote:
Originally posted by javardila
Hi,

I download client sdk 2.81 but the error is the same...

Any other idea? How can i find out why the service is not known?

Thanks
Reply With Quote
  #5 (permalink)  
Old 03-24-04, 16:00
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Re: Informix client sdk error 931

Quote:
Originally posted by lloydnwo
Hi,

Is your INFORMIXSQLHOSTS env variable properly set.
Make sure it points to the correct file.

Regards,

Lloyd
I donīt understand...It supouse that I should set this variable in Setnet32? Are you talking about in my pc?
I know that this variable is when you use a central registry...but i donīt use it...
what value must have? In this moment it's in null...

Thanks...
Reply With Quote
  #6 (permalink)  
Old 03-24-04, 22:22
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: Informix client sdk error 931

Quote:
Originally posted by javardila
I donīt understand...It supouse that I should set this variable in Setnet32? Are you talking about in my pc?
I know that this variable is when you use a central registry...but i donīt use it...
what value must have? In this moment it's in null...

Thanks...
Hi,

In your profile file in linux along with other informix env variables set INFORMIXSQLHOSTS too.

INFORMIXSQLHOSTS=/export/home/informix/etc/sqlhosts1;
export INFORMIXSQLHOSTS;
Reply With Quote
  #7 (permalink)  
Old 03-25-04, 09:17
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Re: Informix client sdk error 931

Quote:
Originally posted by lloydnwo
Hi,

In your profile file in linux along with other informix env variables set INFORMIXSQLHOSTS too.

INFORMIXSQLHOSTS=/export/home/informix/etc/sqlhosts1;
export INFORMIXSQLHOSTS;
But i donīt know why in other pc works fine...but not in my...it has the same configuration that the others, and this variable is not set in linux server...

Let me see if work...not really...the error continues...

Could be an error in the pc with the service? How can check that?

Thanks
Reply With Quote
  #8 (permalink)  
Old 03-25-04, 09:58
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: Informix client sdk error 931

Quote:
Originally posted by javardila
But i donīt know why in other pc works fine...but not in my...it has the same configuration that the others, and this variable is not set in linux server...

Let me see if work...not really...the error continues...

Could be an error in the pc with the service? How can check that?

Thanks
Hi,

Your error seems very strange, you need to have an entry in windows for your service file, so you can remove that entry from
your \windows\system32\drivers\etc\services file.
Is your INFORMIXSQLHOSTS env. variable properly set.
The easier way to test would be thru ODBC. Create a new system dsn & enter the connection settings & do a test connection & check. This should work.

Regards,

Lloyd
Reply With Quote
  #9 (permalink)  
Old 03-25-04, 10:02
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Informix client sdk error 931

Quote:
Originally posted by javardila
But i donīt know why in other pc works fine...but not in my...it has the same configuration that the others, and this variable is not set in linux server...

Let me see if work...not really...the error continues...

Could be an error in the pc with the service? How can check that?

Thanks
Hi,

Please in the file /etc/services, in pc client, the last caracter of line, must be a <enter>, Yes please go at end of line and then press ENTER keyborad key.
Reply With Quote
  #10 (permalink)  
Old 03-25-04, 10:35
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Re: Informix client sdk error 931

Quote:
Originally posted by lloydnwo
Hi,

Your error seems very strange, you need to have an entry in windows for your service file, so you can remove that entry from
your \windows\system32\drivers\etc\services file.
Is your INFORMIXSQLHOSTS env. variable properly set.
The easier way to test would be thru ODBC. Create a new system dsn & enter the connection settings & do a test connection & check. This should work.

Regards,

Lloyd
I attach the images where you can see the error...i try whit and without the entry in the \windows\system32\drivers\etc\services file. Still the error is the same...i think that i must format the pc...

Thanks
Attached Images
File Type: bmp error_informix.bmp (769.1 KB, 875 views)
Reply With Quote
  #11 (permalink)  
Old 03-25-04, 10:50
rosibelgs rosibelgs is offline
Registered User
 
Join Date: Mar 2004
Posts: 3
I got the same windows error...i think i'm going to do the same...good luck
Reply With Quote
  #12 (permalink)  
Old 03-25-04, 22:23
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Quote:
Originally posted by rosibelgs
I got the same windows error...i think i'm going to do the same...good luck
Hi,

Did you try entering the service no., in your case it should be 1610
Reply With Quote
  #13 (permalink)  
Old 03-26-04, 06:32
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Informix client sdk error 931

Quote:
Originally posted by javardila
I attach the images where you can see the error...i try whit and without the entry in the \windows\system32\drivers\etc\services file. Still the error is the same...i think that i must format the pc...

Thanks
Hi,

I see the image attach and look that you are using Windows XP. Client SDK no work properly. Please check with version of Client SDK 281. TC2.

Gustavo.
Reply With Quote
  #14 (permalink)  
Old 03-26-04, 08:42
javardila javardila is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Quote:
Originally posted by lloydnwo
Hi,

Did you try entering the service no., in your case it should be 1610
yes, you can see it in the original thread that i post...
Attached Images
File Type: bmp services_file.bmp (769.1 KB, 1061 views)
Reply With Quote
  #15 (permalink)  
Old 11-04-04, 09:58
aseica aseica is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Hi,

I'm having the same problem (using WinXP Pro and the ClientSDK 2.81.TC3).

Does anyone have a solution to that?

(I know it isn't a database problem: I have it running well on a Win2K / ClientSDK 2.50 system; in the WinXP Pro system I already tried the older 2.50 SDK version, but got the same problem - thus, I suspect the problem to be the OS)

Thank you,
A. Seiįa
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On