Author |
Message
|
gpklos |
Posted: Thu Mar 03, 2005 8:15 am Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 9:01 am Post subject: |
|
|
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 |
|
 |
malammik |
Posted: Thu Mar 03, 2005 9:04 am Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
bower5932 |
Posted: Thu Mar 03, 2005 9:19 am Post subject: Re: Maxhandles set to 1 and now I'm locked out of queue mana |
|
|
 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 |
|
 |
malammik |
Posted: Thu Mar 03, 2005 10:01 am Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 10:07 am Post subject: |
|
|
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 |
|
 |
kevinf2349 |
Posted: Thu Mar 03, 2005 10:34 am Post subject: |
|
|
 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 |
|
 |
malammik |
Posted: Thu Mar 03, 2005 10:48 am Post subject: |
|
|
 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 |
|
 |
gpklos |
Posted: Thu Mar 03, 2005 10:59 am Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. |
|
|
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 |
|
 |
kevinf2349 |
Posted: Thu Mar 03, 2005 11:41 am Post subject: |
|
|
 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 |
|
 |
gpklos |
Posted: Fri Mar 04, 2005 4:30 am Post subject: Maxhandles set to 1 and now I'm locked out of queue manager. |
|
|
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 |
|
 |
|