Author |
Message
|
TimDroz |
Posted: Thu Jan 06, 2005 7:38 am Post subject: saveqmgr gets 2059, but QMGR is up |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
I'm having a heck of a time trying to back up the object definitions on a Win2K server running 5.2 using saveqmgr. I have the latest MS03 (5.3.4) from IBM, but whenever I run the following:
saveqmgr -v 52 -m GOXSA185 -f GOXSA185.DEF
I get a 2059 (Q_MGR_NOT_AVAILABLE). This is puzzling, because I can run runmqsc locally on the machine, and I can connect remotely using the MQ Explorer console. It doesn't matter whether I try to run the saveqmgr command on the local machine or if I run it remotely with the -r flag.
Any idea what I'm doing wrong here? It's got to be something stupid...
Thanks! |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 06, 2005 7:47 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Try running it without the "-v 52" argument.
And just as an un-related suggestion, if you are running MQ5.2 consider upgrading to 5.3. We're up to Service Pack 8 now so the most recent supported version of MQ is 5.3.0.8. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 7:50 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
That's why I want to backup the object defintions. It's part of our migration path to 5.3. I'd rather import the objects than have to write everything down and redefine them all one at a time.
I tried without the -v52... no dice.
Also, just discovered that I can't in fact run runmqsc locally on the GOXSA185 machine. It also tells me the QMGR is not available. But I confirmed that I can administer it remotely using the Explorer console.
edit: Also confirmed that the services (Listener, Command Server, Channel Initiator) are all marked "RUNNING" as well. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 06, 2005 7:54 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Looks like you need to have your ID added to the mqm group locally.
And just so you know, when you install WMQ5.3 your MQManagers should be updated automatically. On Windows platforms you don't have to uninstall the current version or delete existing MQManagers.
But I agree it is a wise idea to back up your objects just in case something blows up. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 7:59 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
My ID is a member of the Administrators group as well as the mqm group.
Ah... didn't realize I could overlay the installation of 5.3 and retain the existing QMgr and object defintions without uninstalling 5.2. That may make things a lot easier, although I'd still prefer to back up the objects, just in case. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 06, 2005 8:11 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Yes, your Domain ID is a member of the mqm group but have you added your ID to the mqm group locally?
I had the same problem some time ago, I was a member of the Domain mqm group, I could create an MQManager but when I attempted to execute "runmqsc QMGR" againts the QMGR I just created it would fail because I wasn't a member of the local mqm group.
You also might want to check the status of your MQ command server:
C:\>dspmqcsv QMGR
If it's not running start it:
c:\>strmqcsv QMGR
Normally (especially on Unix platforms) if the Command Server is not running you will get error output stating as much but I am not sure about Windows so much.
Also if you have access to the Local Administrator password you can try logging on as the Local Admin and running saveqmgr. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 8:22 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
Basically every command results in a "Queue Manager Not Available" error. That includes dspmqcsv, strmqcsv, runmqsc...
And I am a local member of the mqm group, I added it in the user management console after reading your previous suggestion that I needed to do that. But I'm not sure if you mean I need to have a local ID on the box, and my domain ID being in the mqm group is not sufficient? |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 8:26 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
OK, just tried defining a local ID, assigning it to the mqm group locally, and logging in as that user, same problem. Unfortunately, I don't have access to an admin ID/password, although my domain ID is in the administrator group and I have (ostensibly) complete control over the box. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 06, 2005 8:29 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
OK, hmmm,
Just for giggles and grins try creating an MQManager:
C:\> crtmqm TEST
See if that works or fails. If it works you should be able to Delete it immediately with:
C:\> dltmqm TEST _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
vennela |
Posted: Thu Jan 06, 2005 8:30 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Are you using terminal services to logon to the box?
How are you logging into the box
What version of MQ? |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 8:31 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
Remote control from an XP box to a Win2K box, yes. Could that be the problem? If so, I can walk up to the white floor and access the machine in question directly. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 06, 2005 8:33 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
vennela wrote: |
What version of MQ? |
5.2, see above.
He is planning to upgrade from 5.2 to 5.3 and wants to save a copy of the MQManager objects. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 06, 2005 8:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
TimDroz wrote: |
Remote control from an XP box to a Win2K box, yes. Could that be the problem? If so, I can walk up to the white floor and access the machine in question directly. |
Yes.
5.2 doesn't really work through Terminal Services. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
TimDroz |
Posted: Thu Jan 06, 2005 9:11 am Post subject: |
|
|
Novice
Joined: 04 Mar 2004 Posts: 20
|
Interesting. I'll take a walk upstairs and give it a try from the machine itself.
update: That did it! Now, what's the difference between logging on locally and via terminal services/remote control that causes MQ V5.2 to behave in this manner? Does user authentication take place in some way that is significantly different from logging in locally? I guess more importantly, will 5.3 (CSD08) allow me to use the command line utilities like runmqsc and saveqmgr via remote control?
Thanks all for all the help. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 06, 2005 9:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
5.2 doesn't understand that Terminal Services is a "local" connection. It thinks it's a remote connection. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|