Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logrotate not working any more
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Wed Oct 24, 2012 5:09 pm    Post subject: Logrotate not working any more Reply with quote

I use logrotate with syslog-ng. It has recently stopped working and I don't know why. Log files are growing and I have to manually tarball or remove them so they don't eat up large amounts of disk space.

What would cause logrotate to stop functioning?

One thing I did recently was delete everything from /var/log. Does syslog or logrotate require a subdir to exist in /var/log? The file /var/log/syslog exists. I don't know if that would have anything to do with it, but I thought I'd mention it as a couple of other things wouldn't work unless I manually created /var/log dirs for them.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6966
Location: Saint Amant, Acadiana

PostPosted: Wed Oct 24, 2012 5:29 pm    Post subject: Reply with quote

Is cron on default runlevel, is logrotate in /etc/cron.daily/ ?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Thu Oct 25, 2012 12:25 am    Post subject: Reply with quote

I had no cron. WTF? 8O

Maybe some depclean removed it, but that doesn't seem likely. I'm pretty sure it was there, as I always install fcron during setup, along with dhcpcd, grub, syslog-ng, and all that, especially since this WAS working until recently.

Anyway, that's set up now. Thank you for pointing that out. :)
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum