Article View: alt.privacy.anon-server
Article #283168Re: Cron Error with Mail.info
From: Anonymous
Date: Tue, 21 Jun 2016 22:07
Date: Tue, 21 Jun 2016 22:07
20 lines
1810 bytes
1810 bytes
On Tue, 21 Jun 2016 17:22:40 -0400 (EDT), Anonymous <anonymous@foto.nl1.torservers.net> wrote: >> I'm getting this error message daily in my cron job: >> >> etc/cron.daily/logrotate: >> error: error opening /var/log/mail.info.1.gz: No such file or >> directory > > This happens when you delete a log file above other same log files. >What has happened is that you probably had some logs like this: > >/var/log/mail.info.1.gz >/var/log/mail.info.2.gz >/var/log/mail.info.3.gz > >and you deleted /var/log/mail.info.1.gz. Look and see if that isn't the case in your log file folder. > > You can either delete the 2 and 3 ... files or create a dummy mail.info.1.gz file. That should stop it. It would be better to not create rotated log files at all rather than delete them all later via a separate process.
Technical Details
Message-ID:
<riejmb992t8k8nlq6588ovppb1b81hsv40@news.stray.cat.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<d94f3ad6159c562f0b67f2ccf0be8f90@anemone.mooo.com> <159a3472bdfc902ea5fb396dfd5f6b27@foto.nl1.torservers.net>Show Full Headers
Complete Article Headers
Message-ID: <riejmb992t8k8nlq6588ovppb1b81hsv40@news.stray.cat.edu>
Subject: Re: Cron Error with Mail.info
Date: Tue, 21 Jun 2016 18:07:49 -0400
From: Anonymous
References: <d94f3ad6159c562f0b67f2ccf0be8f90@anemone.mooo.com> <159a3472bdfc902ea5fb396dfd5f6b27@foto.nl1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Lines: 21
NNTP-Posting-Host: sly-ocelot.stray.cat.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Keywords: None
X-Face: ,l9N8F.A~!GX.Yz#yYAZtvpk7aF(an!BVo3%Xb,`Q]*$Oh'RtXB5n4iisiGw8
l3nY)lnh(G]9[ud;QeX:W}'r)1F9gEQD4o::mBU9JZAXI\y_0t$P#*/o|!TSG9OtqY+`
NX>cpjf?w~w1RY_}M5731El52pUnI}OaRi~PA+n[fiO>=TS|2h~f%c9zy]*i2LajTWLJ
_X^1No"P#D_(t*t-5n]wW1
User-Agent: nn/6.7.3