ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » saveqmgr

Post new topic  Reply to topic
 saveqmgr « View previous topic :: View next topic » 
Author Message
veeruk
PostPosted: Tue Mar 21, 2006 9:42 am    Post subject: saveqmgr Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Mar 21, 2006 10:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What release of MQ is "testqm" ?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
veeruk
PostPosted: Tue Mar 21, 2006 10:10 am    Post subject: Reply with quote

Acolyte

Joined: 13 Mar 2006
Posts: 73

MQ Series 5.3 CSD 11
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 21, 2006 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
veeruk
PostPosted: Tue Mar 21, 2006 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Mar 21, 2006 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
veeruk
PostPosted: Tue Mar 21, 2006 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 21, 2006 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
ayhz2002
PostPosted: Fri Apr 14, 2006 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sat Apr 15, 2006 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
ayhz2002
PostPosted: Sat Apr 15, 2006 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sat Apr 15, 2006 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » saveqmgr
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.