Thanks for the input Harry ! I really didn't want to have to cycle the task in order to get the backup either..... but since we, from time to time, move TOMCAT from system to system, I couldn't get the DSS backup to work unless I ran it on the system where the Wiki was running..... The only way to ensure that was to put it in the Wiki PROC and cycle to get the backup.
Thanks for the cleanup help ! Terry -----Original Message----- From: Harry Metske [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2008 11:50 AM To: [email protected] Subject: Re: Maintenance Question Terry, first, I don't think it's necessary to recycle Tomcat or JSPWiki every day. We don't do that either, the most important thing you want to backup are the wiki pages and attachments, the chance that these files are open during backup are minimal, and if they are, you probably have a version-1 of that page. (We do a daily full file system (HFS) backup to a GDS , and keep a couple of versions) Anyway, the log files you mention are created by Tomcat, and it depends on the way you configure it. To get rid of them you could run a daily script like: * # # clean up tomcat logs: export filenames='manager.* access_log.* host-manager.* admin.* catalina.* localhost.*.log' for filename in $filenames do #echo $filename find /usr/local/tomcat/logs -type f -name $filename -mtime +5 -exec rm -v {} ';' done * (It throws away all files that match the mentioned masks, and that haven't been modified the last 5 days) regards, Harry 2008/9/19 Duncan, Terry <[EMAIL PROTECTED]> > The logs that I am seeing start with: > > localhost_log and catalina_log > > Terry > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2008 10:23 AM > To: [email protected] > Subject: Re: Maintenance Question > > Are you talking about the server.log and boot.log that Tomcat creates? > > > > > "Duncan, Terry" <[EMAIL PROTECTED]> > 09/19/2008 10:03 AM > Please respond to > [email protected] > > > To > <[email protected]> > cc > > Subject > Maintenance Question > > > > > > > We run TOMCAT/Wiki on the mainframe and all of the files are stored in > HFS files on the mainframe. > > Yesterday, we had a problem with the Wiki because the TOMCATDB file > structure got filled up. > > We increased it, but I noticed that there are a lot of log files in > there. > > Basically, each time you cycle the software, two different and new logs > are created. > > Since we cycle every night (in order to get a good backup of HFS files), > there are 2 log files in that structure for every day and is what caused > us to fill up. > > So..... > > My question ..... > > Is there a way to automatically prune off the oldest log files ? Or does > that have to be done manually ? > > Thanks ! > > > Terry Duncan > Fifth Third Bank > Senior Systems Programmer > Mainframe Services > 513-534-7014 (Phone) > 513-534-6077 (Fax) > Maildrop: MD1090T7 > [EMAIL PROTECTED] > > This e-mail transmission contains information that is confidential and > may > be privileged. It is intended only for the addressee(s) named above. > If > you receive this e-mail in error, please do not read, copy or > disseminate > it in any manner. If you are not the intended recipient, any disclosure, > > copying, distribution or use of the contents of this information is > prohibited. Please reply to the message immediately by informing the > sender that the message was misdirected. After replying, please erase it > > from your computer system. Your assistance in correcting this error is > appreciated. > > > > This e-mail transmission contains information that is confidential and may > be privileged. It is intended only for the addressee(s) named above. If > you receive this e-mail in error, please do not read, copy or disseminate it > in any manner. If you are not the intended recipient, any disclosure, > copying, distribution or use of the contents of this information is > prohibited. Please reply to the message immediately by informing the sender > that the message was misdirected. After replying, please erase it from your > computer system. Your assistance in correcting this error is appreciated. > > -- met vriendelijke groet, Harry Metske Telnr. +31-548-512395 Mobile +31-6-51898081 This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.
