Author |
Message
|
Keka |
Posted: Wed Sep 17, 2003 6:04 pm Post subject: 2009 error on solaris |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
Hi ,
I have MQ 5.3 CSD3 on sunsolaris. I am getting 2009 error when try to use client connection. There are 6 queue managers on that server.
This connection was working until day before yesterday and there was not a single change made to it. All of a sudden we are seeing 2009 error when try to connect.
When I check the error files, it gives me that the channel does not exist.
I checked and confirmed that the channel was existant.
I think it has to do with some resources. I checked the max active channel etc. everything is left to default. Also there are not many channels running..
I tested it using MQSERVER also and it also fails with the same error.
If I try the same on another queue Manager on the same server, it works..
Any Idea?? _________________ Keka |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 18, 2003 5:17 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I would guess that somebody 'accidentally' deleted your channel and recreated it. The spelling is probably close but not quite exact. Take a closer look and see if that is it. |
|
Back to top |
|
 |
Keka |
Posted: Thu Sep 18, 2003 6:28 am Post subject: |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
Unfortunately not.. I looked at the alter time etc on the channel. Also When I tried using the channel, i copied it form the output of dis chl(*) command. So there is no chance for typo. I am suspecting it to be some resource problem, but I can be wrong.. _________________ Keka |
|
Back to top |
|
 |
Leafar |
Posted: Thu Sep 18, 2003 6:34 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
The error 2009 (MQRC_CONNECTION_BROKEN) is an listener error, not channel
Try shutting down the listener and restart.
Saludos
Rafael |
|
Back to top |
|
 |
Keka |
Posted: Fri Sep 19, 2003 7:04 am Post subject: |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
Well here is the interesting twist to that. We finally bounced the queue manager to see if that works.
Now the C sample application amqsputc works but the java app does not.
For example MQVisual Edit gives me 2009 error.
As for the Listener, we are using inetd daemon. Are you suggesting to bounce the inetd??
Any Ideas?? _________________ Keka |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Sep 19, 2003 8:34 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
You may have max-ed out on your channel connections (you get 2009 when the limit is reached). The default max channels is 100. I recently had a client program spin out of control and use up all of the channels.
Don't forget that max channel attribute applies to ALL channel connections for a queue manager. A quick and dirty way to check the number of incoming channels is to do the following from a Unix shell:
Code: |
netstat -a | grep 1414 | wc -l |
Note: Use the correct port for your queue manager. This set of commands will return a single number. i.e. 84 This will give you an idea if you are max-ing out or not.
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|