Author |
Message
|
mqlover |
Posted: Sun Oct 21, 2012 11:41 pm Post subject: AMQ7017: Log not available. |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Hi,
One of my clustered queue manager, I stopped it and removed the messages from the dead letter queue and now when am going to start the queue manger. Am getting the following error
The queue manager is associated with installation 'Installation1'.
AMQ7017: Log not available.
Could anyone please advise on this.
I created the same queue manager in some other machine with the same name and tried to copy the active logs form that queue manager to this queue manager, still am unable to start the queue manager.
Am using AIX machine.
I stopped some other queue manager and tried to start it, am getting the same error again.
Could anybody help on this. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Oct 22, 2012 12:03 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
how did you purge messages from the dead letter queue while the queuemanager is stopped? thats not possible.
did you purge the transaction logs?
please describe in detail what you have done. _________________ Regards, Butcher |
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 22, 2012 12:06 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What exactly do you mean by "...I stopped it and removed the messages from the dead letter queue..."? And knowing the version of WMQ (whether V7.1 or V7.5) would also be of help in answering your question. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqlover |
Posted: Mon Oct 22, 2012 12:34 am Post subject: AMQ7017: Log not available. |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
MQ version = 7.1.0.0
Sorry I meant, removed the messages from teh queue using MQGET program and then restared the queue manager. But the queue manager from which I removed the messages and restarted is running fine, but the other queue manager within the same cluster is not able to start.
As I said, any other queue manager on the system is unable to start and throwing the same error. |
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 22, 2012 1:25 am Post subject: Re: AMQ7017: Log not available. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqlover wrote: |
MQ version = 7.1.0.0 |
Thank you.
mqlover wrote: |
Sorry I meant, removed the messages from teh queue using MQGET program and then restared the queue manager. But the queue manager from which I removed the messages and restarted is running fine... |
Not apparent from your first post, which implied it wasn't starting. Please confirm/deny whether you are seeing 'Log not available' messages from this queue manager that starts.
mqlover wrote: |
...but the other queue manager within the same cluster is not able to start... |
Hardware cluster, queue manager cluster, Multi-Instance queue manager? Which is it?
mqlover wrote: |
...As I said, any other queue manager on the system is unable to start and throwing the same error. |
How many queue managers do you have on the same system? What is the OS? Are the logs on a 'local' disk, or SAN/file mount?
EDIT: Are you circular or linear logging? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Last edited by exerk on Mon Oct 22, 2012 3:51 am; edited 1 time in total |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Oct 22, 2012 3:47 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
did you even check the log directory / directories?!? maybe someone purged all the logs not being aware that they are transaction logs and no "logfiles"... _________________ Regards, Butcher |
|
Back to top |
|
 |
mqlover |
Posted: Mon Oct 22, 2012 6:52 pm Post subject: AMQ7017: Log not available. |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Thanks for your suggestions. It actually worked by backing up the log directory of the qmgr and the queue manager working directory and then created a queue manager with the same name and then restored the log directory, the control file, the queue manager working directory as well.
Hence everythign was restored and my cluster was not tampered.
Thanks again!! |
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 22, 2012 11:51 pm Post subject: Re: AMQ7017: Log not available. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqlover wrote: |
Thanks for your suggestions. It actually worked by backing up the log directory of the qmgr and the queue manager working directory and then created a queue manager with the same name and then restored the log directory, the control file, the queue manager working directory as well.
Hence everythign was restored and my cluster was not tampered.
Thanks again!! |
That fixed the problem, but what was the root cause? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 23, 2012 1:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
That didn't fix the problem, it worked around it.
A proper fix would have been to delete the queue manager and rebuild it. |
|
Back to top |
|
 |
mqlover |
Posted: Tue Oct 23, 2012 2:07 am Post subject: AMQ7017: Log not available. |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Sorry could not figure out the root cause.
But I think it was because we touched few S00*.LOG files in /var/mqm/log/<qmgr>/active directory. |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 23, 2012 2:09 am Post subject: Re: AMQ7017: Log not available. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqlover wrote: |
...I think it was because we touched few S00*.LOG files in /var/mqm/log/<qmgr>/active directory. |
You have no reason to do this - EVER! _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|