ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AMQ8871: Entity, principal or group not known. (SET AUTHREC)

Post new topic  Reply to topic
 AMQ8871: Entity, principal or group not known. (SET AUTHREC) « View previous topic :: View next topic » 
Author Message
camauz
PostPosted: Sun Mar 11, 2012 12:50 pm    Post subject: AMQ8871: Entity, principal or group not known. (SET AUTHREC) Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Sun Mar 11, 2012 1:26 pm    Post subject: Re: AMQ8871: Entity, principal or group not known. (SET AUTH Reply with quote

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
View user's profile Send private message
camauz
PostPosted: Sun Mar 11, 2012 1:37 pm    Post subject: Re: AMQ8871: Entity, principal or group not known. (SET AUTH Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQ8871: Entity, principal or group not known. (SET AUTHREC)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.