MQ

 View Only
  • 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 16 days ago
    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

    InnerCircle
    Posted 16 days ago

    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 15 days ago
    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 13 days ago
    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 13 days ago

    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 12 days ago
    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 12 days ago
    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 11 days ago
    > 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
    ------------------------------