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 Discussion » Can not Start or stop qmgr

Post new topic  Reply to topic
 Can not Start or stop qmgr « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Wed Jan 13, 2010 3:01 pm    Post subject: Can not Start or stop qmgr Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I am running WMQ 7.0.1 on AIX

When I try to

Code:
endmqm -i SIXQM


It says the queue manager is not available

When I try to

Code:
strmqm SIXQM


It says the queue manager is already running

How do I fix this ?

Thanks
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Jan 13, 2010 3:05 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

What does dspmq show?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Gideon
PostPosted: Wed Jan 13, 2010 3:12 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

dspqm showed

Code:
QMNAME(SIXQM)   Status(Running Elsewhere)

QMNAME(SIX)    Status(Ended Unexpectantly)
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Wed Jan 13, 2010 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jan 13, 2010 3:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9398
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
View user's profile Send private message
Gideon
PostPosted: Wed Jan 13, 2010 3:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jan 13, 2010 3:40 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9398
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
View user's profile Send private message
bruce2359
PostPosted: Wed Jan 13, 2010 3:42 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9398
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
View user's profile Send private message
Gideon
PostPosted: Wed Jan 13, 2010 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jan 13, 2010 4:34 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9398
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
View user's profile Send private message
Gideon
PostPosted: Wed Jan 13, 2010 4:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jan 13, 2010 5:14 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9398
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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 14, 2010 2:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Shuyin
PostPosted: Fri Jan 11, 2013 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jan 11, 2013 10:00 am    Post subject: Reply with quote

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
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 Discussion » Can not Start or stop qmgr
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.