Author |
Message
|
peterw686 |
Posted: Fri Jan 23, 2004 12:32 pm Post subject: Any way to check the log on Unix? |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Hi
We have a MQ server running on Solaris. While we are doing test with client application, beside of tracing the client application, we also want to check on the server side. For example, how it get the request or if the client application hit the server or not.
Where I can find such a log? Is there any tool or command to do that?
I only find Qmanager log under /var/mqm/log/QMGR/. The log file there is unreadable.
Thanks. |
|
Back to top |
|
 |
kirani |
Posted: Fri Jan 23, 2004 1:15 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Have you looked at strmqtrc command. You can use -t api option to get the tracing for MQI calls. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
peterw686 |
Posted: Fri Jan 23, 2004 1:38 pm Post subject: |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Thanks Kirani, I need to learn it. It's a useful one. Thanks again. |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Jan 23, 2004 2:08 pm Post subject: Re: Any way to check the log on Unix? |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
peterw686 wrote: |
I only find Qmanager log under /var/mqm/log/QMGR/. The log file there is unreadable.
|
To add some clarification... the log is the place where MQ logs it's internal stuff and is unreadable!
For errormessages check /var/mqm/errors and /var/mqm/qmgrs/QMGRname/errors
To see system error messages related to MQ/MQSI on UNIX use dmesg (this is by heart...)
Michael |
|
Back to top |
|
 |
TonyD |
Posted: Fri Jan 23, 2004 4:24 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Quote: |
... the log is the place where MQ logs it's internal stuff and is unreadable! |
....however if you really need to know what happened in the QM, re persistent messages and/or transaction processing, you can use 'dmpmqlog' to make it a bit less unreadable. |
|
Back to top |
|
 |
peterw686 |
Posted: Mon Jan 26, 2004 7:53 am Post subject: |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Thank you all.
How to use that dmpmqlog?
I tried and it start and stop immediately. |
|
Back to top |
|
 |
JasonE |
Posted: Mon Jan 26, 2004 8:34 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
dmpmqlog -m QM
But the qmgr does need to be stopped.... |
|
Back to top |
|
 |
peterw686 |
Posted: Mon Jan 26, 2004 12:06 pm Post subject: |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Hi Jason,
Thanks for your reply.
I tied the command and got below message. Does it mean anything?
Code: |
dmpmqlog -m QMT1
AMQ7701: DMPMQLOG command is starting.
AMQ7005: The queue manager is running.
AMQ7716: DMPMQLOG command has finished unsuccessfully. |
|
|
Back to top |
|
 |
Prahasith |
Posted: Mon Jan 26, 2004 12:30 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
you need to try the command when the queue manager is stopped
Thats what jason suggested |
|
Back to top |
|
 |
Frank Nellion |
Posted: Thu Jan 29, 2004 7:09 am Post subject: Reading MQ Logs on Unix |
|
|
 Newbie
Joined: 29 Jan 2004 Posts: 5 Location: UK
|
Not many hits around this area, and I'm new to this forum, but while I was scanning around I notice that a UK company Cressida, and their product, weird name - request - has some tool that appears to read and translate the MQ logs, dunno if that might help you out some? |
|
Back to top |
|
 |
|