🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
16 messages
16 total messages Started by Peter Chant Mon, 14 Feb 2005 21:42
rnews failing to despool
#70705
Author: Peter Chant
Date: Mon, 14 Feb 2005 21:42
19 lines
1436 bytes
I am using Inn 2.4.1 and newsx-1.6 to to get the news onto Inn.  However, I
have a problem.  Newsx is not running nicely which I suspect maybe
something to do with rnews.

Rnews on its own is not behaving.  I have articles
in /var/spool/news/incoming.  Running rnews -U should get rid of these and
put them on the server.  It does not.  I have tried various permissions for
rnews to no avail.  It is currently user news, group new with sudo user and
group id set.  

Unfortunately it still does not work.

Any thoughts?

Pete


-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70710
Author: Peter Chant
Date: Mon, 14 Feb 2005 21:43
14 lines
1138 bytes
> Unfortunately it still does not work.
> 
> Any thoughts?

Something I forgot to mention.

If I go into /var/spool/news/incoming and cat <file> | rnews it does feed
the contents of the file to the server.

Pete 

-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70707
Author: Jeffrey M. Vinocur
Date: Tue, 15 Feb 2005 02:20
21 lines
1757 bytes
In article <37cka2F5bnnciU1@individual.net>,
Peter Chant  <pete@petezilla.co.uk> wrote:
>I am using Inn 2.4.1 and newsx-1.6 to to get the news onto Inn.  However, I
>have a problem.  Newsx is not running nicely which I suspect maybe
>something to do with rnews.

This is a new install that has not previously work, correct?


>Rnews on its own is not behaving.  I have articles
>in /var/spool/news/incoming.  Running rnews -U should get rid of these and
>put them on the server.  It does not.  I have tried various permissions for
>rnews to no avail.  It is currently user news, group new with sudo user and
>group id set.  

Anything in the logs?  news.crit / news.err / news.notice / errlog


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews failing to despool
#70709
Author: Paul Tomblin
Date: Tue, 15 Feb 2005 02:50
16 lines
1698 bytes
In a previous article, Peter Chant <pete@petezilla.co.uk> said:
>Something I forgot to mention.
>
>If I go into /var/spool/news/incoming and cat <file> | rnews it does feed
>the contents of the file to the server.

It sounds like rnews has a different view on where the incoming files are
located.  First thing to check is to make sure you're using the rnews that
came with inn, not the one that came with newsx.


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
"But what...is it good for?"
--Engineer at the Advanced Computing Systems Division of IBM commenting on
  the microchip, 1968.
Re: rnews failing to despool
#70711
Author: Peter Chant
Date: Tue, 15 Feb 2005 15:16
18 lines
1679 bytes
Paul Tomblin wrote:


> It sounds like rnews has a different view on where the incoming files are
> located.  First thing to check is to make sure you're using the rnews that
> came with inn, not the one that came with newsx.
> 

Definitely the one that came with INN.  I am runing INN on a uml machine
under linux and I compiled the newsx binary on the host machine, copying it
across using ftp.  Therefore I am certain I did not copy across any other
copy of rnews.

The incoming spool directory in inn.conf matches the real one and I cannot
see a way to force rnews to look into a specific directory.

-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70712
Author: Peter Chant
Date: Tue, 15 Feb 2005 20:44
37 lines
1966 bytes
Jeffrey M. Vinocur wrote:

> In article <37cka2F5bnnciU1@individual.net>,
> Peter Chant  <pete@petezilla.co.uk> wrote:
>>I am using Inn 2.4.1 and newsx-1.6 to to get the news onto Inn.  However,
>>I
>>have a problem.  Newsx is not running nicely which I suspect maybe
>>something to do with rnews.
> 
> This is a new install that has not previously work, correct?

It did work for a while.  It seemed to stop working about the time I changed 
/var/spool/news to a nfs mount.  Changing it back to a simple directory did
not fix things.

I also had some trouble with newsx.  Seg faults, but using --maxlimit seems
to fix it.
ATW22411
> Anything in the logs?  news.crit / news.err / news.notice / errlog
> 
> 

news.crit - blank
news.err - blank
news.notice - blank
errlog - blank

Ah ha.  Look in OLD.  A lot of errors from newsx including message ids
giving error 436 cant store article.






