Unix Technical Forum

RE: Select from two OnLine 5.20 instances, both on 1 machine

This is a discussion on RE: Select from two OnLine 5.20 instances, both on 1 machine within the Informix forums, part of the Database Server Software category; --> Hi Colin. Try the following. telnet pineb 1542 Can you establish connection ? If not, netstat -an | grep ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:35 AM
Tsutomu Ogiwara
 
Posts: n/a
Default RE: Select from two OnLine 5.20 instances, both on 1 machine


Hi Colin.

Try the following.

telnet pineb 1542
Can you establish connection ?

If not, netstat -an | grep
e.g)
# netstat -an | grep 325
172.16.174.230.32500 *.* 0 0 49152 0 LISTEN

grep 32500 /etc/services
tsutoo520uc1 32500/tcp

sqlhosts
tsutoo520uc1 olsoctcp urraco tsutoo520uc1

Regards.
--
Tsutomu Ogiwara from Tokyo Japan.





>From: "Colin" <mccolingrath@gmail.com>
>Reply-To: "Colin" <mccolingrath@gmail.com>
>To: informix-list@iiug.org
>Subject: Select from two OnLine 5.20 instances, both on 1 machine
>Date: 14 Nov 2005 08:56:53 -0800
>
>Two instances of the OnLine engine running on one machine
>(tbconfig.gtest, tbconfig.prod)
>
>$INFORMIXDIR/etc/sqlhosts:
>pineb_gtest olsoctcp pineb sqlturbo2
>pineb_prod olsoctcp pineb sqlturbo3
>
>Entries in /etc/services:
>sqlturbo2 1542/tcp # informix pineb_gtest
>sqlturbo3 1543/tcp # informix pineb_prod
>
>Two sqlexecd daemons running:
>/usr/informix_5.20/lib/sqlexecd sqlturbo3 -l
>/usr/informix_5.20/prod_sqlexecd.log
>/usr/informix_5.20/lib/sqlexecd sqlturbo2
>
>Can't seem to connect to the two instances at the same time, tried with
>ODBC from a PC, the following is from within dbaccess on the machine
>itself:
>
>select A.user_id g_user_id,
> b.user_id p_user_id
>from tracsy@pineb_gtest:mu_user_02 A,
> tracsy@pineb_prod:mu_user_02 B
>where g_user_id = p_user_id
>
> 908: Attempt to connect to database server (pineb) failed.
> Bad file number

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com