ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ SupportMessages stuck n cluster xmit q SYSTEM.CHANNEL.INITQ damage

Post new topicReply to topic
Messages stuck n cluster xmit q SYSTEM.CHANNEL.INITQ damage View previous topic :: View next topic
Author Message
MABeatty1978
PostPosted: Fri Oct 28, 2016 10:15 am Post subject: Messages stuck n cluster xmit q SYSTEM.CHANNEL.INITQ damage Reply with quote

Acolyte

Joined: 17 Jul 2014
Posts: 52

I have a bunch of messages stuck in the cluster tranmission queue. In the logs I see:
-------------------------------------------------------------------------------
10/28/2016 02:07:35 PM - Process(10249.1) User(mqm) Program(runmqchi)
Host(pos4359)
AMQ9509: Program cannot open queue manager object.

EXPLANATION:
The attempt to open either the queue or queue manager object
'SYSTEM.CHANNEL.INITQ' on queue manager 'PROD_POS4359_QM' failed with reason
code 2101.
ACTION:
Ensure that the queue is available and retry the operation.


Any advice how to proceed?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Oct 28, 2016 11:19 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8344
Location: US: west coast, almost. Otherwise, enroute.

Does your sender channel definition name SYSTEM.CHANNEL.INITQ as the transmission queue? It shouldn't. The SYSTEM.CHANNEL.INITQ is used as a trigger event queue, and not a transmission queue.

Post your sender channel definition here.
_________________
There are two types of people in this world:
1) Those that can extrapolate from incomplete data
Back to top
View user's profile Send private message
hughson
PostPosted: Sun Oct 30, 2016 1:58 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1049
Location: Bay of Plenty, New Zealand

The error message is written by the Channel Initiator (runmqchi) so I don't think it is being used as a transmission queue. The Channel Initiator is the process that is supposed to be reading the SYSTEM.CHANNEL.INITQ.

Given that the queue is damaged (MQRC 2101) you need to resolve that.

If you have some cluster channels not running (shown by the fact that you have messages stuck in the cluster transmission queue) you can manually start the channels in the mean time until you get your Channel Initiator fixed.

If you don't know what channels need to be started to move the stuck messages, try the command:-
Code:
DISPLAY CHSTATUS(*) WHERE(XQMSGSA > 1)


Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sun Oct 30, 2016 7:16 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19928
Location: LI,NY

hughson wrote:
The error message is written by the Channel Initiator (runmqchi) so I don't think it is being used as a transmission queue. The Channel Initiator is the process that is supposed to be reading the SYSTEM.CHANNEL.INITQ.

Given that the queue is damaged (MQRC 2101) you need to resolve that.

If you have some cluster channels not running (shown by the fact that you have messages stuck in the cluster transmission queue) you can manually start the channels in the mean time until you get your Channel Initiator fixed.

If you don't know what channels need to be started to move the stuck messages, try the command:-
Code:
DISPLAY CHSTATUS(*) WHERE(XQMSGSA > 1)


Cheers
Morag

Given the fact that the object is damaged it is well possible that the channel won't start.

If you run with linear logging you can recover the object.
Otherwise you may have to delete and recreate the object (and loose the messages awaiting transmission)...

<edit> and loose the messages on the queue (not awaiting transmission)... Thanks Morag
Was focused on SCTQ as I had a case of a bad queue there (but no clustering involved)...</edit>

Have fun
_________________
MQ & Broker admin


Last edited by fjb_saper on Tue Nov 01, 2016 5:10 am; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Sun Oct 30, 2016 7:46 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1049
Location: Bay of Plenty, New Zealand

fjb_saper wrote:
Otherwise you may have to delete and recreate the object (and loose the messages awaiting transmission)...

There are no messages awaiting transmission on the SYSTEM.CHANNEL.INITQ. The worst thing you can lose is a few trigger messages, and you can manually start the channels that didn't get started.

There are no user messages on the SYSTEM.CHANNEL.INITQ.

Stopping and restarting the queue manager might be a good plan once the object is fixed, to regenerate any missing trigger messages.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Andyh
PostPosted: Mon Oct 31, 2016 1:48 am Post subject: Reply with quote

Disciple

Joined: 29 Jul 2010
Posts: 158

If a queue is damaged then there should be FDC's detailing what damage has occurred. Unless you've been deploying some very dubious practices (such as manually deleting MQ owned files) then these FDC's should be reported to MQ support and more fully investigated (otherwise who's to say when the issue might next occur, and with what effect).

A damaged object indicates some inconsistency in the objects state, this might be an issue with the state in memory or on disk. 'Simply' restarting the queue manager might resolve the damage ( for example if it was the memory image that was corrupt), or the object might need to be recovered (or deleted and redefined). As there's no 'persistent' state on an INITQ then deleting and redefining shouldn't be significantly different from recovering form linear logs (if applicable).
Back to top
View user's profile Send private message
MABeatty1978
PostPosted: Mon Oct 31, 2016 5:49 am Post subject: Reply with quote

Acolyte

Joined: 17 Jul 2014
Posts: 52

fjb_saper wrote:

If you run with linear logging you can recover the object.
Otherwise you may have to delete and recreate the object (and loose the messages awaiting transmission)...

Have fun


Thank you for this. I was unable to determine root cause, but by running rcrmqobj, I was able to recreate the queue upon which all of my cluster channels fired up and the stuck messages were sent on the merry way.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportMessages stuck n cluster xmit q SYSTEM.CHANNEL.INITQ damage
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.