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.  New MQ install cannot create test queue manager

    Posted Wed January 05, 2022 08:14 AM
    I just recently installed MQ server 9.1 on a test Linux server, once installed I am trying to create a test queue manager but get this error:

    ./crtmqm QMA
    AMQ7077E: You are not authorized to perform the requested operation.

    I verified that I was in the mqm group, the id I am using is my AD account, I also created a mqm account.

    Probably something I forgot to perform after the install.

    Thanks.


  • 2.  RE: New MQ install cannot create test queue manager

    Posted Wed January 05, 2022 11:09 AM
    I think I figured it out, but would like to be able to use my own id to created MQ objects, I ran this command to sudo to the MQ id:

    sudo -u mqm -s

    It allowed me to create the object.


  • 3.  RE: New MQ install cannot create test queue manager

    Posted Wed January 05, 2022 03:41 PM
    Did you log off and on again after adding your user id to the mqm group?

    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 4.  RE: New MQ install cannot create test queue manager

    Posted Wed January 05, 2022 03:55 PM
    No that did not work either, I had to sudo to the mq account to be able to create the queue. I have another issue when trying to connect to the new queue manager in MQ explorer, I created a listener and a server channel, however I placed my p_sminix account in the channel auth table:

    display CHLAUTH(CHAN2)
    17 : display CHLAUTH(CHAN2)
    AMQ8878I: Display channel authentication record details.
    CHLAUTH(CHAN2) TYPE(ADDRESSMAP)
    DESCR( ) CUSTOM( )
    ADDRESS(10.131.172.62) MCAUSER(p_sminix)
    USERSRC(MAP) CHCKCLNT(ASQMGR)
    ALTDATE(2022-01-05) ALTTIME(14.49.35)

    Is there a way to remove or alter the chan definition and place the mq account in the table, I think it will allow me to make the connection?

    Again new to this so learning as I go.

    Thanks.


  • 5.  RE: New MQ install cannot create test queue manager

    Posted Thu January 06, 2022 05:58 AM
    Hi, you can use ACTION(REPLACE) on the SET CHLAUTH and replace the entire CHLAUTH.

    Brian

    ------------------------------
    Brian S Paskin
    Sr. Web Engineer
    IBM Tech Garage
    ------------------------------



  • 6.  RE: New MQ install cannot create test queue manager

    Posted Thu January 06, 2022 07:26 AM
    Thanks that helped, I was able to change the auth record on the channel and I am able to connect to the queue manager via MQ Explorer.


  • 7.  RE: New MQ install cannot create test queue manager

    Posted Fri January 07, 2022 05:35 AM
    Edited by Matthias Jungbauer Fri January 07, 2022 05:36 AM
    So your AD account is a member of mqm when you got the not authorized error message?

    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 8.  RE: New MQ install cannot create test queue manager

    Posted Fri January 07, 2022 07:50 AM
    Yes that is correct.