Author |
Message
|
thimerion |
Posted: Thu May 10, 2007 4:09 am Post subject: lost file :) |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Hi,
I lost a file send over mq ... I would expect to find it somewhere, but it's gone gone gone ...
I am using java to put it on mq.
I found this error in the log:
10:59AM Charles Rowcliffe: 04/19/07 15:36:59
AMQ9526: Message sequence number error for channel 'XXX.TO.YYY'.
EXPLANATION:
The local and remote queue managers do not agree on the next message sequence
number. A message with sequence number 1 has been sent when sequence number
167 was expected.
ACTION:
Determine the cause of the inconsistency. It could be that the synchronization
information has become damaged, or has been backed out to a previous version.
If the situation cannot be resolved, the sequence number can be manually reset
at the sending end of the channel using the RESET CHANNEL command.
However I am doing nothing with the sequence numbers.
The only thing that I am sending over the channel are the actual messages, and the remote administration traffic (to check the status of a remote queue manager that is)
Any Ideas?
Tim |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 10, 2007 4:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
For the channel sequence numbers to get out of sync, you've had an abend or one of the channels has been deleted & redefined. Have a look in the Intercommunication manual for a full explaination, and resolution strategies.
If you were sending the file as persistent messages, it should be in the xmitq, or possibly the DLQ. If it was sent as non-persistent it could well be gone gone gone.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu May 10, 2007 4:13 am Post subject: Re: lost file :) |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Have you checked transmission queue or DLQ (if persistent message) ?
Don't forget to check sequence number on both QMGRs. _________________ Marcin |
|
Back to top |
|
 |
thimerion |
Posted: Thu May 10, 2007 4:27 am Post subject: queues |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Hi,
Did check transmission queue.
DLQ is that the active logs?
Tim |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu May 10, 2007 4:30 am Post subject: Re: queues |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
thimerion wrote: |
Hi,
Did check transmission queue.
DLQ is that the active logs?
Tim |
DLQ - Dead Letter Queue.
You haven't mentioned if this lost message was persistent or not. _________________ Marcin |
|
Back to top |
|
 |
thimerion |
Posted: Thu May 10, 2007 6:05 am Post subject: not found |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Ah I see, no I did not find it on the DLQ , not on the transmission queue. And also not in the /log/qmnr/active logs because it was not persistant (have changed that now)
I was messing a lot with changing config when I lost the message, I would be more worried that I had been changing nothing on the config and I lost one.
Thanks,
Tim |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 10, 2007 6:41 am Post subject: Re: not found |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
thimerion wrote: |
Ah I see, no I did not find it on the DLQ , not on the transmission queue. And also not in the /log/qmnr/active logs because it was not persistant (have changed that now)
I was messing a lot with changing config when I lost the message, I would be more worried that I had been changing nothing on the config and I lost one.
Thanks,
Tim |
Don't look in the log files yourself - the queue manager can get annoyed by that and unexpected results can occur. Accept that persistent messages will always be in a queue visable through the approved interface; non persistent messages (as you've discovered) disappear under certain circumstances.
I would say that the "messing a lot" has caused the channel to get out of sync. Resolve this and all will be well. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
thimerion |
Posted: Thu May 10, 2007 6:54 am Post subject: Thanks |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Thanks guys !!!
All persistant now, so they can only be in 3 queues? Local queue, transmission queue and dead queue ...
Hope on never lose messages anymore now.
I'd really like to continue looking in the active logs ... taking a copy of them and then looking in them can't hurt I'd think so ?
Tim |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 10, 2007 7:11 am Post subject: Re: Thanks |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
thimerion wrote: |
I'd really like to continue looking in the active logs ... taking a copy of them and then looking in them can't hurt I'd think so ?
|
I struggle to think what's of any value in them; they're a proprietary format & mostly binary. If you access them while the queue manager is accessing them, it can cause problems, FDCs and other things especially on Windows where the file locking is built to the same high quality as the rest of their wretched software.
If you must look in the logs, shut the queue manager down & use the dump log utility described in the System Admin manual. Again, I struggle to see the value but hey! It's your system.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|