Author |
Message
|
telesguilherme |
Posted: Wed Mar 12, 2014 5:37 am Post subject: mqsilist - Administration |
|
|
Acolyte
Joined: 16 Feb 2008 Posts: 56
|
Dear all experts,
I´ve just installed IIB9, and created a default broker. But, for some users the Broker is displayed running, and for some other users, it is displayed stopped.
But, all users are in the mqm, and mqbrkrs groups.
What could be the problem ?
Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Mar 12, 2014 5:50 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What does the output of 'mqsilist' for all these different users show?
Perhaps their viewer needs a simple refresh? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
telesguilherme |
Posted: Wed Mar 12, 2014 5:51 am Post subject: |
|
|
Acolyte
Joined: 16 Feb 2008 Posts: 56
|
Output for root:
[root@BusDev ~]# mqsilist
BIP1284I: Broker 'IB9DEV01' on queue manager 'QM.IB9DEV01' is running.
BIP8071I: Successful command completion.
Output for another user:
[e-vcavalcante@BusDev ~]$ mqsilist
BIP1285I: Broker 'IB9DEV01' on queue manager 'QM.IB9DEV01' is stopped.
BIP8071I: Successful command completion. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Mar 12, 2014 7:16 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
I love that you added "QM." to your Qmgr name. I'm sure nobody would have any idea it was a Qmgr without "QM." in the name. Names like this are a pet peeve of mine.
Next, never put root in mqm or mqbrkrs as this is a security exposure. Always sudo to mqm or the broker service ID to do the corresponding work.
Last but not least, for every ID in the mqm group, ensure that the group mqm is their primary group. Doing so will avoid inadvertent permissions from being implicitly granted. |
|
Back to top |
|
 |
telesguilherme |
Posted: Wed Mar 12, 2014 7:56 am Post subject: |
|
|
Acolyte
Joined: 16 Feb 2008 Posts: 56
|
Dear Joseph,
Thanks a lot for the repply, but it think you did not answered my question, or resolved my problem. You only have criticized, baseless and without understanding that this is a development environment. I'm not naive about to post here full details of my environment or change them. Thanks, but still with the same problem. I think it could be something related to the size of the User name or some question of the operating system. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 12, 2014 8:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
log in as root.
mqsistop the broker.
log in as any other user than root.
mqsistart the broker. |
|
Back to top |
|
 |
telesguilherme |
Posted: Wed Mar 12, 2014 8:10 am Post subject: |
|
|
Acolyte
Joined: 16 Feb 2008 Posts: 56
|
Dear mqjeff,
Thanks for the repply, but it did not worked.
Same problem. It is happening with only one user. The user lengh is: 13 characters |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Mar 12, 2014 8:18 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Yes! For WMQ on UNIX, only the first 12 characters are seen. I would have to say this is the root of your issue.
I have seen similar issues with long AD IDs that were also being used in UNIX systems via LDAP. |
|
Back to top |
|
 |
telesguilherme |
Posted: Wed Mar 12, 2014 8:39 am Post subject: |
|
|
Acolyte
Joined: 16 Feb 2008 Posts: 56
|
Dear JosephGramig,
Thank you so much. Worked. |
|
Back to top |
|
 |
|