dbTalk Databases Forums  

Illegal sqlhosts file option error due to DNS failure

comp.databases.informix comp.databases.informix


Discuss Illegal sqlhosts file option error due to DNS failure in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
steven_nospam at Yahoo! Canada
 
Posts: n/a

Default Illegal sqlhosts file option error due to DNS failure - 08-25-2005 , 01:32 PM






Just a quick note to share a problem encountered today on one of our
servers.

We have users that connect to an Informix database using an ODBC
connection and Microsoft products (Access, Excel, Query) to obtain
data.

Today, the PCs started giving these errors when connecting:

ERROR: -27004: S1000: [Informix][Informix ODBC Driver][Informix]Illegal
sqlhosts file option/parameter.

The problem turned out to be a failure by the PC to reach the Unix host
due to a failed DNS lookup. The ODBC connection was using the host
system name instead of its IP address. The DNS server had experienced a
problem the previous evening and was never reconfigured properly.

This was determined by pings done from the PC:

# ping 192.168.77.251
Pinging 192.168.77.251 with 32 bytes of data:

Reply from 192.168.77.251: bytes=32 time<10ms TTL=255
Reply from 192.168.77.251: bytes=32 time<10ms TTL=255
Reply from 192.168.77.251: bytes=32 time<10ms TTL=255
Reply from 192.168.77.251: bytes=32 time<10ms TTL=255

Ping statistics for 192.168.77.251:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


# ping SampleSystem
Unable to resolve host entry, SampleSystem

So if your ODBC suddenly stops working and gives this error, this may
be something for you to test out. Hope it helps someone.


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.