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 » IBM MQ Installation/Configuration Support » Maxhandles set to 1 and now I'm locked out of queue manager.

Post new topic  Reply to topic
 Maxhandles set to 1 and now I'm locked out of queue manager. « View previous topic :: View next topic » 
Author Message
gpklos
PostPosted: Thu Mar 03, 2005 8:15 am    Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I know I'm stupid for doing this.

I tried changing the Maxhandles for a queue manager to 1. Apparently the change took affect, but now I can't look at or alter anything on the queue manager, including the queue manager itself. I was trying to see whether have a maxhandle of 1 would only effect each thread or the combination of threads. Either way, how do I change the value of MAXHANDLES, if I can't get to the queue manager. I tried running a BATCH RUNMQSC via CSQUTIL, but it just waits indefinitely. How can I do this? I don't want to have to rebuild the queue manager from scratch.

Thanks,
Gary
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 03, 2005 9:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

When I lock my only set of car keys inside the car...

I call a locksmith.

So open a PMR.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
malammik
PostPosted: Thu Mar 03, 2005 9:04 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

That is stupid man. What platform are you running MQ on?
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
bower5932
PostPosted: Thu Mar 03, 2005 9:19 am    Post subject: Re: Maxhandles set to 1 and now I'm locked out of queue mana Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

gpklos wrote:
I tried running a BATCH RUNMQSC via CSQUTIL


Doesn't this mean he's running on zOS?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
malammik
PostPosted: Thu Mar 03, 2005 10:01 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Most likely. Let's wait.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Thu Mar 03, 2005 10:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

malammik wrote:
Most likely. Let's wait.


Do you have a different answer for different platforms? I'd think that regardless of the platform, the only resolution will be to stop everything that might need a handle on the QM, and then try RUNMQSC again.

This includes listeners, chins, trigger monitors, and... well almost everything else.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Mar 03, 2005 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I would go with Jeff's approach...close down everything that is using (or trying to use) the queue manager and run your CSQUTIL again (or runmqsc depending on the platform). Remember that MQ 'takes it's own medicine' and uses the exact same API's for its channels as a users application program uses...therefore they have to also have to open a connection.

Good luck

On a lighter note....when you are finished write this on a white board and read it out loud three times

"O wattana Siam"

Back to top
View user's profile Send private message
malammik
PostPosted: Thu Mar 03, 2005 10:48 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Value of QMANAGER file under /var/mqm/qmgrs/MQ03/qmanager when Maxhands is 1000
00000000 4C514D41 05000000 4D513033 20202020
00000016 20202020 20202020 20202020 20202020
00000032 20202020 20202020 20202020 20202020
00000048 20202020 20202020 20202020 20202020
00000064 20202020 20202020 20202020 20202020
00000080 20202020 20202020 20202020 20202020
00000096 20202020 20202020 20202020 20202020
00000112 20202020 20202020 03000000 00000000
00000128 FFC99A3B 53595354 454D2E44 4541442E
00000144 4C455454 45522E51 55455545 20202020
00000160 20202020 20202020 20202020 20202020
00000176 20202020 09000000 53595354 454D2E41
00000192 444D494E 2E434F4D 4D414E44 2E515545
00000208 55452020 20202020 20202020 20202020
00000224 20202020 20202020 B8040000 E8030000
Payclose attention to E8030000.
Now with MAXHANDS 1001
00000000 4C514D41 05000000 4D513033 20202020
00000016 20202020 20202020 20202020 20202020
00000032 20202020 20202020 20202020 20202020
00000048 20202020 20202020 20202020 20202020
00000064 20202020 20202020 20202020 20202020
00000080 20202020 20202020 20202020 20202020
00000096 20202020 20202020 20202020 20202020
00000112 20202020 20202020 03000000 00000000
00000128 FFC99A3B 53595354 454D2E44 4541442E
00000144 4C455454 45522E51 55455545 20202020
00000160 20202020 20202020 20202020 20202020
00000176 20202020 09000000 53595354 454D2E41
00000192 444D494E 2E434F4D 4D414E44 2E515545
00000208 55452020 20202020 20202020 20202020
00000224 20202020 20202020 B8040000 E9030000

But if he is not on Unix or windows, this is useless.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
gpklos
PostPosted: Thu Mar 03, 2005 10:59 am    Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I'm on zos 1.5. Thanks for the support and reinforcement of my "stupidity". This is only a test queue manager that I use, and I was experimenting. I certainly would not have done this with a production box. So far IBM had 1 recommendation to change the initialization parameters on startup, but that didn't work. Maybe they will come up with something else.

Gary
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Mar 03, 2005 11:41 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Gary

Did you try to close down the CHIN and CICS/IMS regions that use MQ?

I would also restrict who can log on to the box while you repair it too (if possible) as they may be using the TSO ISPF interface and getting in your way.

When you tried putting the ALTER for the queue manager in the startup deck (CSQINP1) what happened?

Other than that if you aren't too bothered about any messages that may be out there how easy would it be to restore from a known good backup?
Back to top
View user's profile Send private message
gpklos
PostPosted: Fri Mar 04, 2005 4:30 am    Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

When I made the change to CSQINP1, it didn't work. It said command cannot be issued from CSQINP1. So I tried putting it as the first statement in CSQINP2, and it worked. So I guess that is the answer. In answer to did I stop all other processes, yes I stopped everything.
Thanks for all the responses and help
Gary
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 » IBM MQ Installation/Configuration Support » Maxhandles set to 1 and now I'm locked out of queue manager.
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.