Author |
Message
|
harsha8127 |
Posted: Mon Jul 02, 2018 10:37 pm Post subject: Access not permitted. You are not authorized to perform this |
|
|
Acolyte
Joined: 25 Nov 2013 Posts: 72
|
Access not permitted. You are not authorized to perform this.(AMQ4036)
Dear docs,
i am facing this issue from last few days,
In my environment, we have Queue managers created in AS400 server with MQ ver 6.0. i have given authorities as "*public".
Now from my windows server 2008R2 with MQ client ver 7.0 iam trying to access the QMGRs but its showing the above error. My windows user is a root and admin user with all rites and a MQM member.
Please help me  |
|
Back to top |
|
 |
exerk |
Posted: Tue Jul 03, 2018 12:16 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And where is this error occurring? On the iSeries box, or Windows box? _________________ 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 |
|
 |
hughson |
Posted: Tue Jul 03, 2018 1:05 am Post subject: Re: Access not permitted. You are not authorized to perform |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
harsha8127 wrote: |
Access not permitted. You are not authorized to perform this.(AMQ4036) |
This error that you have shown us is emitted by the MQ Explorer tool.
Please also show us what the queue manager on your AS/400 machine said.
If you are unsure how to do this, go to the WRKMQM panel and type 23 for Display logs in the space to the left of your queue manager name. This will take you to /QIBM/UserData/mqm/qmgrs/qmname/errors where you can type 5 for Display in the space to the left of the object AMQERR01.LOG. Type bot to scroll to the bottom of the error log and then page up to read the last thing reported by the queue manager.
When you say:-
harsha8127 wrote: |
My windows user is a root and admin user with all rites and a MQM member |
do you mean that a user ID with the same name as your logon on the windows machine exists on the AS/400 machine and on there it has all rights and is a member of the QMQMADM group?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
harsha8127 |
Posted: Tue Jul 03, 2018 3:21 am Post subject: |
|
|
Acolyte
Joined: 25 Nov 2013 Posts: 72
|
exerk wrote: |
And where is this error occurring? On the iSeries box, or Windows box? |
iam adding remote queue managers from as400 to windows explore .
issue showing in windows. |
|
Back to top |
|
 |
harsha8127 |
Posted: Tue Jul 03, 2018 3:30 am Post subject: Re: Access not permitted. You are not authorized to perform |
|
|
Acolyte
Joined: 25 Nov 2013 Posts: 72
|
hughson wrote: |
harsha8127 wrote: |
Access not permitted. You are not authorized to perform this.(AMQ4036) |
This error that you have shown us is emitted by the MQ Explorer tool.
Please also show us what the queue manager on your AS/400 machine said.
If you are unsure how to do this, go to the WRKMQM panel and type 23 for Display logs in the space to the left of your queue manager name. This will take you to /QIBM/UserData/mqm/qmgrs/qmname/errors where you can type 5 for Display in the space to the left of the object AMQERR01.LOG. Type bot to scroll to the bottom of the error log and then page up to read the last thing reported by the queue manager. |
there is no error in the log file regarding this issue.
Quote: |
When you say:-
harsha8127 wrote: |
My windows user is a root and admin user with all rites and a MQM member |
do you mean that a user ID with the same name as your logon on the windows machine exists on the AS/400 machine and on there it has all rights and is a member of the QMQMADM group?
Cheers,
Morag |
no, my windows user which iam logging in windows server is a admin user which has all authorities to perform MQ.[/quote] |
|
Back to top |
|
 |
rammer |
Posted: Tue Jul 03, 2018 3:36 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
You need the correct permissions on the AS400 machine for authentication to the Queue Managers. Have you checked logs on AS400? |
|
Back to top |
|
 |
harsha8127 |
Posted: Tue Jul 03, 2018 3:45 am Post subject: |
|
|
Acolyte
Joined: 25 Nov 2013 Posts: 72
|
rammer wrote: |
You need the correct permissions on the AS400 machine for authentication to the Queue Managers. Have you checked logs on AS400? |
i have given *PUBLIC" authentication for all the queue managers.No restrictions. |
|
Back to top |
|
 |
hughson |
Posted: Tue Jul 03, 2018 6:40 pm Post subject: Re: Access not permitted. You are not authorized to perform |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
harsha8127 wrote: |
hughson wrote: |
harsha8127 wrote: |
Access not permitted. You are not authorized to perform this.(AMQ4036) |
This error that you have shown us is emitted by the MQ Explorer tool.
Please also show us what the queue manager on your AS/400 machine said.
If you are unsure how to do this, go to the WRKMQM panel and type 23 for Display logs in the space to the left of your queue manager name. This will take you to /QIBM/UserData/mqm/qmgrs/qmname/errors where you can type 5 for Display in the space to the left of the object AMQERR01.LOG. Type bot to scroll to the bottom of the error log and then page up to read the last thing reported by the queue manager. |
there is no error in the log file regarding this issue. |
Possible your V6.0 queue manager is too old and it is before the time all authorization errors were written to the error log. May I suggest you turn on authority events on the queue manager to see what the error is reported as?
harsha8127 wrote: |
hughson wrote: |
When you say:-
harsha8127 wrote: |
My windows user is a root and admin user with all rites and a MQM member |
do you mean that a user ID with the same name as your logon on the windows machine exists on the AS/400 machine and on there it has all rights and is a member of the QMQMADM group?
Cheers,
Morag |
no, my windows user which iam logging in windows server is a admin user which has all authorities to perform MQ. |
I am unclear how the authorities of your Windows user on your Windows Server is relevant when you are reporting an authority error on your AS/400 queue manager? Perhaps we don't fully understand your problem scenario. Perhaps you can expand a little more on your problem? I can see that you are using MQ Explorer. Are you able to connect to the queue manager with MQ Explorer? What action are you attempting to do with the MQ Explorer on your AS/400 queue manager when the error you describe is shown? What user ID will your SVRCONN be running with on the AS/400 end of the connection if it is not your windows login (i.e. how is your windows user id relevant in this problem scenario?) Do you have a blank MCAUSER, or something set in it?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
|