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 Discussion » Any way to check the log on Unix?

Post new topic  Reply to topic
 Any way to check the log on Unix? « View previous topic :: View next topic » 
Author Message
peterw686
PostPosted: Fri Jan 23, 2004 12:32 pm    Post subject: Any way to check the log on Unix? Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Fri Jan 23, 2004 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
peterw686
PostPosted: Fri Jan 23, 2004 1:38 pm    Post subject: Reply with quote

Acolyte

Joined: 26 Sep 2002
Posts: 73

Thanks Kirani, I need to learn it. It's a useful one. Thanks again.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Jan 23, 2004 2:08 pm    Post subject: Re: Any way to check the log on Unix? Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
TonyD
PostPosted: Fri Jan 23, 2004 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
peterw686
PostPosted: Mon Jan 26, 2004 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Mon Jan 26, 2004 8:34 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

dmpmqlog -m QM

But the qmgr does need to be stopped....
Back to top
View user's profile Send private message
peterw686
PostPosted: Mon Jan 26, 2004 12:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Prahasith
PostPosted: Mon Jan 26, 2004 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Frank Nellion
PostPosted: Thu Jan 29, 2004 7:09 am    Post subject: Reading MQ Logs on Unix Reply with quote

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

MQSeries.net Forum Index » General Discussion » Any way to check the log on Unix?
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.