🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83094

Cron failing on Squeeze

#83094
From: John F. Morse
Date: Sun, 06 Jun 2010 13:39
113 lines
4747 bytes
Yesterday I updated a Debian Squeeze box ("apt-get update" followed by 
"apt-get upgrade" via ssh) which runs INN 2.5.2.

Now I'm receiving hourly e-mail cron failure reports every HH:10 such as 
the following:


From: root@n102.my.net (Cron Daemon)
To: news@n102.my.net
Subject: Cron <news@n102> [ -x /usr/bin/rnews ] && rnews -U (failed)
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/var/spool/news>
X-Cron-Env: <LOGNAME=news>

command failed with exit status 1


Additionally, at 03:02 I received the following e-mail error report:


To: news@n102.my.net
Subject: Cron <news@n102> [ -x /usr/sbin/ctlinnd ] && ctlinnd -t 300 -s 
reload incoming.conf "flush cache" (failed)
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/var/spool/news>
X-Cron-Env: <LOGNAME=news>

command failed with exit status 1


Following is the pertinent info for this upgrade from 
/var/log/apt/term.log using:

sudo cat /var/log/apt/term.log | grep cron


john@n102:/var/log/apt$ sudo cat term.log | grep cron
Preparing to replace cron 3.0pl1-109 (using 
.../cron_3.0pl1-111_i386.deb) ...
Stopping periodic command scheduler: cron.
Unpacking replacement cron ...
Setting up cron (3.0pl1-111) ...
Installing new version of config file /etc/init.d/cron ...
Installing new version of config file /etc/cron.daily/standard ...
Starting periodic command scheduler: cron.
Installing new version of config file /etc/cron.daily/man-db ...
Installing new version of config file /etc/cron.weekly/man-db ...


Immediately following the apt-get upgrade, I received the following e-mail:


Subject: apt-listchanges: news for n102
To: root@n102.my.net
From: root <root@n102.my.net>

cron (3.0pl1-110) unstable; urgency=low

    In the past, long-running jobs caused certain MTAs to time out,
    resulting in no output being sent. Justin Pryzby's patch to fix this
    has been included. It may be worth to note that Debian's default MTA
    exim was not susceptible to this.

    Tasks generating a lot of output no longer die with when no MTA is
    installed.

    crontab(1) now refuses any crontabs missing a newline before EOF. In
    the past, this has been the source of much confusion -- especially
    because the upstream code supposed to detect this was severely broken.

    cron(8) now recovers from broken symlinks in /etc/cron.d. This fix
    may cause power management issues (disk spin-ups), feedback welcome.

    Christian Kastner came on board as a maintainer.

 -- Christian Kastner <debian@kvr.at>  Thu, 29 Apr 2010 13:25:09 +0200

initramfs-tools (0.94) unstable; urgency=low

  * To improve boot speed and avoid some complications, video drivers are
    no longer included in the initramfs by default (MODULES=most).

 -- maximilian attems <maks@debian.org>  Mon, 05 Apr 2010 08:10:34 +0200



The final lines in /etc/cron.d/inn2 are shown below, and the file does 
have a blank line (#52) following the line of asterisks:


john@n102:/etc/cron.d$ cat -n inn2
...
    49    6 1     * * *   news    ctlinnd -s -t 60 flush inpaths!
    50    8 1     * * *   news    sendinpaths
    51    # NINPATHS 
###################################################################
    52   
john@n102:/etc/cron.d$


The inpaths e-mail was created and sent at 01:08 without any failure.

Any ideas what "broke" or how to fix it?


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <hug8eq$o17$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hug8eq$o17$1@n102.xanadu-bbs.net>
Subject: Cron failing on Squeeze
Date: Sun, 06 Jun 2010 08:39:38 -0500
From: "John F. Morse" <john@example.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 113
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1275831578 24615 192.168.89.210 (6 Jun 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sun, 6 Jun 2010 13:39:38 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
X-Enigmail-Version: 0.96.0