Author |
Message
|
veeruk |
Posted: Tue Mar 21, 2006 9:42 am Post subject: saveqmgr |
|
|
Acolyte
Joined: 13 Mar 2006 Posts: 73
|
Hi all,
Today when I tried to run ' saveqmgr.aix' against a running Queue Manager, it says the following:
$ ./saveqmgr.aix -m testqm -f
SAVEQMGR V6.0.2
Compiled for Websphere MQ V6.0 on Mar 2 2006
Requesting attributes of the queue manager...
(mqutils.c) Received message is not of type MQADMIN (got )
(mqutils.c) MQGET failed for reply queue. MQCC=2 MQRC=2317
$
What mistake do u think that I might have done?I followed exactly the steps given in the read me file.
Thank you,
Veeru. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 21, 2006 10:07 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
What release of MQ is "testqm" ? _________________ -wayne |
|
Back to top |
|
 |
veeruk |
Posted: Tue Mar 21, 2006 10:10 am Post subject: |
|
|
Acolyte
Joined: 13 Mar 2006 Posts: 73
|
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 21, 2006 10:12 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
veeresh.kory wrote: |
MQ Series 5.3 CSD 11 |
Can you post the output of this:
$ ./saveqmgr.aix -D1 -m testqm -f _________________ -wayne |
|
Back to top |
|
 |
veeruk |
Posted: Tue Mar 21, 2006 10:17 am Post subject: |
|
|
Acolyte
Joined: 13 Mar 2006 Posts: 73
|
Here is the output:
$ ./saveqmgr.aix -D1 -m testqm -f
SAVEQMGR V6.0.2
Compiled for Websphere MQ V6.0 on Mar 2 2006
(saveqmgrc.) executing with diagnostic level 1
Requesting attributes of the queue manager...
(mqutil.c) ReplyToQ: SAVEQMGR.4411939420000301
MsgId : X'414D512074657374716D2020202020204411939420000302'
(mqutil.c) Before MQGET: Options: 24577, Encoding: 273, CCSID: 0
(mqutil.c) After MQGET: RC: 2033, Options: 24577, Encoding: 273, CCSID: 0, Forma
t ' '
(mqutils.c) Received message is not of type MQADMIN (got )
(mqutils.c) MQGET failed for reply queue. MQCC=2 MQRC=2317
$ |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 21, 2006 10:21 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Well, you have found a small bug in saveqmgr (thanks, I'll fix it in the next release)....
your problem is that the command server isn't running, try this;
strmqcsv testqm
./saveqmgr.aix -m testqm -f _________________ -wayne |
|
Back to top |
|
 |
veeruk |
Posted: Tue Mar 21, 2006 10:30 am Post subject: |
|
|
Acolyte
Joined: 13 Mar 2006 Posts: 73
|
Yeah It's working now.Thank you.
But I do not understand the role of command server in this thing.Usually command server is used for remote queue managers n all tht stuff right?
Why do I need a command server running even though the queue manager is local to the machine? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 21, 2006 10:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
SaveQmgr uses PCF messages to do it's work - regardless of whether the qmgr is local or remote.
The only job of the command server is to process PCF messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ayhz2002 |
Posted: Fri Apr 14, 2006 7:00 pm Post subject: |
|
|
Newbie
Joined: 30 Jan 2006 Posts: 5
|
I have the same errors exactly. I am using the following command:
saveqmgr -m qm1 -r qm2 -f
using websphere mq v6.0 on both windows xp machines
all channels are running and also the command servers
am I missing something here?
thanks |
|
Back to top |
|
 |
wschutz |
Posted: Sat Apr 15, 2006 3:44 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
The error means that saveqmgr didn't get a response from the command server within 1 minute (I expect that it takes a full minute for the error message to show up).
So, that means that either the command server isn't running on "qm2" or the channels between qm1 and qm2 aren't running.
You can check the command server by typing "dspmqcsv qm2", on the machine where qm2 is. If the command server is running, then check the channels (both ways).
Have you setup normal sdr-rcvr channels that are triggered or are you using clustering? _________________ -wayne |
|
Back to top |
|
 |
ayhz2002 |
Posted: Sat Apr 15, 2006 10:20 am Post subject: |
|
|
Newbie
Joined: 30 Jan 2006 Posts: 5
|
thanks for your reply
The command server is running. I am using normal sender-receiver channels. I can send messages in both ways. still getting the same error:
Requesting attributes of the queue manager...
(mqutils.c) Received message is not of type MQADMIN (got )
(mqutils.c) MQGET failed for reply queue. MQCC=2 MQRC=2317
as you mentioned, it takes exactly a minute for the error to appear
no triggering used. no clustering
am i missing something again? Please can you test this yourself?
thanks |
|
Back to top |
|
 |
wschutz |
Posted: Sat Apr 15, 2006 12:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Perhaps there's a problem with security? Did you look at the dead letter queues to ensure the message isn't being placed there?
BTW...another option you may consider is using the client version of saveqmgr: saveqmgrc. You can specify the channel name and host on the command line. _________________ -wayne |
|
Back to top |
|
 |
|