Author |
Message
|
itsme_001 |
Posted: Fri Dec 17, 2010 11:43 pm Post subject: services not getting started |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
hi,
I have installed MQ V7 on windows 2008 server using admin account.
After configuring the qmgrs, the client wants to use another user account for the applications to run. I have configured the user account to be a part of <mqm>; but still I'm facing the issue wherein i'm not able to start any of the qmgrs using any other user account other than the admin account.
Every time i try to start the qmgr using any of the other user accounts; it throws the error stating that I have an authentication error.
Kindly need help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Dec 18, 2010 12:25 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried starting the qmgr with the -i or -s flag? (from memory, might be -ss and -si, check the manual)
WMQ V7 behaves a little bit differently than V6  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Sat Dec 18, 2010 4:19 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And you do realise that the application accounts now have total control over your queue managers  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Sun Dec 19, 2010 8:43 pm Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
fjb_saper wrote: |
Have you tried starting the qmgr with the -i or -s flag? (from memory, might be -ss and -si, check the manual)
WMQ V7 behaves a little bit differently than V6  |
still not able to run the queue manager. I'm able to start the queue manager; but not able to use the runmqsc command on the qmgr.
C:\Users\appuser>runmqsc MQ_MGR
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager MQ_MGR.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Dec 19, 2010 9:37 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
So which flag did you use? Did you use the si flag?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
itsme_001 |
Posted: Mon Dec 27, 2010 2:52 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
used the flag -si; which is able to start the qmgr. but once I log off the account and login thru another account I need to start the qmgr again.
need help......... |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 27, 2010 9:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
itsme_001 wrote: |
used the flag -si; which is able to start the qmgr. but once I log off the account and login thru another account I need to start the qmgr again.
need help......... |
So use the -ss flag instead...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Mon Dec 27, 2010 10:29 pm Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
itsme_001 wrote: |
used the flag -si; which is able to start the qmgr. but once I log off the account and login thru another account I need to start the qmgr again.
need help......... |
Maybe you should have a look to the manual first:
"-si" means "Interactive queue manager startup" - so the QMgr processes are childs of your login process. If you logoff, you will close all your child processes too.
"-ss" means "Service queue manager startup" - in this case the QMgr runs as a service under a service account.
To access the QMgr with runmqsc you need the permissions - are you in group "mqm" or "Administrators"? _________________ Regards
Hubert |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 28, 2010 1:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
HubertKleinmanns wrote: |
itsme_001 wrote: |
used the flag -si; which is able to start the qmgr. but once I log off the account and login thru another account I need to start the qmgr again.
need help......... |
Maybe you should have a look to the manual first:
"-si" means "Interactive queue manager startup" - so the QMgr processes are childs of your login process. If you logoff, you will close all your child processes too.
"-ss" means "Service queue manager startup" - in this case the QMgr runs as a service under a service account.
To access the QMgr with runmqsc you need the permissions - are you in group "mqm" or "Administrators"? |
I'm not positive but I believe on V7 you also need the qmgr to have been started using one of the afore mentioned flags... Bad things happen if you start it from the command line and do not mention any flags and your OS is Windows...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Dec 28, 2010 10:00 pm Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
started the qmgr using -ss flag; the gud news is that the qmgr in not ending after logout. its in the running mode only.
But the bad news is that i'm not able to login to the qmgr:
C:\Documents and Settings\appusr>runmqsc TEST
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TEST.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Tue Dec 28, 2010 11:38 pm Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
fjb_saper wrote: |
Bad things happen if you start it from the command line and do not mention any flags and your OS is Windows...  |
I would say: Bad things happen if your OS is Windows  _________________ Regards
Hubert |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Tue Dec 28, 2010 11:43 pm Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
itsme_001 wrote: |
started the qmgr using -ss flag; the gud news is that the qmgr in not ending after logout. its in the running mode only.
But the bad news is that i'm not able to login to the qmgr:
C:\Documents and Settings\appusr>runmqsc TEST
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TEST.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed. |
As the message tells you, you are not authorized. Check your group membership. If you are working with a domain account, check if the system user is able to inquire the group membership of domain users. _________________ Regards
Hubert |
|
Back to top |
|
 |
itsme_001 |
Posted: Wed Dec 29, 2010 1:23 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
The user from where I got the above error for authorization is already a part of mqm group. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Dec 29, 2010 1:37 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
Are you using a domain user? _________________ Regards
Hubert |
|
Back to top |
|
 |
itsme_001 |
Posted: Wed Dec 29, 2010 1:42 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
HubertKleinmanns wrote: |
Are you using a domain user? |
Yes. using the domain user only I'm getting the above error:
C:\Documents and Settings\appusr>runmqsc TEST
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TEST.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
this is inspite of the qmgr status showing as running. |
|
Back to top |
|
 |
|