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.  MQ 9311 - the channels remain inactive

    Posted Mon January 30, 2023 03:27 PM
    Good day,

    Yesterday I downloaded and installed latest MQ for Windows, but cannot start channels via MQ Explorer and MQSC command - after the request reported submitted, but the channels remain inactive. Require the channels to use RFH utility and create remote queues. Creating new channel from the channels templates does not help to change this.

    No record regarding this issue is found in the MQ error log. 

    Cannot recall anything like this in the past .. Will appreciate your advise

    Thank you for your time

    Leonard

    ------------------------------
    Leonard Solomyak
    ------------------------------


  • 2.  RE: MQ 9311 - the channels remain inactive

    Posted Mon January 30, 2023 07:31 PM
    Edited by Morag Hughson Mon January 30, 2023 07:31 PM

    Hi Leonard,

    This is all highly dependant on the type of channel. If your channel is a Sender channel, then this does indeed sound wrong. You should look in your queue manager's AMQERR01.LOG to see what error messages have been written to describe the problem about why the Sender channel was unable to start. However, I would also expect in this case for the Sender channel to go into "Retrying" status rather than remaining in "Inactive" status.

    I suspect actually that you are talking about a Server-Connection (SVRCONN) channel. The fact that you mention the channels are to be used with the RFHUtil program and an administrative tool to create object definitions, suggests very strongly that this is the queue manager end of a client channel.

    For a Server-Connection (SVRCONN) channel, it will only be in "Running" status when the client application does an MQCONN(X) and will stay that way until the client application disconnects. All you are doing when using the START CHANNEL command against such a channel is to "Enable it to be used". This is only necessary if you have previously got the channel into a disabled state (Status = "Stopped") through using the manual STOP CHANNEL command.

    In short, if your Server-Connection (SVRCONN) channel has Status="Inactive" (or is not mentioned as having any status - depending on how the tool you are using conveys it) then you are good to go - client applications will be able to use it and make their connection to the queue manager through that channel.

    Have you tried running the client application to see what happens?

    P.S. If this is your first time using MQ in a while, you may discover that your client channels can't connect for security reasons - these days MQ has a "secure by default" policy for remote connections. Pay attention to the MQRC that the client application reports, and if it is 2035, take a good look at your queue manager AMQERR01.LOG. You may find the following articles helpful with your next steps (or ask on here of course).

    Cheers,
    Morag

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



  • 3.  RE: MQ 9311 - the channels remain inactive

    Posted Tue January 31, 2023 02:42 AM
    Hi Hughson,

    Thank you so much for the timely response !! You are 100% in addressing my query. I have not worked with MQ since it' version 7 and forgot a few basics ..
    Struggled a bit with RFH connection format, but came right.

    Indeed, 2035 occurred but was mitigated with CHLAUTH(DISABLED). I cannot recall this had happened in version 7 and earlier.

    Thereafter, SVRCONN appeared Running.    

    Much appreciate your help !
    Leonard

    ------------------------------
    Leonard Solomyak
    ------------------------------



  • 4.  RE: MQ 9311 - the channels remain inactive

    Posted Tue January 31, 2023 04:16 AM

    Hi Leonard,

    Glad to hear you are up and running.

    If I remember correctly, the CHLAUTH feature (the first of the "remote-secure-by-default" features) was added in MQ V7.1, so that would make sense that you had not seen it before if you were last using V7.0.

    I would of course encourage you, now that you are up and running, to consider learning how to use MQ without turning off the security features. :-)

    All the best,

    Cheers,
    Morag



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