Author |
Message
|
ivanachukapawn |
Posted: Tue May 11, 2010 10:03 am Post subject: MQ5.3 AMQMSRVN COM process identity |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
On a Win2K server I silently installed (while swearing) MQ5.3 and then created a QM. Followed the creation of the QM with amqmdain commands to stop the QM, create trm, chi, listener, set the service to auto start, and then Net Stop, and Net Start. These commands all ran successfully (I watched their progress in the batch window).
I expected the AMQMSRVN DCOM/COM process to be started with ID MUSR_MQADMIN (manual says this is the default) but this ID isn't even in the list of users. I suspect that the AMQMSRVN process was started with my ID and a secret password.
I've been snooping around because I've been ending up with an environment in which the QM has ended unexpectedly (this after having the script set it to auto start, and stopping and then starting the MQ service).
I'd like to find out which ID the AMQMSRVN process is started with but the dcomcnfg utility will not show me that information.
I am able to start the QM (which had ended unexpectedly) and it then runs OK.
Incidentally, an error message is in the log indicating that the command server failed to start (with an garbage error message) and an advisory that if it was properly configured the service would continue to start it. When I run strmqcsv I see that the command server is running.
What does it matter what ID runs AMQMSRVN as long as it is run with an ID having mqm permissions, and how to I find out who is running it? |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Tue May 11, 2010 10:12 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
OK. duh. I found out how to see who is running it (task manager, processes, select user name column in view, etc. it turns out I am running AMQMSRVN - anybody have an idea as to why the newly created QM (as described earlier) should be ending unexpectedly and then start successfully later? The error logs/event logs are not giving me a clue. |
|
Back to top |
|
 |
exerk |
Posted: Tue May 11, 2010 12:46 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What did you have in the parms file for network, e.g. domain control or server only? _________________ 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 |
|
 |
ivanachukapawn |
Posted: Wed May 12, 2010 3:24 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
I run the MQ install and subsequent CRTMQM of the QM as a domain user. Obviously, I have appropriate authorizations. What "parm file" are you referring to? |
|
Back to top |
|
 |
exerk |
Posted: Wed May 12, 2010 4:17 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Every time I have done a silent install I have used both an .ini file (to set paths etc.) and a wizparms file to set the domain mqm user under which the service will run - assuming you have decided not to 'lie' to the installer and tell it that there are no Win2K DC's in your network
The QB for Windows explains it all... _________________ 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 |
|
 |
mqjeff |
Posted: Wed May 12, 2010 4:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you restart after the install? |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Wed May 12, 2010 4:39 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
After the install, I CRTMQM QM, started the QM, MQSC'd objects, AMQMDAIN'd stop of QM, create of tm, chi, listener, set auto start on service, then a Net stop, followed by a Net start. I thought the Net Start should start the service and the QM by virtue of the AMQMDAIN setting to auto. The QM is ending unexpectedly. If by your question you mean "did I restart the server" the answer is no. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 12, 2010 4:42 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You really need to restart the server after doing product install on Windows, especially at v5.3.
It's windows - whenever anything seems funny - restart first. THEN troubleshoot if it occurs again. |
|
Back to top |
|
 |
exerk |
Posted: Wed May 12, 2010 4:55 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
The point I was trying to make is: If the silent install response file (if used in preference to the command line switches and stanzas) had an entry to launch the set-up wizard and pipe in a parms file, which specified in the [services] section onlydomain, you should have specified a userid that you had created for the purpose of running the WMQ service on a server.
Never having set up WMQ to run under a Domain user that logged on/off interactively I can only imagine the effects on the service of an interactive user when that user logs off. _________________ 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 |
|
 |
ivanachukapawn |
Posted: Wed May 12, 2010 5:04 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
I think my logoff will be irrelevant due to the design of AMQMSRVN which runs under my ID (with mqm authorization). This process (which I think of as the process which runs the MQ service and facilitates communications between MQExplorer and other MQ processes) does not depend on its user to be logged in.
I want to explore the MQParms/Wizard approach to solving the problem of running AMQMSRVN under an admin ID other than my own. I have read the QB (for 7.0) as you suggest. I would like to read the QB for MQ5.3 but I don't have it and the $43 that IBM wants for it is not in my budget. What is your opinion as to the viability of setting up this MQ 5.3 Install using the MQ 7.0 Quick Beginnings Silent Install instructions? Alternatively, do you know where I can get a hold of a MQ5.3 QB? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 12, 2010 5:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
|