|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AMQ8871: Entity, principal or group not known. (SET AUTHREC) |
« View previous topic :: View next topic » |
Author |
Message
|
camauz |
Posted: Sun Mar 11, 2012 12:50 pm Post subject: AMQ8871: Entity, principal or group not known. (SET AUTHREC) |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
Dear all,
I'm playing with WebSphere MQ 7.1 (trial) installed on Linux CentOS 6.2 (equivalent to RHEL 6.2) and I've found an error I'm not able to debug.
Following the instructions of this page:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Fcs13270_.htm
I'm trying the client/server connection.
The manual asks me to use the SET AUTHREC command:
Quote: |
Allow the non-mqm-user that you created in step 1 to use QUEUE1 by entering the following command: SET AUTHREC PROFILE(QUEUE1) OBJTYPE(QUEUE) PRINCIPAL(non-mqm-user) AUTHADD(PUT,GET) where non-mqm-user is the user ID created in step 1. A message tells you when the authorisation has been set. You must also run the SET AUTHREC OBJTYPE(QMGR) PRINCIPAL(non-mqm-user) AUTHADD(CONNECT) command in order to add connect authority to the non-mqm-user. if this command isn’t run, a 2305 stop error will be returned.
|
my user is "tiian":
[tiian@centos ~]$ id
uid=500(tiian) gid=500(tiian) groups=500(tiian)
it's a user compliant with the requirements of step 1:
Quote: |
Create a user ID on the server that is not in the mqm group.
|
this command should work:
SET AUTHREC OBJTYPE(QMGR) PRINCIPAL(tiian) AUTHADD(CONNECT)
but the output of runmqsc is:
5 : SET AUTHREC OBJTYPE(QMGR) PRINCIPAL(tiian) AUTHADD(CONNECT)
AMQ8871: Entity, principal or group not known.
looking for message AMQ8871 in page http://publib.boulder.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Famq8.htm
it seems AMQ8871 is not documented. The search feature of Infocenter returns no results as well.
No errors in /var/mqm/errors nor in /var/mqm/qmgrs/LIXA/errors.
Any hint is greatly appreciated.
Regards.
Ch.F. |
|
Back to top |
|
 |
mvic |
Posted: Sun Mar 11, 2012 1:26 pm Post subject: Re: AMQ8871: Entity, principal or group not known. (SET AUTH |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
If you want to supply lowercase input in runmqsc commands, you have to provide it in single quotes.
Eg:
DEF QL('myqueue') |
|
Back to top |
|
 |
camauz |
Posted: Sun Mar 11, 2012 1:37 pm Post subject: Re: AMQ8871: Entity, principal or group not known. (SET AUTH |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
mvic wrote: |
If you want to supply lowercase input in runmqsc commands, you have to provide it in single quotes.
Eg:
DEF QL('myqueue') |
great, thanks, now it works!!!  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|