🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83587

Re: Transit server "wanttrash"

#83587
From: Julien ÉLIE
Date: Thu, 28 Oct 2010 20:47
47 lines
2997 bytes
Hi John,

> I'm receiving e-mail cron failure reports at midnight. The Message Subject is:
>
> Cron <news@v102> test -x /usr/lib/news/bin/news.daily && news.daily expireover 
> lowmark delayrm
>
> The message body contains only these two lines:
>
> /usr/lib/news/innshellvars: line 98: basename: command not found
> /usr/lib/news/innshellvars: line 121: tr: command not found

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

When you run /usr/lib/news/innshellvars by hand with the news user,
does it complain?

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

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

15 4    * * *   news    test -x /home/news/bin/news.daily && news.daily \
expireover lowmark delayrm expireoverflags='-N' flags='-N -v1'




> 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.

-- 
Julien ÉLIE

« Sometimes in love you must accept the fact that what makes the person
  you cared about happy might on the other hand leave you so lonely. »
Technical Details
Message-ID: <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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr!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>

Show Full Headers
Complete Article Headers
Message-ID: <iacngq$mgj$1@news.trigofacile.com>
Subject: Re: Transit server "wanttrash"
Date: Thu, 28 Oct 2010 22:47:20 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.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>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 47
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 28 Oct 2010 20:47:22 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr:83.114.130.127";
 logging-data="23059"; mail-complaints-to="abuse@trigofacile.com"
In-Reply-To: <iacike$j2r$1@n102.xanadu-bbs.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263