Author |
Message
|
yadav.neeraj01 |
Posted: Tue Feb 23, 2016 11:04 am Post subject: Queue Manager Getting end unexpectedly |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
Hi
we are using MQ V6 on window env. My username is added both in Administartive and MQM group. i started the queue manger with strmqm command. But issue is when i log out of the server queue manager unexpectedly ends.
When i goggled the issue then found that i should start the queue manager from either mq explorer or amqdmain command. I tried this and queue manager is now running evenif i log off from server. But now issue is i can not perform the runmqsc to queue manager(i am getting error of not authorized.)
Please help what is wrong or needs to be done  |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 23, 2016 11:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You need to run your command line commands (like runmqsc, strmqm etc from an "elevated" command prompt (run as administrator)
Also check the mode the qmgr is set for (MQExplorer) and make sure you have the right one...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 23, 2016 11:23 am Post subject: Re: Queue Manager Getting end unexpectedly |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yadav.neeraj01 wrote: |
Please help what is wrong or needs to be done  |
You need to move off MQ V6. Especially as you move into more modern Windows environments where v6 understands less and less of the new security constructs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Tue Feb 23, 2016 11:49 am Post subject: You need to run your command line commands (like runmqsc, st |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
To Run the CMD as an admin i would be requiring the admin username and password which i do not have right now. Would not be it sufficient to use my username and passoword if my username is added in Admin user group and MQM group?  |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 23, 2016 12:46 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
strmqm starts the queue manager as your user.
When you log out, as you've discovered, it ends - because your user is ending it's processes.
You should look for amqmdain. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Tue Feb 23, 2016 1:08 pm Post subject: |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
i did from amqdmain..but the issue is i can not perform the runmqsc(Error: Not authorized) now inspite of my username is a memeber of mqm and admin group |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 23, 2016 1:10 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you restart the machine after you added your user to the mqm group? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
yadav.neeraj01 |
Posted: Tue Feb 23, 2016 1:12 pm Post subject: |
|
|
 Apprentice
Joined: 23 Feb 2011 Posts: 49
|
i do not remember... i will try that and let you guys know wether that worked or not |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 24, 2016 5:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
yadav.neeraj01 wrote: |
i did from amqdmain..but the issue is i can not perform the runmqsc(Error: Not authorized) now inspite of my username is a memeber of mqm and admin group |
So you should be able to use run as Administrator with the command prompt.
Do it from the Windows menu. No need for a password, just say yes when prompted...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|