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 » mqsicreatebroker fails

Post new topic  Reply to topic
 mqsicreatebroker fails « View previous topic :: View next topic » 
Author Message
enordbye
PostPosted: Thu Sep 15, 2005 2:07 am    Post subject: mqsicreatebroker fails Reply with quote

Newbie

Joined: 15 Sep 2005
Posts: 3

$ mqsicreatebroker BRKP01 -i brkadmin -a secret -q QP45 -n BRKP01 -u brkadmin -p secret
AMQ8110: WebSphere MQ queue manager already exists.
WebSphere MQ queue manager running.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
BIP2321E: Database error: ODBC return code '-1'.
The message broker encountered an error whilst executing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database pertaining to this error.
Use the following messages to determine the cause of the error. This is likely to be such things as incorrect datasource or table names. Then correct either the database or message broker configuration.
BIP2322E: Database error: SQL State 'IM003'; Native Error Code '80'; Error Text 'Specified driver could not be loaded'.
The error has the following diagnostic information: SQL State 'IM003' SQL Native Error Code '80' SQL Error Text 'Specified driver could not be loaded'
This message may be accompanied by other messages describing the effect on the message broker itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error.

BIP8040E: Unable to connect to the database.
The database cannot be accessed with the userid and password that were specified when the broker was created.
Check that the database is running, that an ODBC connection has been created and that the userid and password pair specified for ODBC connect on the mqsicreate command are capable of being used to connect to the database using an ODBC connection. Also ensure that the database has a adequate number of database connections available for use.

I can login to the BRKP01 database from command line.

Do anybody know how to get arround this?
_________________
Regards,
Eivind
Back to top
View user's profile Send private message
markhiscock
PostPosted: Thu Sep 15, 2005 2:20 am    Post subject: Reply with quote

Novice

Joined: 16 May 2005
Posts: 22
Location: IBM Hursley, UK

Assuming that this us a Unix platform, have you edited the ODBC ini file and added your datasource?

http://publib.boulder.ibm.com/infocenter/wbihelp/topic/com.ibm.etools.mft.doc/ah14444_.htm?resultof=%22%6f%64%62%63%22%20
Back to top
View user's profile Send private message
enordbye
PostPosted: Thu Sep 15, 2005 2:31 am    Post subject: Reply with quote

Newbie

Joined: 15 Sep 2005
Posts: 3

Yes, Solaris 5.8 is the platform. Here's my .odbc.ini

$ cat /var/mqsi/odbc/.odbc.ini
[ODBC Data Sources]
MQSIBKDB=IBM DB2 ODBC Driver
MYDB=IBM DB2 ODBC Driver
BRKP01=DataDirect 410 Oracle 8 Driver
BRKP02=DataDirect 410 Oracle 8 Driver
SYBASEDB=DataDirect 410 Sybase TDS Driver

[MQSIBKDB]
Driver=/u/db2inst1/sqllib/lib/libdb2.so
Description=MQSIBKDB DB2 ODBC Database
Database=MQSIBKDB

[MYDB]
Driver=/u/db2inst1/sqllib/lib/libdb2.so
Description=MYDB DB2 ODBC Database
Database=MYDB

[BRKP01]
Driver=/opt/wmqi/merant/lib/UKor818.so
WorkArounds=536870912
WorkArounds2=2
Description=Oracle9
ServerName=BRKP01
EnableDescribeParam=1
OptimizePrepare=1

[BRKP02]
Driver=/opt/wmqi/merant/lib/UKor818.so
WorkArounds=536870912
WorkArounds2=2
Description=Oracle9
ServerName=BRKP02
EnableDescribeParam=1
OptimizePrepare=1

[SYBASEDB]
Driver=/opt/wmqi/merant/lib/UKase18.so
Description=Sybase11
Database=sybasedb
ServerName=YourServerName
WorkstationID=id
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=10.30.14.72,5000
SelectUserName=1

[ODBC]
Trace=1
TraceFile=/var/wmqi/odbc/odbctrace.out
TraceDll=/opt/wmqi/merant/lib/odbctrac.so
InstallDir=/opt/wmqi/merant
_________________
Regards,
Eivind
Back to top
View user's profile Send private message
enordbye
PostPosted: Thu Sep 15, 2005 2:42 am    Post subject: Reply with quote

Newbie

Joined: 15 Sep 2005
Posts: 3

I just found the sollution! 32bit libraries for Oracle had to be inserted first in LD_LIBRARY_PATH.
_________________
Regards,
Eivind
Back to top
View user's profile Send private message
ydsk
PostPosted: Tue Jan 03, 2006 9:56 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,

Doesn't invoking <install dir>/bin/mqsiprofile setup the LD_LIBRARY_PATH properly ? I mean, do we need to add the 32-bit libraries explicitly even after invoking mqsiprofile ? Can someone please explain ?

Appreciate any help.

ydsk.
Back to top
View user's profile Send private message
ydsk
PostPosted: Tue Jan 03, 2006 12:47 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,
Can someone please tell me if we need to ass the 32-bit libraries for Oracle to LD_LIBRARY-PATH , even after runnung the mqsiprofile script ?

We have the directory <oracle install dir>/product/9.2.0/ which has the directories lib and lib32. And we already specified ORACLE_BASE , ORACLE_HOME, ORACLE_SID. But I am not sure if we need to add lib32 to the LD_LIBRARY_PATH variable explicitly.

Thank you.
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 » mqsicreatebroker fails
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.