ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » URGENT: getting ODBC error on Solaris v6-broker

Post new topic  Reply to topic
 URGENT: getting ODBC error on Solaris v6-broker « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Tue Aug 29, 2006 9:01 pm    Post subject: URGENT: getting ODBC error on Solaris v6-broker Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

We have a v6 broker on each of the 2 Solaris boxes. They are on 2 clustered WMQ v5.3 qmgrs, and both are running well EXCEPT that we have a problem in connecting to a user database( Oracle 9i database running on a third Unix box different from the 2 broker boxes ) from ONE of the 2 brokers.

We are getting an ODBC error when we try to connect from one of the broker boxes while we are able to connect successfully from the other broker box ( using the same msgflow/bar file deployed onto both the broker boxes - the msgflow works well on one broker BUT gives an ODBC error on the other)

We checked the TNSNAMES.ORA, .odbc.ini, etc on both the boxes and they are identical and correct. We are able to connect to the user database using SQLPlus from both the broker boxes.

DBAs confirmed that a 'TNS Ping' is successful from both the broker boxes. DBAs also apparently made their entries correctly and identically on Oracle database server side for both the broker boxes.

We followed the same steps on both the broker boxes to setup things ( like issuing mqsi_setup database, mqsisetdbparms, etc).

I am clueless as to what the problem could be and where it could be. It's driving me nuts.

Appreciate any help/hints from your experiences.

Thank you.
ydsk.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Tue Aug 29, 2006 9:58 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

what is the error you are getting ?

just a check , are you sure you have run mqsisetdbparms with the correct username n pwd (i mean typos or anything), would be better if you do it again.. just a thought and maybe you have tried all this ..

Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
PieterV
PostPosted: Wed Aug 30, 2006 3:48 am    Post subject: Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

is the environment variable ORACLE_HOME known to the userid of the broker?
is the oracle lib directory in LD_LIBRARY_PATH?

make sure the following is the same on both machines:
.odbc.ini
.profile
TNSNAMES.ORA

and please post the error you get.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 30, 2006 7:34 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Thanks everyone.

Here is the error I am getting:

BIP2321E: Database error: ODBC return code '-1'. : /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 227: ImbOdbcHandle::checkRcInner: : BIP2322E: Database error: SQL State ''IM002''; Native Error Code '0'; Error Text ''[DataDirect][ODBC lib] Data source name not found and no default driver specified''. : /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 355: ImbOdbcHandle::checkRcInner: :
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 30, 2006 8:22 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

The env variable ODBCINI was pointing to a wrong location, and it was changed.

The issue is resolved now.

Thank you all.
ydsk.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » URGENT: getting ODBC error on Solaris v6-broker
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.