HP3000-L Archives

May 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Patrick Thrapp <[log in to unmask]>
Reply To:
Patrick Thrapp <[log in to unmask]>
Date:
Wed, 9 May 2001 13:46:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Thanks for all the replies.  I combined and used the methods Carl McNamee &
Mark Bixby offered.

Carl
>cp logfile logfile.save
>echo > logfile

Mark
>mv logfile logfile.old   (rename the active logfile)
>kill -HUP nnn (send the HUP signal to pid nnn to cause a server restart)

I shutdown the listeners (Apache, JINETD(Samba), Jserv

Then I used the mv to move/rename to another file name  logfile.old
I then used the echo > logfile to reinitialize the log files.
I also had to chmod the new files to have the same security access as the
old ones.

Brought all the servers backup.  No problem so far.

The log files I could find were for Apache & Jserv.  Samba doesn't seem to
have log files.  I presume the $STDLIST of the job JINETD would act as a
logging area.

All my log files (4) were in /usr/local/apache/logs

Thanks everyone.


Patrick Thrapp <[log in to unmask]> wrote in message
news:0PWJ6.3025$tv4.226980@paloalto-snr1.gtei.net...
> Is there a way to empty these log files?  Mine go back quite a few months
> and are quite big.  Can one 'PURGE' these files and expect the
> deamon/listener to rebuild them?  Is there a POSIX way to empty them?  Can
> one 'FCOPY' $NULL into them?
>
> examples
>
> /usr/local/samba/var/log.smb
> /usr/local/apache/logs/@
>
>
>
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2