A program for managing and archiving individual log files. It allows automatic rotation, compression, removal, and mailing of log files. Jobs can be configured to run hourly, daily, weekly, monthly, yearly or when reaching a certain size or age.

learn more… | top users | synonyms

2
votes
1answer
91 views

logrotate seems work incorrect

I'm using: Linux workdesk 3.16.0-31-generic #43~14.04.1-Ubuntu SMP Tue Mar 10 20:13:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: ...
0
votes
1answer
29 views

Rotate binary files

I'm trying to solve a problem with rotating binary files. I have video files which are recorded from IP camera, and I want to delete oldest files when I have less then e.g. 10 Gb of free space. ...
0
votes
1answer
1k views

Make the daily log rotate run on exact time

I have Ubuntu 12.04.2 LTS server. My daily log rotations which are listed under /etc/logrotate.d/ are executed at the morning around 7:00 am, but it is not on exact time, each day it changed on range ...
4
votes
0answers
348 views

Upstart not reopening log files on logrotation

We use upstart to manage our services on our Ubuntu servers. They produce logs which are logged out to /var/log/upstart/SERVICE_NAME.log Then daily, the log files are rotated using the logrotation ...
2
votes
0answers
4k views

Ubuntu 14.04 - logrotate does not rotate /var/log/* (rsyslog config)

I have a bunch of Ubuntu 14.04 servers I manage where logrotate is not rotating anything under /var/log/. I'm going to assume its an issue with the /etc/logrotate.d/rsyslog as I see other entries in ...
1
vote
0answers
38 views

Apache daemon problem /etc/init.d/apache2

For the last 5 weeks, I have monitored some strange behavior. Every week at logrotate process time, the init script /etc/init.d/apache2 is being rotated as if it were a log file. The first week it ...
1
vote
0answers
27 views

Log rotate daily time for specific application

I know that similar question has been already asked, but there was something I am missing: Is there any option to specify the hour of rotating the logs, but only for one application ? I know that ...
0
votes
0answers
31 views

logrotate broken after security breech

I downloaded a PDF which evidently had Linux malware, which executed when I ran the PDF through firefox, or atril, Im not sure which. I figured it out shortly after running clamav, and I believe ...
0
votes
0answers
25 views

Logrotate errors on weekends

Update: After a lot of trial and error, I figured out that my logrotate for the giant backup was causing all the errors on the other logrotates. I had tried to only get 2 rotations so it'd look like: ...
0
votes
0answers
15 views

/etc/init.d/apache2 file is being log rotated

For the last 5 weeks, I have monitored some strange behavior. Every week at logrotate process time, the init script /etc/init.d/apache2 is being rotated as if it were a log file. The first week it ...
0
votes
0answers
158 views

tracking down possible file system corruption issue with f2fs

I am investigating a potential file system corruption issue running f2fs on an ARM 7 device with an Linux 3.12/ Ubuntu 14.04 stack on top. So, the symptoms of the issues are as follows: The ubuntu ...