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 Index » General IBM MQ Support » Could not open queue and RC 2042

Post new topic  Reply to topic
 Could not open queue and RC 2042 « View previous topic :: View next topic » 
Author Message
sakthi_sarathi
PostPosted: Mon Mar 16, 2009 8:22 am    Post subject: Could not open queue and RC 2042 Reply with quote

Novice

Joined: 07 Dec 2008
Posts: 16

my publisher and consumer processes are running on same machine and using same SVRCONN channel. QMGR running on different machine.

QMGR machine doesn't reboot weekly, but after the application machine reboots, the consumer process not coming up. Once I bounced SVRCONN channel, process able to connect. I think issue was the old conections not released by QMGR...?

How should resolve this? should i set-up weekly reboot for QMGR machine?
or something to do with KEEP ALIVE value ?

Thanks in Advance for
Back to top
View user's profile Send private message
sumit
PostPosted: Mon Mar 16, 2009 8:30 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

The error seems to be with client application. It has to release mq connection before ending.

How many connections were running when you bounced SVRCONN channel?
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
sakthi_sarathi
PostPosted: Mon Mar 16, 2009 8:39 am    Post subject: How many connections were running when you bounced SVRCONN c Reply with quote

Novice

Joined: 07 Dec 2008
Posts: 16

arround 25 connections...QMGR recently moved to Linux machine.

Something to do with tcp_keepalive_time ? as per below link i don't find ALTER QMGR TCPKEEP(YES) in my QMGR..

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/ic11730_.htm
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Mar 18, 2009 1:42 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

As per the link, the TCPKEEP setting is for Z/OS QMs, but you say you're on Linux so you should be using the KEEPALIVE=YES setting:

Quote:
For this attribute to have any effect, TCP/IP keepalive must be enabled. On z/OS®, you do this by issuing the ALTER QMGR TCPKEEP(YES) MQSC command. On other platforms, it occurs when the KEEPALIVE=YES parameter is specified in the TCP stanza


but I dont think this setting will help..... and agree with the earlier comment that it seems to be more likely related to an application not closing the connection correctly. If you look at the channel status, you will be able to see when connection was started, I bet if you dont restart your QM for a while, you will have some old connections in here. Simply restarting the app server may not clear these connections as they should be closed properly when they are no longer needed
Back to top
View user's profile Send private message
sakthi_sarathi
PostPosted: Fri Mar 20, 2009 2:34 am    Post subject: Reply with quote

Novice

Joined: 07 Dec 2008
Posts: 16

Thanks for your comments..

Why do we set KEEPALIVE=YES, is that will drop the connection on QMGR side? if so QMGR never knew whether the connection at the other end got disconnected..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Could not open queue and RC 2042
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.