🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83591

Re: Transit server "wanttrash"

#83591
From: John F. Morse
Date: Fri, 29 Oct 2010 15:37
73 lines
3615 bytes
Hi Julien

> With which user is launched the corresponding crontab?  I believe
> with the news user according to the subject of the mail.


That's what I believe, plus /etc/cron.d/inn2 has:

# Expire old news and overview entries nightly, generate reports.

0 0     * * *   news    test -x /usr/lib/news/bin/news.daily && 
news.daily expireover lowmark delayrm

The only edits I make are changing the time to midnight in the above 
line, and then changing the hours for the NINPATHS jobs to stagger each 
server's mailing so the messages aren't blocked by the 
pathsurvey@top1000.org greylist. I also add lines to run rsync to move 
Daily Report data to one central HTTP server. That stuff is working OK.


> It seems that the PATH variable is not properly set.
>
> For your information, my /etc/cron.d/inn2 file starts with:
>
> SHELL=/bin/sh
> PATH=/home/news/bin:/usr/bin:/usr/sbin:/bin:/sbin

The n102 server has:

news@n102:/usr/lib/news$ head /etc/cron.d/inn2
SHELL=/bin/sh
PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin

The new v102 server has:

news@v102:/usr/lib/news$ head /etc/cron.d/inn2
SHELL=/bin/sh
PATH=/usr/lib/news/bin

That may be the problem! I had removed what I thought were unneeded 
paths for INN.

I added it back in like your server and the rest of mine all have. After 
all, this is a cron job, and not an INN execution. <doh> :-[

I don't know what calls basename and tr, but news.daily does not have 
"basename" nor "tr" in it. So my guess is the binary expireover calls 
them. An earlier manual run of "news.daily norotate" did not cause the 
failure e-mail. I suspect because the actual file rotating is part of 
the basename and tr calls.

We'll see what it does at midnight....

.... Well, it made it through the midnight processes.

With your keen eye, I fixed that problem. Thanks.


>> The different sizes of the files is unusual. The n102 server is 
>> Debian Squeeze i386, but the new v102 server is Debian Squeeze amd64.
>>
>> Perhaps that architecture build is the reason the programs differ?
>
> Yet.  The generated binaries are not the same.


You meant "yes" I suppose? ;-)


-- 
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: <iaepom$6ql$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.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <ia27te$mhk$1@n102.xanadu-bbs.net> <ia2anl$vqb$1@news.trigofacile.com> <ia2j9t$pid$1@n102.xanadu-bbs.net> <iacike$j2r$1@n102.xanadu-bbs.net> <iacngq$mgj$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <iaepom$6ql$1@n102.xanadu-bbs.net>
Subject: Re: Transit server "wanttrash"
Date: Fri, 29 Oct 2010 10:37:58 -0500
From: "John F. Morse" <john@example.invalid>
References: <ia27te$mhk$1@n102.xanadu-bbs.net> <ia2anl$vqb$1@news.trigofacile.com> <ia2j9t$pid$1@n102.xanadu-bbs.net> <iacike$j2r$1@n102.xanadu-bbs.net> <iacngq$mgj$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.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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: 73
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 1288366678 6997 192.168.89.210 (29 Oct 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Fri, 29 Oct 2010 15:37:58 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
In-Reply-To: <iacngq$mgj$1@news.trigofacile.com>
X-Enigmail-Version: 0.96.0