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 » AMQ7017- Log not available

Post new topic  Reply to topic
 AMQ7017- Log not available « View previous topic :: View next topic » 
Author Message
MQUER
PostPosted: Tue Oct 06, 2009 10:49 am    Post subject: AMQ7017- Log not available Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 06, 2009 10:56 am    Post subject: Re: AMQ7017- Log not available Reply with quote

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
View user's profile Send private message
MQUER
PostPosted: Tue Oct 06, 2009 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 06, 2009 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Tue Oct 06, 2009 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 06, 2009 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
MQUER
PostPosted: Tue Oct 06, 2009 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 06, 2009 8:31 pm    Post subject: Reply with quote

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

MQSeries.net Forum Index » General IBM MQ Support » AMQ7017- Log not available
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.