Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

logrolling for dummies without root access



That may not work. The problem is that when you open a file in Unix (or 
Linux) you are connected to that physical file. Changing the name of that 
file will not make any difference. You must make sure that the daemon 
process closes that file. Some daemons respond to signals such as 
HUP, which cause them to reread config files, etc. 

Tell me which daemon and file, and I'll find a solution for you.  
On 3 Aug 2001, at 13:47, Seth Gordon wrote:

> On one of our machines at work (running Digital Unix, if that
> matters), there's a daemon process that spits information into a log
> file.  We want to rotate that log file without stopping the daemon.
> My google and freshmeat searches revealed a few application-specific
> log rotaters, references to a "rotate" command that doesn't exist
> on our system, and a lot of noise.
> 
> Is there a utility out there that can handle the job (that doesn't
> need to be run by anyone with special privileges)?  Is this simple
> enough for some clever ad hoc shell script to handle?
>
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org