rotating logs question

rotating logs question

Post by Derek Bradfor » Sun, 06 Feb 2000 04:00:00



i'm running ipmasqing on redhat 6.1 and don't know how to make my logs
automatically rotate themselves.  i have to go down every few days and clean
them out so they don't fill up my hard drive.  can anyone tell me how to do
this, or send me a link so you don't have to explain it to me?
thanks,
derek
 
 
 

rotating logs question

Post by Leonard Even » Sun, 06 Feb 2000 04:00:00



> i'm running ipmasqing on redhat 6.1 and don't know how to make my logs
> automatically rotate themselves.  i have to go down every few days and clean
> them out so they don't fill up my hard drive.  can anyone tell me how to do
> this, or send me a link so you don't have to explain it to me?
> thanks,
> derek

I don't know if your discussing all your log files or only
those relating to ipmasqing.  However, the script
/etc/cron.daily/logrotate
is supposed to run /usr/sbin/logrotate to rotate the
standard files.  (Do man logrotate.)  If for some reason the
machine is turned off when the cron job is scheduled, it
won't run.  You might also check to see if you have the
logrotate package installed.

--


Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

 
 
 

1. IPChains quits logging when logs rotate

Hi folks,

   Not specifically a firewall question, but when my log
files rotate (RH 6.1, 2.2.18), IPchains quits logging the
packets its rejecting.  There are several hosts that regularly
ping me, so I know its a logging problem.  What's in the new
log file is syslogd restart messages and the log of me
logging in and su'ing to root.  Reloading the chains script
(for other reasons) doesn't change anything.

Suggestions?

Thx, Chris
--

 Folsom, CA   95630     | I don't speak for Intel & vise versa

2. Good news reader.

3. apache log directory, restarting server after rotating logs.

4. tcp remote printer help needed

5. Rotating a log file..... (script question)

6. AIX Sort limits

7. Help: Errors Rotating Logs

8. Forcing 24bpp

9. rotating ipfilter firewall log

10. Rotating apache logs

11. log rotate problem

12. Newsyslog not rotating logs properly

13. Another log rotating problem...