Author |
Message
|
enordbye |
Posted: Thu Sep 15, 2005 2:07 am Post subject: mqsicreatebroker fails |
|
|
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 |
|
 |
markhiscock |
Posted: Thu Sep 15, 2005 2:20 am Post subject: |
|
|
 Novice
Joined: 16 May 2005 Posts: 22 Location: IBM Hursley, UK
|
|
Back to top |
|
 |
enordbye |
Posted: Thu Sep 15, 2005 2:31 am Post subject: |
|
|
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 |
|
 |
enordbye |
Posted: Thu Sep 15, 2005 2:42 am Post subject: |
|
|
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 |
|
 |
ydsk |
Posted: Tue Jan 03, 2006 9:56 am Post subject: |
|
|
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 |
|
 |
ydsk |
Posted: Tue Jan 03, 2006 12:47 pm Post subject: |
|
|
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 |
|
 |
|