The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
101 views

Logrotate not picking up or acting on new configuration file

I had a logrotate configuration file set up for a log (let's call it Log1). It is working fine and the log is rotating everyday as expected. Yesterday I cloned this set up and modified it for three ...
1
vote
1answer
134 views

logrotate custom “rotate” action equivalent for upstart?

In lots of online posts regarding how to rotate your iptables log files, for example here rsyslog config files get reloaded by the postrotate option of logrotate, presumably in order to stop rsyslog ...
1
vote
1answer
126 views

Rotating iptables logs, strange message about script being converted to upstart job

I use a script /etc/logrotate.d/iptables containing entries like: /var/log/in_iptables.log { rotate 4 weekly missingok notifempty compress ...
0
votes
1answer
54 views

How to override configuration of a logrotate by another configuration

There is a log folder on my disk, whose rotation policy is as follows "/mnt/foo/shared/log/*.log" { # rotate the files daily daily # Save the last 7 days worth of logs before deleting rotate ...
2
votes
0answers
138 views

Logwatch ignores self-defined service, but explicit setting --service $service works

I am using SSLH on my server to accept both SSL and SSH connections on Port 443. As the logs of sshd and apache2 show each incoming connection via SSLH originating from 127.0.0.1, I want to add the ...
1
vote
0answers
29 views

Permission denied when running logrotate with anacron

I am trying to figure out what is causing anacron to send me the following error message: /etc/cron.daily/logrotate: /var/log/mariadb/mariadb.log-20140710.gz: Permission denied error: error running ...
0
votes
0answers
21 views

logrotate error “error: error opening /home/web/logs/dev.log.10: No such file or directory”

In a run, sometimes I get such type of errors for any of the log file. Below is my configuration: /home/web/logs/*.log.* { missingok copytruncate olddir rotate rotate 5000 compress ...
0
votes
0answers
80 views

why daily cron isn't running on CentOS 6?

I have a daily cronjob set up on CentOS 6 OS which should look after the log rotation job. The file is /etc/cron.daily/logrotate and it's contents are #!/bin/sh /usr/sbin/logrotate ...
0
votes
0answers
55 views

Smarter log rotation

I want to reduce the amount of logs in my system, but reduce them smartly. The general idea is, each time you rotate, look for any warning/error/critical level logs, and keep 2 minutes of log context ...