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 » WebSphere Message Broker (ACE) Support » Removeing Contents of the Trace File

Post new topic  Reply to topic
 Removeing Contents of the Trace File « View previous topic :: View next topic » 
Author Message
dsmq
PostPosted: Wed Sep 18, 2002 7:05 am    Post subject: Removeing Contents of the Trace File Reply with quote

Acolyte

Joined: 20 Jun 2002
Posts: 59

Hi

I am trying to remove the contents of the trace file using unix shell script.

the command i used in unix is

mv oldfile newfile1

where oldfile is the file name in my trace node.Once i ran the script MQSI is not writing the logs into the oldfile ,its writing into the newfile which in not in my trace node

Can anybody help me in this.

Thanks
Back to top
View user's profile Send private message
philip.baker
PostPosted: Wed Sep 18, 2002 7:19 am    Post subject: Reply with quote

Voyager

Joined: 21 Mar 2002
Posts: 77
Location: Baker Systems Consulting, Inc. - Tampa

If you don't need the contents of the 'oldfile', you may try using 'cp /dev/null oldfile'. If that doesn't work, you may have to stop and start the flow that is using the trace file.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
kirani
PostPosted: Wed Sep 18, 2002 7:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

When you move the file while message flow is running, the broker will continue to write messages into new file (newfile1). This has to do something with the file handle.
To correct this problem please follow Philip's instructions.
_________________
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
dsmq
PostPosted: Wed Sep 18, 2002 7:55 am    Post subject: Reply with quote

Acolyte

Joined: 20 Jun 2002
Posts: 59

cp /dev/null oldfile Worked

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Removeing Contents of the Trace File
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.