Author |
Message
|
Gideon |
Posted: Wed Jan 13, 2010 3:01 pm Post subject: Can not Start or stop qmgr |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
I am running WMQ 7.0.1 on AIX
When I try to
It says the queue manager is not available
When I try to
It says the queue manager is already running
How do I fix this ?
Thanks |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 13, 2010 3:05 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
What does dspmq show? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Gideon |
Posted: Wed Jan 13, 2010 3:12 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
dspqm showed
Code: |
QMNAME(SIXQM) Status(Running Elsewhere)
QMNAME(SIX) Status(Ended Unexpectantly) |
|
|
Back to top |
|
 |
Gideon |
Posted: Wed Jan 13, 2010 3:18 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
Or to be more precise:
Code: |
$ dspmq
QMNAME(TEST) STATUS(Ended normally)
QMNAME(SIX) STATUS(Ended unexpectedly)
QMNAME(SIXQM) STATUS(Running elsewhere)
QMNAME(SIXQM2) STATUS(Ended unexpectedly) |
|
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 13, 2010 3:35 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
You are doing multi-instance?
If so, the running elsewhere means that the qmgr named is running on another box/lpar. Log in to that box/lpar to do the endmqm. _________________ 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 |
|
 |
Gideon |
Posted: Wed Jan 13, 2010 3:37 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
I don't get it
I looked at the doc and "Running elsewhere" is apparently for multi-instance queue managers
My queue manager was defined locally
In fact all my queue managers were defined locally. There are no clusters or connections to other queue managers
There is a client connected to the SIXQM
Why would I get this status, and how do I resolve it ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 13, 2010 3:40 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
In fact all my queue managers were defined locally. |
All your qmgrs are defined in one lpar?
And you haven't created another qmgr by the same name anywhere else - ever?
Quote: |
There are no clusters or connections to other queue managers. |
Not relevant to multi-instance.
Did you originally start the qmgr with any of the new strmqm -switches? _________________ 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 |
|
 |
bruce2359 |
Posted: Wed Jan 13, 2010 3:42 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Try this command:
dspmq –x –o standby –o status _________________ 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 |
|
 |
Gideon |
Posted: Wed Jan 13, 2010 3:49 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
Code: |
$ dspmq -x -o standby -o status
QMNAME(TEST) STATUS(Ended normally) STANDBY(Not applicable)
QMNAME(SIX) STATUS(Ended unexpectedly) STANDBY(Not applicable)
QMNAME(SIXQM) STATUS(Running elsewhere) STANDBY(Not permitted)
INSTANCE(systemp1) MODE(Active)
QMNAME(SIXQM2) STATUS(Ended unexpectedly) STANDBY(Not applicable) |
I just did a hsotname, and it looks like the system administrator changed the name of my AIX machine to P6, from systemp1
So now WMQ thinks the qmgr belongs to another system.
Is there any whay to change the INSTANCE name of the qmgr, whithout dialing up the system admin, who is out at the moment ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 13, 2010 4:34 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
QMNAME(SIXQM) STATUS(Running elsewhere) |
This is cool.
How did your sysadmin change hostname? When? And, why? _________________ 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 |
|
 |
Gideon |
Posted: Wed Jan 13, 2010 4:54 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
Appparently he did it within the last couple hours before he went home
Don't know why yet.
Is there a fix to this on the WMQ side without getting the system admin to change it back.
I suspect he did it while installing other software |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 13, 2010 5:14 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
I suspect that the INSTANCE() contains the hostname as extracted from the o/s environment; so, no, I don't believe you can override this. _________________ 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 |
|
 |
fjb_saper |
Posted: Thu Jan 14, 2010 2:43 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Look at the admin manual. You should be able to "force" shutdown the qmgr by killing the processes in the right order. You can then restart the qmgr.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Shuyin |
Posted: Fri Jan 11, 2013 8:52 am Post subject: |
|
|
Novice
Joined: 26 Jul 2012 Posts: 23
|
Gideon wrote: |
Appparently he did it within the last couple hours before he went home
Don't know why yet.
Is there a fix to this on the WMQ side without getting the system admin to change it back.
I suspect he did it while installing other software |
Hi Gideon!... are you still having problem with it?, is there any process of this queuemanager running? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jan 11, 2013 10:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
[quote="Shuyin"]
Gideon wrote: |
Hi Gideon!... are you still having problem with it?, is there any process of this queuemanager running? |
Given this thread is 3 years old, I would imagine he's found some solution by now.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|