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 > DBSERVERALIASES - 2 IDS on one system

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-07, 05:54
steellynx steellynx is offline
Registered User
 
Join Date: Oct 2005
Posts: 12
DBSERVERALIASES - 2 IDS on one system

Hello,

im trying to port 2 IDS systems on one Notebook. (IDS 10 on opensuse 10.1 within a VMWARE on a Compaq nx7400 running Windows XP).

Im running a IDS (tcp_mylinux) at the moment.
Now im needing another name (tcp_ibm7000)

So i edited my sqlhosts

Code:
tcp_mylinux    onsoctcp mylinux informix_on
tcp_ibm7000   onsoctcp mylinux informix_on
But if i run a sql at the shell, i get the following:

Code:
informix@mylinux: echo "select count(*) from dispo" | dbaccess marketing@tcp_ibm7000

    761: INFORMIXSERVER does not match eitehr DBSERVERNAME or DBSERVERALIASES
Heres a snap of my onconfig

Code:
DBSERVERNAME    tcp_mylinux
DBSERVERALIASES    tcp_ibm7000
Greets
Reply With Quote
  #2 (permalink)  
Old 03-09-07, 05:24
stanislav.ondac stanislav.ondac is offline
Registered User
 
Join Date: Aug 2005
Posts: 140
So, why dont you look how is you INFORMIXSERVER set?
fi: echo $INFORMIXSERVER
and then set it to one of the correct names(DBSERVERNAME,DBSERVERALIASES) from your onconfig...
fi: export INFORMIXSERVER=tcp_ibm7000
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