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
ramires
PostPosted: Tue Apr 28, 2009 3:31 am    Post subject: mqsicreatebroker fails Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

Hello all,

I've an AIX box with WMB 6103 and two brokers running, they were defined some months ago. Now I need a define a new one, but when running mqsicreatebroker I get and error:

[bkruser@brokerbox]/home/bkruser> mqsicreatebroker BRL21 -i bkruser -a password -q MQL21 -n DBL21
BIP2168E: An error occurred while deleting files from registry directory ''/var/mqsi/registry/BRL21/'' : 'A parameter must be a directory.'.
Some of the files in the broker registry have not been deleted.
Ask your WebSphere Message Brokers administrator to check why the files could not be deleted, then retry the mqsidelete command.

BIP8081E: An error occurred while processing the command.
An error has occurred while the command was running. The command has cleaned up and terminated.
Use messages prior to this one to determine the cause of the error. Correct the problem and retry the command. Check for some common problems :- Does the user id have the correct authorities (for example a member of the mqbrkrs group)? Is the broker database started and operating correctly? Is any operating system limit set too low to allow the command to run? Is the environment correctly set up? Contact your IBM support center if you are unable to resolve the problem.

I did a trace as suggested in the IBM mustgather site

http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg21177043

and from the trace it seems a failure is occurring deleting the broker directory, but broker BRL21 is a new one.

from the trace:

...

- <Trace timestamp="2009-04-28 10:50:31.576828" thread="1" function="ImbCmdBase::odbciniExists" text="'ODBCINI file name specified by ODBCINI environment variable: '">
<Insert type="string">'/var/mqsi/odbc/odbc.ini'</Insert>
</Trace>
- <Exit timestamp="2009-04-28 10:50:31.576858" thread="1" function="ImbCmdBase::odbciniExists">
<Insert type="integer">0</Insert>
</Exit>
<Entry timestamp="2009-04-28 10:50:31.576864" thread="1" function="ImbCmdmqsicreatebroker::getBrokerUserIdsPasswords" />
- <Exit timestamp="2009-04-28 10:50:31.576870" thread="1" function="ImbCmdmqsicreatebroker::getBrokerUserIdsPasswords">
<Insert type="integer">0</Insert>
</Exit>
<Entry timestamp="2009-04-28 10:50:31.576876" thread="1" function="ImbCmdmqsicreatebroker::cleanAllData" />
- <Entry timestamp="2009-04-28 10:50:31.576916" thread="1" function="ImbInitialisationData::removeAllDirectoriesAndFiles">
<Insert type="string">'/var/mqsi/registry/BRL21/'</Insert>
</Entry>
- <Entry timestamp="2009-04-28 10:50:31.576928" thread="1" function="ImbDirectory::isDirectory">
<Insert type="string">'/var/mqsi/registry/BRL21/'</Insert>
</Entry>
- <Exit timestamp="2009-04-28 10:50:31.576938" thread="1" function="ImbDirectory::isDirectory">
<Insert type="boolean">false</Insert>
</Exit>
- <Trace timestamp="2009-04-28 10:50:31.576942" thread="1" function="ImbInitialisationData::removeAllDirectoriesAndFiles" text="'Directory is not a directory'">
<Insert type="string">'/var/mqsi/registry/BRL21/'</Insert>
</Trace>
- <Exit timestamp="2009-04-28 10:50:31.577048" thread="1" function="ImbInitialisationData::removeAllDirectoriesAndFiles">
<Insert type="string">'A parameter must be a directory.'</Insert>
</Exit>
- <Trace timestamp="2009-04-28 10:50:31.577132" thread="1" function="ImbInitialisationData::cleanAllData">
<Insert type="string">'Throwing exception'</Insert>
<Insert type="string">'/build/S610_P/src/CommonServices/Unix/ImbInitialisationData.cpp'</Insert>
<Insert type="integer">1529</Insert>
<Insert type="string">'BIP2168'</Insert>
<Insert type="string">'cleanAllData: '</Insert>
<Insert type="string">'/var/mqsi/registry/BRL21/'</Insert>
<Insert type="string">'A parameter must be a directory.'</Insert>
</Trace>
<Trace timestamp="2009-04-28 10:50:31.577232" thread="1" function="ImbInitialisationData::cleanAllData" text="'Caught unknown exception while holding lock on registry.'" />
...

I may missing something... is there a some kind of limitation in the number of brokers?

Thanks!
ramires
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 28, 2009 4:03 am    Post subject: Re: mqsicreatebroker fails Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

ramires wrote:
I may missing something... is there a some kind of limitation in the number of brokers?


No. There's no fixed limit, it's all due to system resources and etc. etc. etc.

This seems like it's a file permissions issue with the user you are trying to run mqsicreatebroker as, or a permissions or disk space issue with /var/mqsi/registry.

Ask your system admin to look into it.
Back to top
View user's profile Send private message
ramires
PostPosted: Wed Apr 29, 2009 2:11 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

Thanks mqjeff, I opened a call with IBM and the error was due to a bug in a WMB fix we applied in our system. Without that fix mqsicreatebroker completes with success

Regards
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 29, 2009 2:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Can you post a few more details, to benefit other victims?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ramires
PostPosted: Wed Apr 29, 2009 3:03 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

Yes Vitor, I applied a fix to solve a problem when deleting an EG and his working directory is not deleted, the fix replaces:

llibCommonServices.a
libCommonServices64.a

removing the new libraries and using the ones at 6.0.1.3 level correct the problem with the mqsicreatebroker command

Regards
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 29, 2009 3:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Thank you!



_________________
Honesty is the best policy.
Insanity is the best defence.
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 » 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.