Author |
Message
|
ipmqadm |
Posted: Tue Jul 26, 2011 10:22 am Post subject: Channel Status on non-existent channel??? |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
Here is the setup:
MQ v7.0 running on a Windows 2003 server.
dis chs(NTTMRC02.MQ400078)
1 : dis chs(NTTMRC02.MQ400078)
AMQ8417: Display Channel Status details.
CHANNEL(NTTMRC02.MQ400078) CHLTYPE(SDR)
CONNAME(S1020429.xxx.LOCAL(1414)) CURRENT
RQMNAME( ) STATUS(STOPPED)
SUBSTATE( ) XMITQ(MQ400078)
start CHANNEL(NTTMRC02.MQ400078)
2 : start CHANNEL(NTTMRC02.MQ400078)
AMQ8227: Channel NTTMRC02.MQ400078 not found.
WHAT??? NOT FOUND????
dis chs(NTTMRC02.MQ400078) all
4 : dis chs(NTTMRC02.MQ400078) all
AMQ8417: Display Channel Status details.
CHANNEL(NTTMRC02.MQ400078) CHLTYPE(SDR)
BATCHES(0) BATCHSZ(50)
BUFSRCVD(0) BUFSSENT(0)
BYTSRCVD(0) BYTSSENT(0)
CHSTADA(2010-05-07) CHSTATI(19.30.29)
COMPHDR(NONE,NONE) COMPMSG(NONE,NONE)
COMPRATE(0,0) COMPTIME(0,0)
CONNAME(S1020429.ABC.LOCAL(1414)) CURLUWID(0000000000000
CURMSGS(0) CURRENT
CURSEQNO(0) EXITTIME(0,0)
HBINT(300) INDOUBT(NO)
JOBNAME(0000265000000DC8) LOCLADDR( )
LONGRTS(999999999) LSTLUWID(0000000000000
LSTMSGDA( ) LSTMSGTI( )
LSTSEQNO(0) MCASTAT(NOT RUNNING)
MONCHL(OFF) MSGS(0)
NETTIME(0,0) NPMSPEED(FAST)
RQMNAME( ) SHORTRTS(10)
SSLCERTI( ) SSLKEYDA( )
SSLKEYTI( ) SSLPEER( )
SSLRKEYS(0) STATUS(STOPPED)
STOPREQ(NO) SUBSTATE( )
XBATCHSZ(0,0) XMITQ(MQ400078)
XQTIME(0,0)
ONE MORE TIME....
dis chl(NTTMRC02.MQ400078)
5 : dis chl(NTTMRC02.MQ400078)
AMQ8147: WebSphere MQ object NTTMRC02.MQ400078 not found.
STILL NOT FOUND...
I've never seen this before where a display of the channel status will display a channel that obviously didn't exist.
I'm issuing these commands via a command prompt so that SHOULD rule out a caching issue I would think in my limited windows admin knowledge.
Has anyone seen this before?
I can't bounce the QM now, but I'm assuming that will remove the ghost channel from the status command... |
|
Back to top |
|
 |
exerk |
Posted: Tue Jul 26, 2011 10:29 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What does the 'other' end of the channel say in regard to status? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 26, 2011 1:00 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
For that non existing channel have you tried
Code: |
dis chs(NTTMRC02.MQ400078) current
dis chs(NTTMRC02.MQ400078) saved |
You might find that you get 2 very different responses...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Jul 26, 2011 9:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
The channel definition and the channel status are stored in different places in the queue manager. Seems its possible for status records to exist for a channel definition which has been deleted. _________________ Glenn |
|
Back to top |
|
 |
ipmqadm |
Posted: Thu Jul 28, 2011 12:03 pm Post subject: |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
I would have thought that once the qmgr bounced that the channel status for the non-existent channel would go away, but the channel status remains even after a bounce of the qmgr...
Is there a way to get rid of the channel status for the non-existent channels? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jul 28, 2011 12:40 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Recreate the channel.
Stop it. (yeah, I know it won't be running. Get it into a STOPPED state.)
Delete it.
I think that should work. I remember doing something like that years ago.
There may be a better, more official way. If this is a production system, open a PMR ticket with IBM instead of doing something some stranger on the internet suggested. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
ipmqadm |
Posted: Fri Jul 29, 2011 6:00 am Post subject: |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
PeterPotKay,
YOU ARE THE MAN....
Thanks for that tip. It worked.
Whether or not it is the 'official' way it should be done, it is now the way IT WILL BE DONE to clear out this condition.
Many thanks... |
|
Back to top |
|
 |
T1sh0 |
Posted: Fri Aug 12, 2011 2:19 pm Post subject: |
|
|
Newbie
Joined: 12 Aug 2011 Posts: 1
|
Hello Acolyte,
I know that I am a bit late with any suggestion....I just registered myself to the site.
The other day, I had the same issue...and guess what???
The reason for it was that when I created a channel for example:
define channel('test.sdr')
I have written the name in quotes. This is why you couldn't start the channel, because you have quoted the wrong name.
I am confident that if you try the same with creating a queue with 'queue name', it doesn't matter qremote or local. And then you try to check out the queue dis qr(queue name) without the quotes. You will get similar error.
Of course channel deletion and recreation is a bit harsh, but sure way of solving the same.
I hope this helps.
Regards |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Aug 12, 2011 2:36 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
T1sh0 wrote: |
Hello Acolyte,
The reason for it was that when I created a channel for example:
define channel('test.sdr')
|
This is a valid definition.
Putting apostrophes around an object name ensures that the name will remain in lower-case. If you omit the apostrophes, the object name you type will be folded into UPPER-CASE. This is working as documented. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|