🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #283158

Cron Error with Mail.info

#283158
From: Jeremy Bentham
Date: Tue, 21 Jun 2016 19:09
59 lines
2085 bytes
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
run-parts: /etc/cron.daily/logrotate exited with return code 1

How can I get rid of this error message in my crontab?

Here's my data from rsyslog in logrotate.d directory information:


/var/log/syslog
{
        rotate 3
        daily
        missingok
        notifempty
        delaycompress
        compress
        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
        endscript
}
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
{
        rotate 0
        daily
        missingok
        notifempty
        compress
        delaycompress
        sharedscripts
        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
        endscript
}
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
        rotate 1
        daily
        missingok
        notifempty
        compress
        delaycompress
        sharedscripts
        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
        endscript
Technical Details
Message-ID: <d94f3ad6159c562f0b67f2ccf0be8f90@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <d94f3ad6159c562f0b67f2ccf0be8f90@anemone.mooo.com>
Subject: Cron Error with Mail.info
Date: Tue, 21 Jun 2016 19:09:23 +0000
From: Jeremy Bentham <nobody@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <jeremyadmin@anemone.mooo.com>.
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
Lines: 59