Author |
Message
|
MQUER |
Posted: Tue Oct 06, 2009 10:49 am Post subject: AMQ7017- Log not available |
|
|
 Newbie
Joined: 06 Oct 2009 Posts: 3 Location: Houston, TX
|
MQ v 6.0.2.6 on AIX:
I accidentally deleted all the files under /var/mqm/log/<QM_NAME>/active but now cannot even start the queue manager. I keep getting AMQ7017- Log not available when doing strmqm <QM_NAME>. This is a test machine so I am not concerned about lost messages. Rather I need to have the configuration of my qm, especially the queue definitions and channels. Is there any way to get them back?
Thanks in advance,
mquer
 |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 06, 2009 10:56 am Post subject: Re: AMQ7017- Log not available |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MQUER wrote: |
This is a test machine so I am not concerned about lost messages. Rather I need to have the configuration of my qm, especially the queue definitions and channels. Is there any way to get them back?
|
This is one of many good reasons why you should build queue managers using scripts, even test ones.
If it's a test machine, define another queue manager with exactly the same log parameters, copy the files into the other queue manager's folders and cross your fingers.
Once you've got the queue manager started, unload the definitions using saveqmgr which will simplify future issues. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
MQUER |
Posted: Tue Oct 06, 2009 11:32 am Post subject: |
|
|
 Newbie
Joined: 06 Oct 2009 Posts: 3 Location: Houston, TX
|
I created a new qm and copied the /var/mqm/log/<QM_NAME>/active to the newly created qm active directory but still the same error "AMQ7017: Log not available.". Is there any other log files I need to copy for this to work. If that does not work, can I at least retrieve my queue definitions?
Thanks,
mquer
----- amqxfdcx.c : 807 --------------------------------------------------------
10/06/09 14:25:33 - Process(241840.1) User(mqm) Program(amqzxma0_nd)
AMQ6118: An internal WebSphere MQ error has occurred (7017)
EXPLANATION:
An error has been detected, and the MQ error recording routine has been called.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier, and to save the generated output files. Contact your IBM support
center. Do not discard these files until the problem has been resolved.
----- amqxfdcx.c : 768 --------------------------------------------------------
10/06/09 14:25:33 - Process(241840.1) User(mqm) Program(amqzxma0_nd)
AMQ6184: An internal WebSphere MQ error has occurred on queue manager
SAAPMBR01.
EXPLANATION:
An error has been detected, and the WebSphere MQ error recording routine has
been called. The failing process is process 241840.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier, and to save the generated output files. Contact your IBM support
center. Do not discard these files until the problem has been resolved.
----- amqxfdcx.c : 807 -------------------------------------------------------- |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 06, 2009 11:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MQUER wrote: |
Is there any other log files I need to copy for this to work. |
Oops. Should have crossed your fingers harder I suppose...
Make sure the new files have the correct permissions, ownership and so forth.
MQUER wrote: |
If that does not work, can I at least retrieve my queue definitions? |
Not unless you can get the queue manager running.
At least it's only a test box. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 06, 2009 11:51 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
can I at least retrieve my queue definitions? |
A great reason to have your objects created with scripts.
Since it's a test qmgr, delete it - using the dltmqm control command. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 06, 2009 11:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Quote: |
can I at least retrieve my queue definitions? |
A great reason to have your objects created with scripts. |
Vitor wrote: |
This is one of many good reasons why you should build queue managers using scripts, even test ones. |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
MQUER |
Posted: Tue Oct 06, 2009 1:19 pm Post subject: |
|
|
 Newbie
Joined: 06 Oct 2009 Posts: 3 Location: Houston, TX
|
It worked!
I copied over the amqhlctl.lfh and it now works. I have missed copying it initially but it works finally.
 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Oct 06, 2009 8:31 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Great. Now get support pack MS03 (saveqmgr) and start backing up!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|