If the restore found files under /var/mqm/qmgrs<yourqmgr> but <yourqmgr> was
not listed in the mqs.ini file, then your MQ installation got out of synch
at some point.  Not sure what to suggest at this point.  You might want to
try renaming /var/mqm/qmgrs<yourqmgr> to something else and using crtmqm to
create a new <yourqmgr>.  Then copy the saved files over top of the new
/var/mqm/qmgrs<yourqmgr>.  This will make the correct entries in the mqs.ini
file for you and then restore the old QMgr structure.  Alternatively, you
could edit the mqs.ini file directly to add the entries or search your older
archives for an intact installation.

Good luck!
-- T.Rob

-----Original Message-----
From: Prithwiraj Basu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 4:07 PM
To: [EMAIL PROTECTED]
Subject: Re: queue manager does not exist error


That's odd because after doing the restore on the WHOLE tree (i.e.
/var/mqm) my /var/mqm/mqs.ini does not have any queue manager names entries
in it.  In fact here are the contents (pasted below).  Is this ini file in
order?  Thanks.

Prits

#********************************************************************#
#*                                                                  *#
#* <START_COPYRIGHT>                                                *#
#* Licensed Materials - Property of IBM                             *#
#*                                                                  *#
#* 63H9336                                                          *#
#* (C) Copyright IBM Corporation 1994, 2000                         *#
#*                                                                  *#
#* <END_COPYRIGHT>                                                  *#
#*                                                                  *#
#********************************************************************#
#***********************************************************************#
#* Module Name: mqs.ini                                                *#
#* Type       : MQSeries Machine-wide Configuration File               *#
#* Function   : Define MQSeries resources for an entire machine        *#
#*                                                                     *#
#***********************************************************************#
#* Notes      :                                                        *#
#* 1) This is the installation time default configuration              *#
#*                                                                     *#
#***********************************************************************#
AllQueueManagers:
   #********************************************************************#
   #* The path to the qmgrs directory, below which queue manager data  *#
   #* is stored                                                        *#
   #********************************************************************#
   DefaultPrefix=/var/mqm

ClientExitPath:
   ExitsDefaultPath=/var/mqm/exits

LogDefaults:
   LogPrimaryFiles=3
   LogSecondaryFiles=2
   LogFilePages=1024
   LogType=CIRCULAR
   LogBufferPages=17
   LogDefaultPath=/var/mqm/log




             "Wyatt, T. Rob"
             <[EMAIL PROTECTED]
             OFAMERICA.COM>                                             To
             Sent by: MQSeries         [EMAIL PROTECTED]
             List                                                       cc
             <[EMAIL PROTECTED]
             n.AC.AT>                                              Subject
                                       Re: queue manager does not exist
                                       error
             10/14/2003 03:20
             PM


             Please respond to
               MQSeries List
             <[EMAIL PROTECTED]
                 n.AC.AT>






Yes.  Ideally, the "correct" file will be from the same date as the
/var/mqm/qmgrs/<yourqmgr> tree that was previously restored.  My
recommendation to restore all of /var/mqm at once was to insure that all
files would be in synch.  Restoring just mqs.ini will probably work if your
MQ environment is fairly stable.

-- T.Rob

-----Original Message-----
From: Prithwiraj Basu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 2:39 PM
To: [EMAIL PROTECTED]
Subject: Re: queue manager does not exist error


Thanks for the responses.  If the correct /var/mqm/mqs.ini is restored,
then will there be an entry in it with my queue manager name (i.e. the one
that is missing)?  Thanks.

Prits



             "Wyatt, T. Rob"
             <[EMAIL PROTECTED]
             OFAMERICA.COM>                                             To
             Sent by: MQSeries         [EMAIL PROTECTED]
             List                                                       cc
             <[EMAIL PROTECTED]
             n.AC.AT>                                              Subject
                                       Re: queue manager does not exist
                                       error
             10/14/2003 01:16
             PM


             Please respond to
               MQSeries List
             <[EMAIL PROTECTED]
                 n.AC.AT>






Prits,

Sounds like they restored only the /var/mqm/qmgrs/<yourqmgr> tree.  If so,
they would have missed updating the /var/mqm/mqs.ini file which contains
info for the missing QMgr.  You may want to get them to restore all of
/var/mqm if this is the case.

Good luck!
-- T.Rob

-----Original Message-----
From: Prithwiraj Basu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 12:09 PM
To: [EMAIL PROTECTED]
Subject: queue manager does not exist error


Hi All,

I am encountering the following problem:

A week ago I was asked to verify if one of our applications (which uses
MQSeries for inter company communication) was still set up to run for the
testers to test some stuff.  It has been a while since anyone has been
playing around with this application.  At the time when I did strmqm
queue.manager.name, I got a AMQ8118:Queue Manager does not exist error.
Then I saw that the queue manager could not be found in /var/mqm/qmgrs.
(It only had @SYSTEM listed).  Assuming that someone had erroneously blown
away the queue manager,  I had IT restore the queue manager and it again
exists at /var/mqm/qmgrs.  However upon doing strmqm I am still getting the
queue manager does not exist error.  Is there anything else I need to do
for the queue manager to be started?  I really do not want to go through
the whole MQSeries objects setup procedure if I can help it.  Thanks in
advance.

Prits

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to