开发者

Cannot Create queue on Websphere MQ Explorer V7.0

开发者 https://www.devze.com 2023-01-26 11:45 出处:网络
I have installed Websphere MQ V7. and created queue manager and channels , but the problem is i ca开发者_JAVA百科nnot create any queues on the explorer and when check in the error log files ,there\'s

I have installed Websphere MQ V7. and created queue manager and channels , but the problem is i ca开发者_JAVA百科nnot create any queues on the explorer and when check in the error log files ,there's no errors thrown

How can i be helped


It sounds as though you can see the queues in Explorer but creating a new queue fails. If what you meant was that you are unable to get Explorer to connect at all, then please clarify the question.

When you can see queues but can't create them, there's a very good chance that you are getting authorization errors. You can test this theory by enabling authorization events:

runmqsc <qmgr name>
ALTER QMGR AUTHOREV(ENABLED)

If this is the problem then you will see event messages being generated in the SYSTEM.ADMIN.QMGR.EVENT queue.

Another way to verify this is to set the MCAUSER of the SVRCONN channel to an administrative value. If you are using Linux, that would be 'mqm' and on Windows it depends on how you installed it but MUSR_MQADMIN usually works.

runmqsc <qmgr name>
ALTER CHL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN) MCAUSER('mqm')

If this solves the problem then it was authorization errors. Keep in mind that hard-coding the MCAUSER to an administrative value means that anyone connecting to that channel has administrative rights.

If security is important you will want to make sure that any inbound channel with a blank MCAUSER or an administrative account in MCAUSER authenticates connections using SSL or an exit. Channels for low-privileges access must have a low-privileged account in the MCAUSER or else they allow administration. These include channels of type RCVR, RQSTR, CLUSRCVR and SVRCONN, and specifically those named SYSTEM.DEF* and SYSTEM.AUTO.* as well as any user-defined channels. For much more discussion of WMQ security, please see the WMQ Hardening presentation at https://t-rob.net/links/ or post questions here on SO.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号