Author |
Message
|
hendrikm |
Posted: Mon Aug 06, 2012 4:50 am Post subject: Unable to create a broker |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
I am having trouble creating brokers in Message Broker Toolkit and in command prompt which basically means I am unable to develop anything with Message Broker.
Currently using Message Broker v8, Toolkit 8.0.0, MQ v 7.0.13 and MQ Explorer v 7.0.
My machine is a 64-bit Windows 7 SP1.
When using the default configuration wizard in the toolkit I get the following error in the log:
Code: |
6.08.2012 15:36:00 com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: Creating the default broker [MB8BROKER] and the queue manager [MB8QMGR].
6.08.2012 15:36:00 com.ibm.etools.mft.eou.wizards.EouWizard logAction
SEVERE: Could not create the broker.
Collected output from task >
Stdout: [MQSI 8.0.0.0
C:\IBM\MQSI\8.0.0.0
mqsiCommandConsole create_broker_mode "MB8BROKER" "-i" "LocalSystem" "-a" "******" "-q" "MB8QMGR" "C:\Users\websphere\IBM\wmbt80\workspace\.metadata\CommandAssistantWizard_Broker.log"
There are 50 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory 'C:\IBM\WebSphere MQ\qmgrs\MB8QMGR' created.
Creating or replacing default objects for MB8QMGR.
Default objects statistics : 68 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
There are 50 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'MB8QMGR' starting.
5 log records accessed on queue manager 'MB8QMGR' during the log replay phase.
Log replay for queue manager 'MB8QMGR' complete.
Transaction manager state recovered for queue manager 'MB8QMGR'.
WebSphere MQ queue manager 'MB8QMGR' started.
BIP8986I: A failure occurred when the broker tried to update the PSMODE for WebSphere MQ queue manager 'MB8QMGR'. Return code: 4008.
The Publish Subscribe Interface (PSMODE) within WebSphere MQ for queue manager 'MB8QMGR' is currently set to ENABLED. This setting is incompatible with WebSphere Message Broker in its default configuration. The broker tried to change the PSMODE to COMPATIBILITY but the request failed.
Ensure that the WebSphere MQ command server is running and is able to process PCF requests.]
Stderr: []
|
I get the same error code (BIP8986I) when I try to create the broker in command prompt even if I have checked that the PSMODE is COMPAT and the command server is running.
Any ideas? Some help or advice? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Aug 06, 2012 5:13 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
hendrikm |
Posted: Mon Aug 06, 2012 6:18 am Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Yes, I have read those instructions and followed them during the installation. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Aug 06, 2012 6:20 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Did you accomplish this step:
Quote: |
Before you install any product components, enter the following command to change user mode:
change user /install |
_________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
hendrikm |
Posted: Mon Aug 06, 2012 10:27 pm Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Yes, I have tried that but that seems to be not the problem.
Code: |
C:\Windows\system32>change user /install
Install mode does not apply to a Remote Desktop Session Host server configured for remote administration.
C:\Windows\system32>change user /query
Application EXECUTE mode is enabled.
Install mode does not apply to a Remote Desktop Session Host server configured for remote administration.
|
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 06, 2012 10:47 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
is the user you are using to run the command console part of the mqbrkrs group and part of the administrators group?
Does it have the required access to the registry?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hendrikm |
Posted: Mon Aug 06, 2012 10:58 pm Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Yes, the user belongs to mqbrkrs, mqm and administrators group.
I'm not sure about the registry access. How can I check that? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 07, 2012 4:58 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
hendrikm wrote: |
Yes, I have tried that but that seems to be not the problem.
Code: |
C:\Windows\system32>change user /install
Install mode does not apply to a Remote Desktop Session Host server configured for remote administration.
C:\Windows\system32>change user /query
Application EXECUTE mode is enabled.
Install mode does not apply to a Remote Desktop Session Host server configured for remote administration.
|
|
"BEFORE YOU INSTALL ANY PRODUCT COMPONENTS"
Did you try it before or after?
After doesn't count.
Also, check:
Code: |
setmqaut -m <QMgrName> -n SYSTEM.ADMIN.COMMAND.QUEUE -t queue -g mqbrkrs
+browse +get +inq +put +set +setall +passall +passid +chg +dsp
setmqaut -m <QMgrName> -n SYSTEM.DEFAULT.MODEL.QUEUE -t queue -g mqbrkrs
+browse +get +inq +put +set +setall +passall +passid +chg +dsp |
_________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
hendrikm |
Posted: Tue Aug 07, 2012 8:46 am Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Yes, I have tried changing the Terminal Services to install mode before installing. What I was trying to show in one of my earlier posts was that the command (change user) does not change the state of my system.
I have tried various combinations of setmqaut and haven't had any success. I checked the privileges of the qmgr when I was using it and it seemed to have all the necessary rights.
I am not sure if I already tried the exact version of setmqaut which is suggested here. Will give it a try. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 07, 2012 8:48 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Then open a PMR, if not working.
Personally, I never use localSystem as the service Id. I create a user that is the first user in mqbrkrs group.
LocalSystem does not have domain query rights to active directory. Temporarily, you could use your own user Id as the service Id to help troubleshoot. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
sovee |
Posted: Tue Aug 07, 2012 12:38 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2012 Posts: 12
|
Quote: |
Ensure that the WebSphere MQ command server is running and is able to process PCF requests.
|
Not very sure. but could be the reason.Did you check this one? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 07, 2012 12:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
sovee wrote: |
Quote: |
Ensure that the WebSphere MQ command server is running and is able to process PCF requests.
|
Not very sure. but could be the reason.Did you check this one? |
His error code is 4008 which means Object Name error. This error occurs when you fail to follow the step-by-step instructions for installing the WMB runtime (ie. Before you install any product components, enter the following command to change user mode: change user /install). Since he did not do this, or was unable to enter install mode, before he installed any product components, some of the required objects did not get created. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
hendrikm |
Posted: Tue Aug 07, 2012 11:04 pm Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Tried the setmqaut commands suggested here before, no luck there.
Although in my first post LocalSystem was used as the id because that was the output from the default configuration wizard. When executing commands myself I use a local user id with the same results/errors.
Where could I find reference to the error codes? When trying to search for 4008 I did not find anything similar to what lancelotlinc is describing. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Aug 08, 2012 5:29 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
hendrikm wrote: |
Tried the setmqaut commands suggested here before, no luck there.
Although in my first post LocalSystem was used as the id because that was the output from the default configuration wizard. When executing commands myself I use a local user id with the same results/errors.
Where could I find reference to the error codes? When trying to search for 4008 I did not find anything similar to what lancelotlinc is describing. |
Whatever service Id you use, it must have the ability to query Active Directory.
Again, you are skipping over the most important step, which was to set install mode before you created the product on the local disk drive.
To find out what error codes mean, you use the mqrc command.
Code: |
C:\IBM\MQSI\7.0>mqrc 4008
4008 0x00000fa8 [b]MQRCCF_OBJECT_NAME_ERROR[/b]
|
Have you taken the WM643 WMB Adminstrators class? It seems you are lacking some important knowledge.
http://www-304.ibm.com/services/learning/content/ites.wss/us/en?pageType=course_description&courseCode=WM643 _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
hendrikm |
Posted: Wed Aug 08, 2012 6:28 am Post subject: |
|
|
Newbie
Joined: 06 Aug 2012 Posts: 8
|
Quote: |
Have you taken the WM643 WMB Adminstrators class? It seems you are lacking some important knowledge. |
No, I have not taken the class and I have basically no working knowledge of Message Broker. The reason why I am trying to get this to work is to do some evaluation for oncoming projects.
I am familiar with mqrc but the reason I asked for references was to find explanations more like this:
Quote: |
This error occurs when you fail to follow the step-by-step instructions for installing the WMB runtime (ie. Before you install any product components, enter the following command to change user mode: change user /install). |
This seems a lot more helpful than the output of mqrc.
Quote: |
Again, you are skipping over the most important step, which was to set install mode before you created the product on the local disk drive. |
The instruction/tutorial says that it has to be done if I am running terminal services. Nowhere in there is it said to be the most important step. I find those instructions to be very bad if they left out the important part. And my machine tells me the install mode switch does not apply to it.
Quote: |
Whatever service Id you use, it must have the ability to query Active Directory. |
Does this mean I can not install Message Broker on any separate machine that is not part of any domain? For evaluation purposes? |
|
Back to top |
|
 |
|