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 failed

Post new topic  Reply to topic Goto page 1, 2  Next
 mqsicreatebroker failed « View previous topic :: View next topic » 
Author Message
Henrique Neil
PostPosted: Wed Jul 26, 2006 5:52 am    Post subject: mqsicreatebroker failed Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

Hi All!

I got a error when i was trying to create a broker on SuSE Linux Enterprise Server 9.

The error is the following:

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 ''78''; Native Error Code '0'; Error Text ''523 76''.
The error has the following diagnostic information: SQL State ''78'' SQL Native Error Code '0' SQL Error Text ''523 76''
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 read about some solutions of this error like configure db2profile and mqsi_setupdatabase but without success

Somebody know what is wrong?

Thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
neerav
PostPosted: Wed Jul 26, 2006 6:46 am    Post subject: Reply with quote

Novice

Joined: 31 May 2006
Posts: 22

Quote:
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.


Are you able to connect to the DB and the DB Table using any of the DB clients (not through the broker)?
Back to top
View user's profile Send private message
Henrique Neil
PostPosted: Wed Jul 26, 2006 8:34 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

neerav,

i get access through DB2Client but i don't get access through the broker command.

i think the problem is the broker connection with database, but i don't know what is wrong exactally.

the user and password are right, can you help me?

thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
wschutz
PostPosted: Wed Jul 26, 2006 8:53 am    Post subject: Reply with quote

Jedi Knight

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

This matches:
http://knowledgebase.datadirect.com/kbase.nsf/SupportLink+Online/2464618PF

what userid is running the mqsicreatebroker command?
Whats your LANG env variable?
a
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Henrique Neil
PostPosted: Wed Jul 26, 2006 10:06 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

Hi wschutz,

i read the link informations but it's not applicable at my problem.

if you want know the values of my variables i can send it to you:

LD_LIBRARY_PATH: /opt/mqm/java/lib:/opt/ibm/mqsi/6.0/lib:/opt/ibm/mqsi/6.0/bin:/opt/ibm/mqsi/6.0/merant/lib:/opt/ibm/mqsi/6.0/jre/bin/classic:/opt/ibm/mqsi/6.0/jre/bin:/opt/ibm/mqsi/6.0/xml4c/lib:instancehomedir/sqllib/lib

ODBCINI: /var/mqsi/odbc/.odbc.ini

LANG: en_US

Can you see something wrong in this values?


thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
Kateel
PostPosted: Wed Jul 26, 2006 10:45 am    Post subject: Reply with quote

Novice

Joined: 01 May 2006
Posts: 17

You might to want to check the following...
1. Make sure /opt/ibm/mqsi/6.0/merant/lib directory exists and your broker service id has read access to this directory.
2. The mqsicreatebroker command uses -u and -p correctly (database userid/passpwod)
3. /var/mqi/.odbc.ini file has been configured correctly.

If the above doesnot help you might try turning on the ODBC tracing and see if at all it attempts to connect to the database.

And I assume you are able to connect to database using sqlplus.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Jul 26, 2006 8:54 pm    Post subject: Re: mqsicreatebroker failed Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Henrique Neil,

I think you should check these first
Henrique Neil wrote:
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.


Regards.
Back to top
View user's profile Send private message Send e-mail
Henrique Neil
PostPosted: Thu Jul 27, 2006 5:29 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

Hi All,

i think my problem is in mqsicreatebroker command but how must i do to know if my command is capable to use the odbc connection?

i found a .odbc.ini file but it's empty.


thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Thu Jul 27, 2006 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ah14440_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Jul 27, 2006 5:47 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Henrique Neil,

Try this, perhaps it works on Linux too

Regards.
Back to top
View user's profile Send private message Send e-mail
GrandMaster
PostPosted: Thu Jul 27, 2006 9:50 am    Post subject: Re: mqsicretebroker Failed Reply with quote

Guest




One clue.
Your .odbc.ini file must not be empty. However i do not remeber you need to set the specific parameters in that(Ex: Database name, user id etc.)

Regards.
Back to top
jefflowrey
PostPosted: Thu Jul 27, 2006 10:08 am    Post subject: Re: mqsicretebroker Failed Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

GrandMaster wrote:
Your .odbc.ini file must not be empty. However i do not remeber you need to set the specific parameters in that(Ex: Database name, user id etc.)


Then you as well should read http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ah14440_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Henrique Neil
PostPosted: Thu Jul 27, 2006 11:49 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2006
Posts: 27

Hi All!

I made changes that you told me, but i get the same error yet.

My ODBC data is the following:

[WBIMBDB]
Driver=/opt/IBM/db2/V8.1/lib/libdb2.so
Description=IBM DB2 ODBC Driver for Broker
Database=WBIMBDB
ServerName=192.168.0.51

This database is on Windows 2003 Server and i had configured the DB2Client and it connects to the server make queries, etc...

Should I specify some username and password parameter for this file?


Thanks
_________________
Henrique Neil
System Analyst - Cyberlynxx
http://www.clx.com.br
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Thu Jul 27, 2006 11:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Heinrique -

Please read the entire section in the InfoCenter named "Configuring Databases". And then read "Creating a broker".

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ae03270_.htm

There are a number of steps to be taken before you can run mqsicreatebroker. The documentation provides detailed instructions on these steps.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 27, 2006 11:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

duplicate deleted.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Thu Jul 27, 2006 12:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsicreatebroker failed
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.