We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

RHEL 6: Creating A WMB broker

Los Angeles1
Los Angeles1 asked
on
Medium Priority
845 Views
Last Modified: 2013-11-17
I am using RHEL 6 with WMB 7.0.0.2, and have no problem creating brokers.

However, when I create a trusted broker, I get a strange error:

[root@WEST5 mq]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.0 (Santiago)
Kernel \r on an \m

[root@WEST5 mq]#
[root@WEST5 mq]# su mqm

MQSI 7.0.0.2
/opt/ibm/mqsi/7.0

bash-4.1$ dspmqver
Name:        WebSphere MQ
Version:     7.0.1.0
CMVC level:  p000-L090813
BuildType:   IKAP - (Production)
bash-4.1$
bash-4.1$ groups
mqm mqbrkrs
bash-4.1$
bash-4.1$ dspmqver
Name:        WebSphere MQ
Version:     7.0.1.0
CMVC level:  p000-L090813
BuildType:   IKAP - (Production)
bash-4.1$
bash-4.1$ dspmq
QMNAME(WQM1)                                              STATUS(Running)
QMNAME(WQM2)                                              STATUS(Running)
bash-4.1$
bash-4.1$ mqsilist
BIP1284I: Broker 'WQM1' on queue manager 'WQM1' is running.
BIP8071I: Successful command completion.
bash-4.1$
bash-4.1$ mqsicreatebroker WQM2 -q WQM2 -t
BIP8138E: Userid '' cannot be used by this component.
The userId selected cannot be used by the component. This may be because the userId does not have the required authorization or that the userId is invalid for operations that the component requires, for example, if a component is to use fastbind (-t) on UNIX platforms it must use the ServiceUserId 'mqm'.
Check that the user has the required authority to create files and retry.
bash-4.1$
bash-4.1$ mqsicreatebroker WQM3 -q WQM3 -t
BIP8138E: Userid '' cannot be used by this component.
The userId selected cannot be used by the component. This may be because the userId does not have the required authorization or that the userId is invalid for operations that the component requires, for example, if a component is to use fastbind (-t) on UNIX platforms it must use the ServiceUserId 'mqm'.
Check that the user has the required authority to create files and retry.
bash-4.1$

Open in new window


This should not be happening, since I am inside of mqm, Mqm is a member of the correct groups.  I do not see the issue.

Does anyone see what I am missing ?
Comment
Watch Question

Top Expert 2011
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013

Commented:
su - mqm

Author

Commented:
This worked perfectly:  Thank you

bash-4.1$ mqsicreatebroker WQM2 -q WQM2 -i mqm -t
AMQ8110: WebSphere MQ queue manager already exists.
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.
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.
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.
BIP8071I: Successful command completion.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.