Event Viewer Locked Files

  • Thread starter Thread starter Brian01
  • Start date Start date
B

Brian01

I have Tomcat connected to IIS on Win2K and the
iis_redirect.log has grown to 700MB in a little over a
month. I can not delete or purge the log since it is
locked, even with Tomcat stopped and the the Website
stopped in IIS. I just read that the log is displayed
through the Event viewer.

How can I unlock the file? Does Win2K server have a safe
mode that may allow me to delete the log from the command
line?
 
This is really a Tomcat question, on which I am no expert. But I am used to
Apache et al providing some way to switch or rotate log files.

As for manipulating the file, I believe that mv /d, which "specifies to
delay the rename until the next reboot", might get you there. This assumes
you have a scheduled reboot on this system, and have the Resource Kit.

And you might want to turn down your debug level to get a smaller file.

Greg Stigers, MCSA
this space for rent
 
With Tomcat disabled, it seems that IIS - Windows is
keeping the lock on the file. I'll try your suggestion.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top