Results 1 to 1 of 1
I get the following email from Cron on a couple of my gentoo servers:
Code:
To: root
Subject: Cron <root@www2> test -x /usr/sbin/run-crons && /usr/sbin/run-crons
sh: line 2: postrotate: command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-12-2007 #1
Logrotate problem - postrotate: command not found
I get the following email from Cron on a couple of my gentoo servers:
I don't know why this happens on these two and not on all the other gentoo servers I have. I can't tell which logrotate script is generating the errors but as far as I know postrotate is valid inside logrotate scripts so I can't see why this erorr is happening.Code:To: root Subject: Cron <root@www2> test -x /usr/sbin/run-crons && /usr/sbin/run-crons sh: line 2: postrotate: command not found sh: line 2: postrotate: command not found sh: line 2: postrotate: command not found
So how do I stop these errors?


Reply With Quote
