MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Error Message: AMQ8871E: Entity, principal, or group not recognized.

    Posted Mon September 04, 2023 06:27 AM

    Hi All,

    When I attempt to migrate a Queue Manager from one machine to another using IBM MQ, I encounter the following error message:

    AMQ8871E: Entity, principal, or group not recognized.

    Could you please provide guidance on a quick fix for this issue?

    Thank you.



    ------------------------------
    Hosh Mohammad
    ------------------------------


  • 2.  RE: Error Message: AMQ8871E: Entity, principal, or group not recognized.

    Posted Mon September 04, 2023 07:01 AM

    The error message should tell you what group or principal it tried to authorize. 

    By default, IBM MQ expects users that are connecting to exist on the underlying OS. If a application connects as a user and it does not exist then you will see the above error. You can fix this by either: 

    • Connecting as a different user
    • Creating the user on the OS underneath and assigning it to groups that you then provide authorities for.



    ------------------------------
    Rob Parker
    Security Architect, IBM MQ Distributed
    IBM UK Ltd
    ------------------------------



  • 3.  RE: Error Message: AMQ8871E: Entity, principal, or group not recognized.

    Posted Tue September 05, 2023 02:28 AM
    Edited by Mayur RAJA Tue September 05, 2023 02:30 AM

    Hi Hosh,
    This error can also occur if you have a MQSC command (maybe a SET AUTHREC command) that specifies a valid principal or group name that contains lowercase letters, but which has not been specified within single quotes. So, the uppercased principal or group may be being searched for but because it does not exist, you see the error message. 

    As stated here: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=commands-mqsc-command-syntax, MQSC syntax requires that lowercase characters (and some special characters) are specified within single quotation marks. It would be good to check that your commands are using the correct syntax. Thank you.

    ------------------------------
    Mayur RAJA
    ------------------------------