🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83097

Re: Cron failing on Squeeze

#83097
From: John F. Morse
Date: Sun, 06 Jun 2010 15:25
55 lines
2908 bytes
Hi Julien

>> Now I'm receiving hourly e-mail cron failure reports every HH:10 such 
>> as the following:
>>
>> Subject: Cron <news@n102> [ -x /usr/bin/rnews ] && rnews -U (failed)
>
> What result do you obtain if you run "rnews -U" by hand?
> Also check your news.err and news.notice file in case there is 
> information
> logged by rnews.
>

I don't see any response that "rnews -U" did anything:

news@n102:~$ rnews -U
news@n102:~$

However the following was logged in syslog and news.notice:

Jun  6 09:57:00 n102 innd: localhost connected 183
Jun  6 09:57:00 n102 innd: localhost:183 checkpoint seconds 0 accepted 0 
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0 
rejected size 0
Jun  6 09:57:00 n102 innd: localhost:183 closed seconds 0 accepted 0 
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0 
rejected size 0

I do not have those innd: entries on the cron-initiated rnews calls, 
because cron is evidentially failing to execute them. The only logging 
at HH:10 are the failures.

/var/spool/news/incoming/bad and /var/spool/news/incoming/tmp are both 
empty. Nothing to spool.

The news.err (and OLD/news.err.1.gz) logs are empty.

News.notice has no associated entry at that time.

Syslog shows these at every HH:10 time:

Jun  6 09:10:01 n102 /USR/SBIN/CRON[2022]: (news) CMD (   [ -x 
/usr/bin/rnews ] && rnews -U)
Jun  6 09:10:01 n102 /USR/SBIN/CRON[2020]: (CRON) error (grandchild 
#2022 failed with exit status 1)


I suspect the Debian Squeeze upgrade broke cron (but then why did the 
inpaths run OK?).


-- 
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: <hugekm$3eo$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!postnews.google.com!news2.google.com!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <hug8eq$o17$1@n102.xanadu-bbs.net> <hugbmu$691$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hugekm$3eo$1@n102.xanadu-bbs.net>
Subject: Re: Cron failing on Squeeze
Date: Sun, 06 Jun 2010 10:25:08 -0500
From: "John F. Morse" <john@example.invalid>
References: <hug8eq$o17$1@n102.xanadu-bbs.net> <hugbmu$691$1@news.trigofacile.com>
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!postnews.google.com!news2.google.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: 55
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 1275837910 3544 192.168.89.210 (6 Jun 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sun, 6 Jun 2010 15:25:10 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
In-Reply-To: <hugbmu$691$1@news.trigofacile.com>
X-Enigmail-Version: 0.96.0