Author |
Message
|
ghoshly |
Posted: Tue May 25, 2021 1:34 pm Post subject: setmqaut command issue |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Created new queue manager in MQ 9.2 and facing issue with setmqaut command. Please help to identify the reason for the failure.
Code: |
[mqm@WGAZUS-ESBXXXX errors]$ setmqaut -m NFSQM01 -t queue -n * -p tghosh +all
AMQ7097E: You gave an authorization specification that is not valid.
[mqm@WGAZUS-ESBXXXX errors]$ setmqaut -m NFSQM01 -t topic -n * -p tghosh +all
AMQ7097E: You gave an authorization specification that is not valid.
|
Tried below options as well, but still failed.
Code: |
[mqm@WGAZUS-ESBXXXX errors]$ setmqaut -m NFSQM01 -t queue -n * -p tghosh +allmqi
AMQ7097E: You gave an authorization specification that is not valid.
[mqm@WGAZUS-ESBXXXX errors]$ setmqaut -m NFSQM01 -t queue -n * -p tghosh +alladm
AMQ7097E: You gave an authorization specification that is not valid.
|
Below command was successful..
Quote: |
setmqaut -m NFSQM01 -t qmgr -p tghosh +all |
|
|
Back to top |
|
 |
gbaddeley |
Posted: Tue May 25, 2021 3:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
* is probably being expanded by your shell into a list of files in your current directory. Try putting it in quotes "*". Some shells allow * to be preceded by \, as an alternative to using quotes. _________________ Glenn |
|
Back to top |
|
 |
hughson |
Posted: Tue May 25, 2021 6:32 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
|
Back to top |
|
 |
exerk |
Posted: Wed May 26, 2021 5:16 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And better to use SET AUTHREC too... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ghoshly |
Posted: Wed May 26, 2021 5:37 am Post subject: Thank you...resolved. |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Thanks all for your response. I was only puzzled by the error message on authorization specification. "*" works here. I'll try to learn about AUTHREC.
on your experience and knowledge. |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed May 26, 2021 2:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
|
Back to top |
|
 |
|