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 » Error in creating MessageBroker on SUSE Linux

Post new topic  Reply to topic
 Error in creating MessageBroker on SUSE Linux « View previous topic :: View next topic » 
Author Message
reddy_kal
PostPosted: Wed Sep 20, 2006 10:40 am    Post subject: Error in creating MessageBroker on SUSE Linux Reply with quote

Acolyte

Joined: 04 Nov 2002
Posts: 73

Hello,

I am getting error when I am creating Message Broker on SUSE Linux (SLES 9).

****************************
mqsicreatebroker <BrokerName> -i <brokeruser> -a <brokerpass> -q <QueueManager> -n <databasename> -u <databaseuser> -p <databasepassword>

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 ''82''; Native Error Code '0'; Error Text ''523 80''.
The error has the following diagnostic information: SQL State ''82'' SQL Native Error Code
'0' SQL Error Text ''523 80''
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.
***********************************

When I do sqlplus, it is working fine. And even I am able to create a temporary table in the database.

Can you please help me in resolving this issue.

We are running MessageBroker 6, WMQ6 and Oracle 10G.

-Reddy
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Sep 20, 2006 10:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I searchjed for the error code above(bip2321e) and got quite a few results
This is one of them
http://www.mqseries.net/phpBB2/viewtopic.php?t=26931&highlight=bip2321e+oracle

Do more search and see if they help

Moving to broker forum
Back to top
View user's profile Send private message Send e-mail Visit poster's website
reddy_kal
PostPosted: Wed Sep 20, 2006 11:02 am    Post subject: Reply with quote

Acolyte

Joined: 04 Nov 2002
Posts: 73

Hello,

Thanx for the reply and moving to the right place.

I am using the right driver in my .odbc.ini file

[eiad]
Driver=/opt/ibm/mqsi/6.0/merant/lib/UKor820.so
Description=DataDirect 5.0 Oracle
EnableDescribeParam=1
OptimizePrepare=1
ServerName=eiad
WorkArounds=536870912
ProcedureRetResults=1

But I am still getting the same error.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 20, 2006 11:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

To confirm.

If you issue "sqlplus <brokeruser>@<tnsnames.ora name for database>", and supply <brokerpass>, then you can connect just fine?

Also, confirm that you added <ora_home>\lib32 to the front of your PATH in broker user profile (do *not* edit mqsiprofile.sh).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
reddy_kal
PostPosted: Wed Sep 20, 2006 11:33 am    Post subject: Reply with quote

Acolyte

Joined: 04 Nov 2002
Posts: 73

Hello,

Yes when I do sqlplus <brokeruser>@database and supply the password, it works fine. And to verify the prvileges, I did create a temporary table and deleted successfully.

The .profile file for the MessageBroker user is setup

"export SHLIB_PATH=/usr/dt/lib:/usr/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/lib"

Do I need to set this $ORACLE_HOME/lib32 to PATH as well?

-Reddy
Back to top
View user's profile Send private message
BrianR
PostPosted: Wed Sep 20, 2006 10:57 pm    Post subject: Reply with quote

Novice

Joined: 04 Nov 2005
Posts: 12
Location: London

Do not know if this will help, but I had problems with ODBC connections to oracle 10g on suse 10.

Have you run the mqsi_setupdatabase command?

Had you tried running
ldd /opt/ibm/mqsi/6.0/merant/lib/UKor820.so
to check all required files can be found?

Have you got unixODBC installed? If so try
isql <dsn> <userid> <password> -v
It might give some more useful info.

You mention SHLIB_PATH, I had to add the $ORACLE_HOME/lib and $ORACLE_HOME/bin directories to LD_LIBRARY_PATH

Are $ORACLE_HOME etc.. set for the user?

My problem eventually turned out to permissions to the oracle directories which I sledge hammered with

chmod -R 755 $ORACLE_HOME

Good luck !!
Back to top
View user's profile Send private message
reddy_kal
PostPosted: Thu Sep 21, 2006 6:24 am    Post subject: Reply with quote

Acolyte

Joined: 04 Nov 2002
Posts: 73

Hello Brian,

It worked now !!!!!!!!!!!!

We chnaged the permission of $ORACLE_HOME directory and all the files inside in that directory to 755 and it created message broker successfully.

I can't imagine this.
It took me whole day just to check whats wrong with this.

Anyway, Thank you all for your support. I really appreciate your help

-Reddy
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 » Error in creating MessageBroker on SUSE Linux
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.