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
nvogt
PostPosted: Thu Apr 27, 2006 11:49 pm    Post subject: mqsicreatebroker fails Reply with quote

Novice

Joined: 27 Apr 2006
Posts: 11
Location: Aachen, Germany

We have a big problem with mqsicreatebroker on our AIX.

oslevel -r : 5300-04
MQ-Series : 6.0.1.0
MQSI : 6.0.0.1
Oracle : 10g (Client connection to a another machine)

what we've done

mqsi_setupdatabase oracle10 $ORACLE_HOME, works fine
and cretaed the right links

Creating links for oracle10 needed for WMQ.
----------------------------------------------
Creating link /var/mqm/exits/libclntsh.a to /opt/oracle/product/10g/lib32/libclntsh.a
Creating link /var/mqm/exits64/libclntsh.a to /opt/oracle/product/10g/lib/libclntsh.a
------------------------------------------------------------------

sqlplus access to the database works
sqlplus user/passwd@WSINFO

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Verbunden mit:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
------------------------------------------------------------------
The odbc.ini file
/var/mqsi/odbc/.odbc.ini
...
[WSINFO]
Driver=/opt/IBM/mqsi/6.0/merant/lib/UKor820.so
Description=Broker Database on acaix4
ServerName=WSINFO
EnableDescribeParam=1
WorkArounds=536870912
OptimizePrepare=1
ProcedureRetResults=1
...
------------------------------------------------------------------

but mqsicreatebroker fails -->

mqsicreatebroker BROKER_NAME -i mquser -a mqpasswd -q QueueManager -n WSINFO -u user -p password

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.
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 '0'; Error Text ''[DataDirect][ODBC lib] Specified driver could not be loaded''.
The error has the following diagnostic information: SQL State ''IM003'' SQL Native Error Code '0' SQL Error Text ''[DataDirect][ODBC lib] 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.

------------------------------------------------------------------

We think it's a problem with the odbc driver because of ldd returns

ldd /opt/IBM/mqsi/6.0/merant/lib/UKor820.so
/usr/lib/libc.a(shr.o)
/opt/IBM/mqsi/6.0/merant/lib/libUKicu20.a(UKicu20.so)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/vacpp/lib/libC.a(shr.o)
/usr/vacpp/lib/libC.a(ansi_32.o)
Cannot find /usr/lib/libdl.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthread.a(shr_xpg5.o)
/usr/vacpp/lib/libC.a(shr2.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libc_r.a(shr.o)
/usr/vacpp/lib/libC.a(ansicore_32.o)
/usr/vacpp/lib/libC.a(shrcore.o)
/usr/vacpp/lib/libC.a(shr3.o)

, but /usr/lib/libdl.a is available

ls -l /usr/lib/libdl.a /usr/ccs/lib/libdl.a
-rwxrwxrwx 1 bin bin 5248 21 Jun 2004 /usr/ccs/lib/libdl.a
lrwxrwxrwx 1 bin bin 20 11 Apr 17:42 /usr/lib/libdl.a -> /usr/ccs/lib/libdl.a

Please help
Thanks
Norbert
Back to top
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Fri Apr 28, 2006 1:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Norbert ...
I've seen that ldd sometimes doesn't actually print out the missing library and prints the wrong library name instead. If you use "dump -Hv" (you might also need to -X flag: see man dump), and then compare the listed libraries files against the ldd listing, you might see the library thats really missing.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
nvogt
PostPosted: Fri Apr 28, 2006 5:39 am    Post subject: Reply with quote

Novice

Joined: 27 Apr 2006
Posts: 11
Location: Aachen, Germany

We've found our problem

add $ORACLE_HOME/lib32 to LIBPATH and all works fine


Norbert
Back to top
View user's profile Send private message Visit poster's website
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.