Author |
Message
|
anandrajmohan |
Posted: Wed Jun 22, 2011 1:59 am Post subject: AMQ7077: You are not authorized to perform the requested ope |
|
|
 Newbie
Joined: 09 Jan 2007 Posts: 9 Location: Chennai, India
|
Hi,
I am trying to create a Queue manager using a user which is part of mqm group in Linux (64bit) server.
I am getting the below error:
AMQ7077: You are not authorized to perform the requested operation.
All the directory permissions are proper.
The MQ version is 7.0.1.3
Can someone help?
Regards,
ARM |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jun 22, 2011 3:41 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
I hope you have newly installed mq on the server.
(go for the latest version of mq).
If you've added a user to mqm, and you can not create the mq qmgr still, you may need to restart the server to get the OAM to refresh the security.
Better you Logout and Login !
Hope you are not doing it using some script which does not have permissions !
Hope your user id is not root !
 _________________ *Life will beat you down, you need to decide to fight back or leave it.
Last edited by shashivarungupta on Wed Jun 22, 2011 3:50 am; edited 1 time in total |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jun 22, 2011 3:46 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Few months ago.. I did face similar issue.. here is the link to that.. that would be helpful, I believe !
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
exerk |
Posted: Wed Jun 22, 2011 3:53 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
shashivarungupta wrote: |
If you've added a user to mqm, and you can not create the mq qmgr still, you may need to restart the server to get the OAM to refresh the security. |
That's a new one on me...
shashivarungupta wrote: |
Better you Logout and Login ! |
Now that I agree with. _________________ 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 |
|
 |
fjb_saper |
Posted: Wed Jun 22, 2011 10:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
exerk wrote: |
shashivarungupta wrote: |
If you've added a user to mqm, and you can not create the mq qmgr still, you may need to restart the server to get the OAM to refresh the security. |
That's a new one on me...
shashivarungupta wrote: |
Better you Logout and Login ! |
Now that I agree with. |
And if you added the user to the group after the qmgr was started you may have to run the refresh security command on the qmgr...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
anandrajmohan |
Posted: Thu Jun 23, 2011 4:25 am Post subject: MQ7077: You are not authorized to perform the requested oper |
|
|
 Newbie
Joined: 09 Jan 2007 Posts: 9 Location: Chennai, India
|
Hi shashivarungupta,
Did u solve it by giving proper sticky bit permissions to MQ directories?
Rgds,
ARM |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 23, 2011 4:56 am Post subject: Re: MQ7077: You are not authorized to perform the requested |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
anandrajmohan wrote: |
Hi shashivarungupta,
Did u solve it by giving proper sticky bit permissions to MQ directories?
|
For me, the problem was with ID that was being created by aix admin. mqm id was not the member of mqm group. I didn't have sudo su - mqm (in our servers, it could be diff. to you) permissions either.
But later, logout and login did work for me.
You can do that including by checking the sticky bits as being said by FJ.
Still you are facing issue ?
How do you login ?
whats the status of the id as its member of some group ?
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 23, 2011 5:06 am Post subject: Re: MQ7077: You are not authorized to perform the requested |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
anandrajmohan wrote: |
... giving proper sticky bit permissions to MQ directories? |
As documented, WMQ installation and qmgr creation sets appropriate permission bits. Sysadmins changing these permissions will/may lead to filesystem corruption. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 23, 2011 8:10 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
@anandrajmohan Following link you can *read* carefully as it has got more information on file system and access details including sticky bit. here &
here
Above link also proves the important point, mentioned by bruce2359 !
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|