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 » Getting database connect error while starting a broker

Post new topic  Reply to topic
 Getting database connect error while starting a broker « View previous topic :: View next topic » 
Author Message
Sriharsha
PostPosted: Tue May 16, 2006 8:47 am    Post subject: Getting database connect error while starting a broker Reply with quote

Novice

Joined: 20 Feb 2006
Posts: 13

I am trying to start a WMB 6 broker on AIX and its showing successful command initiation.But when i checked the processes only bipservice is running and bipbroker process hasn't comeup.And in the logs i see the following.

May 16 11:38:59 amdwi503 user:err|error WebSphere Broker v6000[1261660]: (INVTXT01)[1]BIP2048E: An Exception was caught while
issuing database SQL command connect. : INVTXT01.agent: /build/S000_P/src/AdminAgent/ImbAdminStore.cpp: 304: ImbAdminStore::
Connect: :
May 16 11:38:59 amdwi503 user:err|error WebSphere Broker v6000[1261660]: (INVTXT01)[1]BIP2321E: Database error: ODBC return c
ode '-1'. : INVTXT01.agent: /build/S000_P/src/DataFlowEngine/ImbOdbc.cpp: 232: ImbOdbcHandle::checkRcInner: :
May 16 11:38:59 amdwi503 user:err|error WebSphere Broker v6000[1261660]: (INVTXT01)[1]BIP2322E: Database error: SQL State '78
'; Native Error Code '0'; Error Text '523 76'. : INVTXT01.agent: /build/S000_P/src/DataFlowEngine/ImbOdbc.cpp: 360: ImbOdbcHa
ndle::checkRcInner: :
May 16 11:38:59 amdwi503 user:err|error WebSphere Broker v6000[1261660]: (INVTXT01)[1]BIP2053E: The broker made an unsuccessf
ul attempt to access its database MINVTXBT with userid mqsi. : INVTXT01.agent: /build/S000_P/src/AdminAgent/ImbAdminAgent.cpp
: 480: ImbAdminAgent::instanceOfAdminAgent: :

I used mqsichangebroker to make sure that it's using the correct password to connect to the broker database and got the same error.
I checked the odbc ini file and checked the path of the driver used for odbc connection and it looks fine.

Any suggestions on why this could be happening.

Thanks
Sriharsha
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 16, 2006 9:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you try manually connecting to the database as the mqsi user?

Did you try making sure that you had properly authorized the mqsi user on the database itself?

Did you try ensuring that the mqsi user had sufficient priviledges to both start and run the broker?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Sriharsha
PostPosted: Tue May 16, 2006 10:18 am    Post subject: Reply with quote

Novice

Joined: 20 Feb 2006
Posts: 13

Yeah I am able to connect to broker database manually using mqsi

db2 connect to MINVTXBT user mqsi
Enter current password for mqsi:

Database Connection Information

Database server = DB2/6000 8.2.1
SQL authorization ID = MQSI
Local database alias = MINVTXBT

These are the permissions given for the mqsi user to the database MINVTXBT

db2 get authorizations

Administrative Authorizations for Current User

Direct SYSADM authority = NO
Direct SYSCTRL authority = NO
Direct SYSMAINT authority = NO
Direct DBADM authority = NO
Direct CREATETAB authority = YES
Direct BINDADD authority = YES
Direct CONNECT authority = YES
Direct CREATE_NOT_FENC authority = NO
Direct IMPLICIT_SCHEMA authority = YES
Direct LOAD authority = NO
Direct QUIESCE_CONNECT authority = NO
Direct CREATE_EXTERNAL_ROUTINE authority = NO
Direct SYSMON authority = NO

Indirect SYSADM authority = NO
Indirect SYSCTRL authority = NO
Indirect SYSMAINT authority = NO
Indirect DBADM authority = NO
Indirect CREATETAB authority = NO
Indirect BINDADD authority = NO
Indirect CONNECT authority = NO
Indirect CREATE_NOT_FENC authority = NO
Indirect IMPLICIT_SCHEMA authority = NO
Indirect LOAD authority = NO
Indirect QUIESCE_CONNECT authority = NO
Indirect CREATE_EXTERNAL_ROUTINE authority = NO
Indirect SYSMON authority = NO

Am i missing something in the above permissions

Also we are using a different user id to run the broker which is same as the broker name in this case it's "invtxt01" and i started the broker with invtxt01 id.

Does using a different id to run the broker than the one being used for database access causes any problems.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue May 16, 2006 7:05 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Sriharsha,

So ur broker and database has different userid passwords ?

During broker creation what is the command u used ? did u specify the correct userid and password at the respecitve places ? Please post your command here...

Do a test connection from the ODBC too...

Regards.
Back to top
View user's profile Send private message Send e-mail
kevin_22
PostPosted: Tue May 16, 2006 8:17 pm    Post subject: Reply with quote

Centurion

Joined: 08 Mar 2005
Posts: 100

Hi Sriharsha,

You might not create a Data sournce name for your Database. For creation of broker you need DSN. Try connecting thru DSN.

Thanks,
Kevin
Back to top
View user's profile Send private message
JT
PostPosted: Wed May 17, 2006 12:36 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Database error: SQL State '78'; Native Error Code '0'; Error Text '523 76'.

http://knowledgebase.datadirect.com/kbase.nsf/SupportLink+Online/2464618PF
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 » Getting database connect error while starting a broker
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.