MQ

 View Only
Expand all | Collapse all

Error while creating MFT Agent

  • 1.  Error while creating MFT Agent

    Posted Wed July 27, 2022 06:43 AM

    Hi All,

    While creating the MFT agent fteCreateAgent ran the command getting below error. Can you please any one help to solve the below error,

    BFGMQ1041E: An attempt to connect to queue manager 'QMGR2' with user ID 'kishore2' has been rejected because of invalid authentication details. Valid user ID and password details must be supplied in the credentials file.



    ------------------------------
    yagnakishore arikati
    ------------------------------


  • 2.  RE: Error while creating MFT Agent

    Posted Wed July 27, 2022 07:02 AM
    It means userId kishore2 does not have authority to connect to queue manager QMGR2. Where is the queue manager running? on the same machine as your agent? How is the agent configured to connect to queue manager - bindings or client mode - in other words, did you specify host, port and channel names when executing fteCreateAgent?

    ------------------------------
    Shashikanth Rao Thambrahalli
    IBM
    ------------------------------



  • 3.  RE: Error while creating MFT Agent

    Posted Fri January 20, 2023 12:37 PM
    BFGMQ1043W: An attempt to publish agent's presence to the coordination queue manager failed. The IBM MQ reason code was '2087'.
    BFGCL0254I: Agent configured successfully. The agent has not been registered with the coordination queue manager.

    ------------------------------
    yagnakishore arikati
    ------------------------------



  • 4.  RE: Error while creating MFT Agent

    Posted Fri January 20, 2023 04:18 PM

    You may want to look at using the :

     

    publicationMDUser

     

    Setting in the Agent.properties file.

     

    https://www.ibm.com/docs/en/ibm-mq/9.0?topic=reference-mft-agentproperties-file#properties__queue_props

     

     

    Best Regards

     

    Honda Bhyat



    ------------------------------
    Honda Bhyat
    Land O Lakes FL
    ------------------------------



  • 5.  RE: Error while creating MFT Agent

    Posted Sat January 21, 2023 12:07 AM
    MQRC 2087 means MQRC_UNKNOWN_REMOTE_Q_MGR. Are your agent and coordination queue managers different? If yes, are they interconnected - either using SDR/RCVR or cluster channels? See here for possible reasons for MQRC 2087.

    ------------------------------
    Shashikanth Rao Thambrahalli
    IBM
    ------------------------------



  • 6.  RE: Error while creating MFT Agent

    Posted Mon January 23, 2023 04:33 PM
    Thank you replying,
    MQ Version: 9.3.0.2
    Yes, I am using agent (command) and coordination qmgrs are different both are in cluster and created cluster channels between them. I have verified firewalls and ports are opened between the queue managers. I have followed your link even though getting same error. Could you please let me know what is next step to move on.

    ------------------------------
    yagnakishore arikati
    ------------------------------



  • 7.  RE: Error while creating MFT Agent

    IBM Champion
    Posted Mon January 23, 2023 05:23 PM

    If you have followed the link @Shashikanth Rao Thambrahalli gave you for the MQRC_UNKNOWN_REMOTE_Q_MGR and it didn't help you solve the problem, perhaps we should check out whether your cluster has fully resolved itself. It would be unusual for a queue manager who is a member of the cluster to not be able to be resolved.

    Can you issue the following command on the queue manager that is reporting the MQRC_UNKNOWN_REMOTE_Q_MGR.

    DISPLAY CLUSQMGR(*) DEFTYPE CHANNEL CONNAME STATUS

    Then in the output, we'd be interested to know whether there is a record for the queue manager you are failing to resolve.

    Cheers,
    Morag



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



  • 8.  RE: Error while creating MFT Agent

    Posted Tue January 24, 2023 10:43 AM
    DISPLAY CLUSQMGR(*) DEFTYPE CHANNEL CONNAME STATUS

    Ran above command and command and coordination queue manager are part of the cluster and channel communication is up and running. Still getting same error:
    BFGMQ1043W: An attempt to publish agent's presence to the coordination queue manager failed. The IBM MQ reason code was '2087'.
    BFGCL0254I: Agent configured successfully. The agent has not been registered with the coordination queue manager.




    ------------------------------
    yagnakishore arikati
    ------------------------------



  • 9.  RE: Error while creating MFT Agent

    Posted Tue January 24, 2023 08:09 PM
    Thanks for the information. How about the communication between the agent and coordination queue managers? Are they also in the same cluster and channels are up and running? fteCreateAgent command connects to agent queue manager to publish the presence of agent. This publication is then routed to coordination queue manager.

    ------------------------------
    Shashikanth Rao Thambrahalli
    IBM
    ------------------------------



  • 10.  RE: Error while creating MFT Agent

    Posted Wed January 25, 2023 12:14 PM
    > The agent has not been registered with the coordination queue manager.

      Be sure to check the Properties section of the agent output0.log and verify that the agent is trying to communicate with the correct Coordination QM.




    ------------------------------
    Bob Gibson
    ------------------------------



  • 11.  RE: Error while creating MFT Agent

    Posted Thu February 23, 2023 09:55 AM

    Hi All,

    Thank you for your response,

    Solution: The firewall bi-directional communication has been opening from command qmgr to coordination qmgr. 



    ------------------------------
    yagnakishore arikati
    ------------------------------



  • 12.  RE: Error while creating MFT Agent

    Posted Thu February 23, 2023 07:52 PM

    Yagnakishore:

      Thank you very much for sharing the solution.



    ------------------------------
    Bob
    ------------------------------