Author |
Message
|
sg94k6r2 |
Posted: Mon Sep 27, 2004 10:48 am Post subject: Read Log Files |
|
|
Newbie
Joined: 03 Sep 2004 Posts: 8
|
Hello everybody,
We seem to have lost a few messages from the queue. Messages were persistent in nature. We are trying to find out if someone manually cleared the Queues. I tried to look at log files but they are cryptic. Is there a utility or command I can use to look at log files - and in particular find out if someone manually cleared the queue?
Thank you very much!!! |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 27, 2004 10:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, there is no such log. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sg94k6r2 |
Posted: Mon Sep 27, 2004 10:55 am Post subject: |
|
|
Newbie
Joined: 03 Sep 2004 Posts: 8
|
[quote="jefflowrey"]No, there is no such log.[/quote]
Thanks you.
Is there a way I can find out if MQGET was issued for an MQPUT from the Log? |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Sep 27, 2004 11:52 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
If you are running on a Unix system you can look at the the .sh_history of the mqm user and the sulog as well as using the last command.
Also if you are using any auditing software like Keon or Powerbroker you may be able to find out by contacting your security group. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 27, 2004 12:47 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Transaction Vision from Bristol Technologies is a tool that can give you this type of information after the fact. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 27, 2004 12:50 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, also, I think can Cressida's ReQuest.
But really, it's much better to put measures in place to avoid needing something like this. Like adequate security measures and tracking on administration (through a professional management tool, usually) and proper logs from your applications. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
siliconfish |
Posted: Mon Sep 27, 2004 2:31 pm Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
Hi Jeff - If they are using linear logging they can use dmpmqlog to find that info (like when the MQGET is done)!! isn't it so? |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Sep 27, 2004 2:56 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well there is always the other side of this equation, Are you sure the application doing the MQPUT to the queue is getting a good return code.
Also maybe the application is doing the MQPUT Call at all !!!!
I have seen this happen more than once. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
dgolding |
Posted: Tue Sep 28, 2004 2:11 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
If you use DMPMQLOG you will see if a clear qlocal was done - this is an single entry in the log. Linear logging only of course.
HTH |
|
Back to top |
|
 |
sg94k6r2 |
Posted: Tue Sep 28, 2004 6:55 am Post subject: |
|
|
Newbie
Joined: 03 Sep 2004 Posts: 8
|
Thank you everybody for their input.
I tried using DMPMQLOG with no success - we do have linear logging. I tried it on our test machine where I put messages using amqsput and cleared it out using RUNMQRC > CLEAR QL command. I can't see any log entries being generated for clear QL command.
I guess we are out of luck - we will try to put better measures in place. |
|
Back to top |
|
 |
robsdman |
Posted: Wed Oct 13, 2004 5:45 am Post subject: |
|
|
 Apprentice
Joined: 23 Aug 2002 Posts: 27
|
Try looking for "Purge Queue" instead.
Good Luck. |
|
Back to top |
|
 |
GMcCarthy |
Posted: Fri Nov 12, 2004 5:32 am Post subject: |
|
|
 Centurion
Joined: 06 Nov 2001 Posts: 113 Location: Melville NY
|
How can I use dmpmqlog on a specific circular log. We have a lightly used production system where a message was duplicated. We need to show that 2 puts were done. These msgs come from z/OS and are put to AIX. I know which log these entries are in and I'd like to dump it specifically.
Thanks! _________________ Regards,
Gina
IBM Certified MQSeries Specialist |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Nov 12, 2004 5:42 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
dmpmqlog can only be used on the active extent, i.e. the latest one. There is no facility to dump from earlier logs. |
|
Back to top |
|
 |
GMcCarthy |
Posted: Fri Nov 12, 2004 6:27 am Post subject: |
|
|
 Centurion
Joined: 06 Nov 2001 Posts: 113 Location: Melville NY
|
Thank you Nigel!
 _________________ Regards,
Gina
IBM Certified MQSeries Specialist |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Nov 12, 2004 8:14 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
|