-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70714
Author: Jeffrey M. Vinocur
Date: Wed, 16 Feb 2005 03:49
34 lines
1918 bytes
In article <37f59aF5enkqgU1@individual.net>,
Peter Chant  <pete@petezilla.co.uk> wrote:
>Jeffrey M. Vinocur wrote:
>
>> This is a new install that has not previously work, correct?
>
>It did work for a while.  It seemed to stop working about the time I changed 
>/var/spool/news to a nfs mount.  Changing it back to a simple directory did
>not fix things.

>I also had some trouble with newsx.  Seg faults, but using --maxlimit seems
>to fix it.

Hmm...not sure what to make of that.


>news.crit - blank
>news.err - blank
>news.notice - blank
>errlog - blank

Those really shouldn't be blank...your syslog is set up as per
INSTALL?


>Ah ha.  Look in OLD.  A lot of errors from newsx including message ids
>giving error 436 cant store article.

Does it give a reason, though?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews failing to despool
#70715
Author: Peter Chant
Date: Wed, 16 Feb 2005 13:23
55 lines
2510 bytes
Jeffrey M. Vinocur wrote:

> In article <37f59aF5enkqgU1@individual.net>,
> Peter Chant  <pete@petezilla.co.uk> wrote:
>>Jeffrey M. Vinocur wrote:
>>
>>> This is a new install that has not previously work, correct?
>>
>>It did work for a while.  It seemed to stop working about the time I
>>changed
>>/var/spool/news to a nfs mount.  Changing it back to a simple directory
>>did not fix things.
> 
>>I also had some trouble with newsx.  Seg faults, but using --maxlimit
>>seems to fix it.
> 
> Hmm...not sure what to make of that.
> 
> 
>>news.crit - blank
>>news.err - blank
>>news.notice - blank
>>errlog - blank
> 
> Those really shouldn't be blank...your syslog is set up as per
> INSTALL?
> 
> 
>>Ah ha.  Look in OLD.  A lot of errors from newsx including message ids
>>giving error 436 cant store article.
> 
> Does it give a reason, though?
> 
> 

No, it is not that helpful.

Feb 16 13:18:16.853 - newsx <dng611tghabdjll8pr4g2b89vm192um3cl@4ax.com> 436
cant store article
Feb 16 13:18:16.875 - newsx <7cd6119nb24appmm3i8aagkur9dvc1l8tg@4ax.com> 436
cant store article
Feb 16 13:18:16.896 - newsx
<ZhFQd.4145$VI5.2553@newsread3.news.atl.earthlink.net> 436 cant store
article
Feb 16 13:18:16.923 - newsx <DzvPd.38231$i42.13724@fe1.columbus.rr.com> 436
cant store article


I did get glimmers of life when I set the timezone up, something that I had
forgotted.  Unfortunately it is playing up again.

Pete

-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70716
Author: Jeffrey M. Vinocur
Date: Wed, 16 Feb 2005 15:26
15 lines
1453 bytes
In article <37gvq4F577nr5U1@individual.net>,
Peter Chant  <pete@petezilla.co.uk> wrote:
>
>No, it is not that helpful.
>
>Feb 16 13:18:16.853 - newsx <dng611tghabdjll8pr4g2b89vm192um3cl@4ax.com> 436
>cant store article

Oh, that's the "news" logfile.  You should have more detail at
the corresponding section of news.notice.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rnews failing to despool
#70717
Author: Peter Chant
Date: Wed, 16 Feb 2005 18:47
13 lines
1287 bytes
Jeffrey M. Vinocur wrote:


> 
> Oh, that's the "news" logfile.  You should have more detail at
> the corresponding section of news.notice.
> 
> 

Unfortunately that is blank.

-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70718
Author: Peter Chant
Date: Wed, 16 Feb 2005 18:48
17 lines
1517 bytes
Peter Chant wrote:

> Jeffrey M. Vinocur wrote:
> 
> 
>> 
>> Oh, that's the "news" logfile.  You should have more detail at
>> the corresponding section of news.notice.
>> 
>> 
> 
> Unfortunately that is blank.
> 

Which now should be sorted after having a look at syslog.conf...
-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70719
Author: Peter Chant
Date: Wed, 16 Feb 2005 22:21
31 lines
2195 bytes
Peter Chant wrote:


> 

