🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cron Error with Mail.info

#283179
From: Anonymous Remailer (austria)
Date: Wed, 22 Jun 2016 12:56
50 lines
2369 bytes
> On Wed, 22 Jun 2016 02:31:39 +0100 (BST), Nathan Hale <nobody@remailer.org.uk> wrote:
> 
> 
>>> 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.
>>
>>  That is correct. Just delete this line to skip creating a mail.log: /var/log/mail.log
> 
> This is not correct and not what I suggested either.

  This group is what triggers his mail.log bckup:

/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
}

  Therefore, removing the /var/log/mail.log line would prevent any mail.log creation.  However, rotate 0 is probably doing the same.
Technical Details
Message-ID: <d5f8cba1086d3232326fd3a73c0d1288@remailer.privacy.at>
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
References: <1l0kmbpn6fq1dr6v0jvuf8t513pgi4sn82@news.stray.cat.edu>

Show Full Headers
Complete Article Headers
Message-ID: <d5f8cba1086d3232326fd3a73c0d1288@remailer.privacy.at>
Subject: Re: Cron Error with Mail.info
Date: Wed, 22 Jun 2016 12:56:09 +0000
From: "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
References: <1l0kmbpn6fq1dr6v0jvuf8t513pgi4sn82@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!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 50