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 > But INFORMIXSERVER DOES match either DBSERVERNAME or DBSERVERALIASES!!?!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-05, 12:55
unkl12345 unkl12345 is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
Question But INFORMIXSERVER DOES match either DBSERVERNAME or DBSERVERALIASES!!?!

i've installed clientsdk.2.81.UC3 on redhat fedora, trying to connect to a remote informix ids 7.3 db on sco unix.

this is driving me nuts! when i try to connect, i'm getting a 761 error: INFORMIXSERVER does not match either DBSERVERNAME or DBSERVERALIASES.

my $INFORMIXSERVER is:
server_name

my sqlhosts file has:
server_name onsoctcp <ip address here> <port number here>

the onconfig file has:
DBSERVERNAME server_name # Name of default database server

what's going on here? i am in dire need of an informix guru's assistance!

as a related problem: the ultimate goal is to be able to connect to multiple remote informix databases from php running on apache. unfortunately, each of these databases uses the same DBSERVERNAME. (and i'm having the above problem with each.) i can only make one entry in sqlhosts with that server name. is there any way around this without modifying DBSERVERALIASES on the remove machines?
Reply With Quote
  #2 (permalink)  
Old 02-23-05, 15:35
cpaluch cpaluch is offline
Registered User
 
Join Date: Aug 2004
Posts: 19
Do you a sqlhosts file setup on both servers (the fedora and the sco)? Also do you have an entry in /etc/services specifying the port number?
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