🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Joacim Persson Sun, 05 Jan 1997 00:00
Inn-1.5.1, articles not showing up in the outgoing batch file.
#13751
Author: Joacim Persson
Date: Sun, 05 Jan 1997 00:00
19 lines
1415 bytes
I'm using Linux 2.0.27, Inn-1.5.1 and slurp 1.10 + postit 0.8, and tin 1.22
as news client.

Most of the time everything works fine, but sometimes, articles I post
doesn't make it to the .../out.going/<site.name>-file.  ctlinnd flush
doesn't help, `ctlinnd reload all' does, well, the file is still empty but
at least postings works again for a while. The article does show up in the
spool/article dir.
I haven't found anything in the FAQ or elsewhere about it.
Nothing peculiar in the logs, not even with tracing on for innd and nnrpd -
everything looks same as when it works.
It doesn't matter if I use `tin', or `tin -r'. (I've set up tin, _not_ to
use the internal inews, it uses the one that comes with Inn)

What can be the cause of this problem? Anyone else experiencing it?
Any fixes, or at least a tip on which program/file to go bug-hunting in?

Re: Inn-1.5.1, articles not showing up in the outgoing batch file.
#13815
Author: Joacim Persson
Date: Tue, 07 Jan 1997 00:00
19 lines
1239 bytes
Joacim Persson (sp2joap1@ida.his.se) wrote:
: Most of the time everything works fine, but sometimes, articles I post
: doesn't make it to the .../out.going/<site.name>-file.

I've found the problem now. In case anyone else did have the same
problem/configuration:

Postit creates a new out.going/<site> (it creates a new temp file and
does a rename() on it ), but innd still had the file open...
(/proc is a really great debugging aid ;)

A "ctlinnd drop <site>" before running postit, followed by a
"ctlinnd begin <site>" does the trick.

How about having innd do the same for all sites' batch files
with the pause-go drill instead?

Re: Inn-1.5.1, articles not showing up in the outgoing batch file.
#13933
Author: Per Hedeland
Date: Fri, 10 Jan 1997 00:00
45 lines
2375 bytes
[ Bogus Distribution: inet removed ]

In article <5aug26$uve$1@trix.ixum.se> sp2joap1@ida.his.se (Joacim
Persson) writes:
>Postit creates a new out.going/<site> (it creates a new temp file and
>does a rename() on it ), but innd still had the file open...

Then "postit" is broken - it should leave the creation of that file to
innd.

>A "ctlinnd drop <site>" before running postit, followed by a
>"ctlinnd begin <site>" does the trick.

It may not be a problem in your case, but in general this is improper -
any articles posted/received between drop and begin will not be fed on.

>How about having innd do the same for all sites' batch files
>with the pause-go drill instead?

I think it would be better if you (or probably the author of "postit")
RTFM'ed instead - ctlinnd(8):

     flush site
          Flush the buffer for the specified site.   The  actions
          taken depend on the type of feed the site receives; see
          newsfeeds(5).  This is useful when the site is fed by a
          file  and  batching  is  going to start.  If site is an
          empty string, then all sites are flushed and the active
          file  and history databases are also written out.  This
          command is forwarded; see below.

- and newsfeeds(5):

     When a site fed by a file is flushed (see ctlinnd), the fol-
     lowing  steps  are  performed.   The  script doing the flush
     should have first renamed the file.   The  server  tries  to
     write  out any buffered data, and then closes the file.  The
     renamed file is now available for use.  The server will then
     re-open the original file, which will now get created.

--Per Hedeland
per@erix.ericsson.se

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