> Which now should be sorted after having a look at syslog.conf...


OK, extract from news.notice

Feb 16 22:14:56 news innd: tradindexed: cannot lock group entry at 65992: No
locks available
Feb 16 22:14:56 news innd: tradspool: could not
symlink /var/spool/news/articles/rec/photo/equipment/35mm/54
to /var/spool/news/articles/rec/photo/darkroom/2 File exists
Feb 16 22:14:56 news innd: SERVER cant store article: File exists
Feb 16 22:14:56 news innd: localhost:17 readclose
Feb 16 22:14:56 news innd: localhost:17 closed seconds 0 accepted 1 refused
5 rejected 1 duplicate 0 accepted size 2615

It looks like I made a mess of /var/spool/news when I turned it from a
simple directory to a nfs mount from another machine.  Ironically I am
trying to run innd on a uml linux 'machine' to avoid the problem of having
to re-remember/learn how to configure inn every time.

I will try unsubscribing from all groups and if possible erase the history
and see if that tidies things up.


-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70720
Author: Paul Tomblin
Date: Wed, 16 Feb 2005 22:27
13 lines
1597 bytes
In a previous article, Peter Chant <pete@petezilla.co.uk> said:
>I will try unsubscribing from all groups and if possible erase the history
>and see if that tidies things up.

Regenerate the history and overview files, as well as verifying the
numbering in the active file.  "man makehistory" has instructions.


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
Frankly, your argument wouldn't float were the sea composed of
mercury.
              -- Biff
Re: rnews failing to despool
#70721
Author: Peter Chant
Date: Wed, 16 Feb 2005 22:58
19 lines
1612 bytes
In article <cv0hc0$g85$1@allhats.xcski.com>,
	ptomblin+netnews@xcski.com (Paul Tomblin) writes:
> Regenerate the history and overview files, as well as verifying the
> numbering in the active file.  "man makehistory" has instructions.

I think I have been making a rod for my own back by trying to put 
/var/spool/news on an nfs mount and ommitting to have statd running 
which meant that locks did not work which seemsto be upsetting 
tradspool.

I seem to be getting there.  


Slowly

Pete

-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70747
Author: Peter Chant
Date: Thu, 17 Feb 2005 22:28
30 lines
1928 bytes
In article <cv0j7d$45o$1@news.fire>,
	pete@petezilla.co.uk (Peter Chant) writes:
> 
> Slowly
> 

Thanks guys.  Basically as suspected my my spool/history/active file
was corrupted.  This was complicated by my mounting of /var/spool/news
from another machine via nfs, lock problems with NFS and also problems
with root_squash not allowing me to sort it all out on the virtual
machine.  

I am not sure I have got active fully fixed but if necessary I could 
build a script to try and cross check it against the spool, if I find
doing it manually a pain.  I assume I am correct, when using 
tradspool that the format is:

newsgroup highest-numbered-article lowest-numbered-artical

and that there should be no gaps.

So basically rnews seems to behave.  Newsx still sometimes segfaults
but I assume that the newsx mailing list is the best place to deal with
that.

Pete


-- 
http://www.petezilla.co.uk
Re: rnews failing to despool
#70753
Author: Jeffrey M. Vinocur
Date: Fri, 18 Feb 2005 03:32
39 lines
2291 bytes
In article <cv35qg$lo0$2@news.fire>, Peter Chant <pete@petezilla.co.uk> wrote:
>
>I am not sure I have got active fully fixed but if necessary I could 
>build a script to try and cross check it against the spool, if I find
>doing it manually a pain.  

Well, if your overview is correct, `ctlinnd renumber ""` is all
that's needed to make the active file match it.  And if you had
overview problems you'd likely know it by now (but on a small
server, rebuilding overview with makehistory doesn't take too
long if you want that reassurance).


>I assume I am correct, when using tradspool that the format is:
>
>newsgroup highest-numbered-article lowest-numbered-artical

Yes, followed by a one-character flag indicating moderation status.


>and that there should be no gaps.

I don't quite understand what you mean by gaps.

Articles are numbered sequentially as they arrive, but gaps can
appear later when articles are canceled, or expire in a different
order than they arrived.


>So basically rnews seems to behave.  Newsx still sometimes segfaults
>but I assume that the newsx mailing list is the best place to deal with
>that.

Yeah, most likely.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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