🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Reg Clemens Tue, 03 Nov 1992 19:28
INN - RNEWS -U what am I doing wrong...
#1604
Author: Reg Clemens
Date: Tue, 03 Nov 1992 19:28
35 lines
1502 bytes

I run `rnews -U' hourly from the `news' crontab.  If there are articles
to be processed in /news/spool/news/in.coming they are NOT processed,
but rather I get either the error message

    Your "cron" job

    /news/bin/news.daily

    produced the following output:

    Unspooling failed: Error 0

or the message...

    Your "cron" job

    /news/bin/rnews -U

    produced the following output:

    Unspooling failed: Bad file number

The files remain in the directory and I see the same messages the
next hour.  So what am I doing wrong???  The only way to process
the articles seems to loop thru with rnews giving rnews each file
name, one at a time...

                                        Reg.Clemens
                                        clemens@plk.af.mil
-- 

				Reg.Clemens
				clemens@plk.af.mil
Re: INN - RNEWS -U what am I doing wrong...
#1607
Author: Stephen Williams
Date: Wed, 04 Nov 1992 19:23
63 lines
2374 bytes
(ISC 3.2 R3)

I see the same problem.

It never happens when the directory doesn't have many entries, but
sometimes does when it has a lot.  When I have it down for a while, I
sometimes have to mv them to a subdirectory and do:

for x in *
do
  echo $x
  rnews -v $x
  rm $x
done

Of course, if innd still isn't working, this will just put them back
in in.coming.

Don't seem to have as much trouble any more....

I would guess it's a problem with the directory scanning code, but
didn't check it out yet.

It seems like a good idea to do the above loop after trying rnews -U
in crontabs.  I think I'll add that to mine.  Harmless if I fix the
problem later.

reg@aquarius.unm.edu (Reg Clemens) writes:
: 
: I run `rnews -U' hourly from the `news' crontab.  If there are articles
: to be processed in /news/spool/news/in.coming they are NOT processed,
: but rather I get either the error message
: 
:     Your "cron" job
: 
:     /news/bin/news.daily
: 
:     produced the following output:
: 
:     Unspooling failed: Error 0
: 
: or the message...
: 
:     Your "cron" job
: 
:     /news/bin/rnews -U
: 
:     produced the following output:
: 
:     Unspooling failed: Bad file number
: 
: The files remain in the directory and I see the same messages the
: next hour.  So what am I doing wrong???  The only way to process
: the articles seems to loop thru with rnews giving rnews each file
: name, one at a time...


--
Stephen D. Williams  Local Internet Gateway Co.; SDW Systems 513 496-5223APager
LIG dev./sales       Internet: sdw@world.std.com CIS 76244.210@compuserve.com
OO R&D Source Dist.  By Horse: 10028 Village Tree Ct., Miamisburg, OH 45342
GNU Support          ICBM: 39 34N 85 15W I love it when a plan comes together
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads