Thread View: news.software.nntp
17 messages
17 total messages
Started by wardmw
Thu, 20 Jun 2013 09:58
Trouble between Diablo feeder and reader
Author: wardmw
Date: Thu, 20 Jun 2013 09:58
Date: Thu, 20 Jun 2013 09:58
30 lines
2664 bytes
2664 bytes
Hi all, For my sins I have to set up a new NNTP server and opted for Diablo v5.1 because it was suggested that it would be easier to set up and maintain. I have the feeder set up on a server and it seems to be receiving articles correctly, at least the news.log shows entries like: "secs=12077 ihave=0 chk=0 takethis=1024 rec=1024 acc=1024 ref=0 precom=0 postcom=0 his=0 badmsgid=0 ifilthash=0 rej=0 ctl=7 spam=0 err=0 recbytes=2534086 accbytes=2534086 rejbytes=0 (0/sec)" I have looked at some of the newsgroups I am receiving on the feeder by grepping for the names and I am getting a fair spread of different groups. I have also set up a reader on a different server that takes its feed from the feeder, however this reader server only claimes to have 44 groups in the "comp.sys" area of the Usenet. I cannot figure out why the reader will not show me any other news groups. I have specified the reader IP address in the feeder's diablo.hosts file and confirmed that it is accessing the feeder without errors. I would appreciate any support here, preferably useful suggestions about how to resolve this issue but I am willing to consider suggestion about installing other software if you can persuade me it's easier to install and maintain on a Solaris 10 Unix server! |\/|artin
Re: Trouble between Diablo feeder and reader
Author: Tony
Date: Thu, 20 Jun 2013 10:22
Date: Thu, 20 Jun 2013 10:22
22 lines
2193 bytes
2193 bytes
On 2013-06-20, wardmw@gmail.com <wardmw@gmail.com> wrote: > I would appreciate any support here, preferably useful suggestions > about how to resolve this issue but I am willing to consider > suggestion about installing other software if you can persuade me it's > easier to install and maintain on a Solaris 10 Unix server! I don't know if INN is easier to setup and maintain than Diablo, because I've never set up Diablo. However, in my view, a basic install on INN is pretty easy to achieve, and I found a lot more information around on how to achieve it than I did for other news server software. I may have misunderstood your setup, but can you connect to your servers using a news client and see which groups they have and what the contents are? -- Tony Evans Saving trees and wasting electrons since 1993 blog -> http://perceptionistruth.com/ books -> http://www.bookthing.co.uk/ [ anything below this line wasn't written by me ]
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Thu, 20 Jun 2013 11:10
Date: Thu, 20 Jun 2013 11:10
18 lines
2303 bytes
2303 bytes
On Thursday, 20 June 2013 11:22:10 UTC+1, Tony wrote: > > I may have misunderstood your setup, but can you connect to your servers > using a news client and see which groups they have and what the contents > are? > Sorry, I didn't explain that very well. Yes I can connect a news client to the reader and see the groups it has available (44 groups, all in the comp.sys area). I can also look at the groups available on the feeder server by grepping for names from the articles and I can see many more than 44. The issue seems to be between the reader and the feeder. I don't know if INN has similar functionality but Diablo can be set up with a reader server that only stores the article headers and a feeder which store the whole thing. |\/|
Re: Trouble between Diablo feeder and reader
Author: Tony
Date: Thu, 20 Jun 2013 11:13
Date: Thu, 20 Jun 2013 11:13
28 lines
2401 bytes
2401 bytes
On 2013-06-20, Martin Ward <wardmw@gmail.com> wrote: > On Thursday, 20 June 2013 11:22:10 UTC+1, Tony wrote: >> >> I may have misunderstood your setup, but can you connect to your servers >> using a news client and see which groups they have and what the contents >> are? >> > > Sorry, I didn't explain that very well. Yes I can connect a news > client to the reader and see the groups it has available (44 groups, > all in the comp.sys area). I can also look at the groups available on > the feeder server by grepping for names from the articles and I can > see many more than 44. > > The issue seems to be between the reader and the feeder. I don't know > if INN has similar functionality but Diablo can be set up with a > reader server that only stores the article headers and a feeder which > store the whole thing. Does Diablo have the concept of an active file which describes all the groups it carries? -- Tony Evans Saving trees and wasting electrons since 1993 blog -> http://perceptionistruth.com/ books -> http://www.bookthing.co.uk/ [ anything below this line wasn't written by me ]
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Thu, 20 Jun 2013 12:28
Date: Thu, 20 Jun 2013 12:28
24 lines
2687 bytes
2687 bytes
On Thursday, 20 June 2013 12:13:59 UTC+1, Tony wrote: > > Does Diablo have the concept of an active file which describes all the > groups it carries? > It does and you seem to have hit the nail on the head. I looked at the dactive.kp file which only has 44 groups in it, the same groups I can see from my news client. Changes made to this dactive.kp file (deleting groups) are reflected in my client. So it looks like my problem is actually "how do I update my dactive.kp file?" I have pored over the documentation and there are plenty of references to this file but none that say how to actually create or recreate it! The only useful reference I can find tells me how to create the dactive.kp file from another news reader server, but not from a Diablo news feeder! There must be a way of creating the dactive.kp file from the feeder otherwise what happens when new groups come along? Would I have to add them manually? I will keep trawling through the docs and Google and see if I am missing something but in the meantime how does INN keep its active file up to date? |\/|
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Thu, 20 Jun 2013 14:14
Date: Thu, 20 Jun 2013 14:14
8 lines
2281 bytes
2281 bytes
On Thursday, 20 June 2013 13:28:18 UTC+1, Martin Ward wrote: > > So it looks like my problem is actually "how do I update my dactive.kp file?" > I have been unable to find out how I am supposed to create this dactive.kp file. It seems that the reader host will receive control commands to create and delete news groups but I cannot understand how to get an initial set of groups in the first place! |\/|
Re: Trouble between Diablo feeder and reader
Author: John F. Morse
Date: Thu, 20 Jun 2013 15:07
Date: Thu, 20 Jun 2013 15:07
26 lines
2498 bytes
2498 bytes
On 06/20/2013 09:14 AM, Martin Ward wrote: > On Thursday, 20 June 2013 13:28:18 UTC+1, Martin Ward wrote: >> So it looks like my problem is actually "how do I update my dactive.kp file?" >> > I have been unable to find out how I am supposed to create this dactive.kp file. It seems that the reader host will receive control commands to create and delete news groups but I cannot understand how to get an initial set of groups in the first place! > > |\/| You might have more people see your messages if you were not posting through Google Groups. Many news server administrators filter GG out of their incoming feeds. As for the active file, you can get the Big-8 (plus alt.*) list from the ISC: ftp://ftp.isc.org/pub/usenet/CONFIG/active Then all you need is a text editor, ... and some time. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Trouble between Diablo feeder and reader
Author: Ray Banana
Date: Thu, 20 Jun 2013 15:38
Date: Thu, 20 Jun 2013 15:38
22 lines
1990 bytes
1990 bytes
Thus spake wardmw@gmail.com
> Hi all,
> For my sins I have to set up a new NNTP server and opted for Diablo
> v5.1 because it was suggested that it would be easier to set up and
> maintain.
"It" seems to have lied at you <veg>
man dgrpctl:
"Dgrpctl allows several administrative and maintenance functions to
be performed on newsgroups. Changes are made to the active file
(dactive.kp(5) located on the reader, or if -s is specified, on
the server (as specified by the path_server_dactive parame-
ter in diablo.config(5)."
--
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Mon, 24 Jun 2013 11:11
Date: Mon, 24 Jun 2013 11:11
25 lines
2794 bytes
2794 bytes
On Thursday, 20 June 2013 16:07:54 UTC+1, John F. Morse wrote: > You might have more people see your messages if you were not posting through > > Google Groups. Many news server administrators filter GG out of their incoming > feeds. > > As for the active file, you can get the Big-8 (plus alt.*) list from the ISC: > > ftp://ftp.isc.org/pub/usenet/CONFIG/active > > Then all you need is a text editor, ... and some time. > Thanks for the pointers John, unfortunately I ONLY have GG access at the moment! Still, i am making some progress having hacked together an active file I can now see the groups (including this one) but as I am getting no articles in them I will need to try and populate it in a better way. I will use your suggestion for a 'proper' active file and see what I can get from it. |\/|
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Mon, 24 Jun 2013 11:17
Date: Mon, 24 Jun 2013 11:17
19 lines
2170 bytes
2170 bytes
On Thursday, 20 June 2013 16:38:01 UTC+1, Ray Banana wrote: > Thus spake wardmw > > > Hi all, > > > For my sins I have to set up a new NNTP server and opted for Diablo > > v5.1 because it was suggested that it would be easier to set up and > > maintain. > > "It" seems to have lied at you <veg> > You are SO right! > man dgrpctl: Thanks for the pointer, I will see if I can use this along with John's suggested active file to get it up and running today. |\/|
Re: Trouble between Diablo feeder and reader
Author: News Subsystem
Date: Mon, 24 Jun 2013 11:54
Date: Mon, 24 Jun 2013 11:54
21 lines
2039 bytes
2039 bytes
wardmw@gmail.com wrote: > I have also set up a reader on a different server that takes its > feed from the feeder, however this reader server only claimes to > have 44 groups in the "comp.sys" area of the Usenet. I cannot figure > out why the reader will not show me any other news groups. Is the following option in diablo.config what you need? # readerautoaddtoactive on/off # Automatically add all newsgroups in the Newsgroup: header that don't # exist in the reader's active file. This includes local postings. # Default is off. # # Note that it won't get a group description (GD), moderator address # (M), or moderation flag (S) set, which is almost certainly # something you'll have to cobble together yourself at a later date. # # You probably do NOT want to set this on any normal newsserver # # readerautoaddtoactive off
Re: Trouble between Diablo feeder and reader
Author: Tony
Date: Mon, 24 Jun 2013 17:20
Date: Mon, 24 Jun 2013 17:20
27 lines
2343 bytes
2343 bytes
In news.software.nntp, Martin Ward <wardmw@gmail.com> wrote: >On Thursday, 20 June 2013 16:38:01 UTC+1, Ray Banana wrote: >> Thus spake wardmw >> >> > Hi all, >> >> > For my sins I have to set up a new NNTP server and opted for Diablo >> > v5.1 because it was suggested that it would be easier to set up and >> > maintain. >> >> "It" seems to have lied at you <veg> > >You are SO right! There's plenty of stuff about INN which seems opaque at first - but mostly it's the additional stuff (like getting NoCeM working, or Cleanfeed [which I still struggle to customise]) which aren't really INN, that take the time. INN itself, for a basic install is pretty trivial and you can be peering quite quickly after that. -- Tony Evans Selling a few rare/old board games on ebay Middle Earth: The Ring Trilogy - http://r.ebay.com/DXAaQw Warlock of Firetop Mountain Boardgame - http://r.ebay.com/2uqE7q
Re: Trouble between Diablo feeder and reader
Author: Jesse
Date: Mon, 24 Jun 2013 18:59
Date: Mon, 24 Jun 2013 18:59
21 lines
2025 bytes
2025 bytes
On 2013-06-24 11:54:43 +0000, News Subsystem said: > Is the following option in diablo.config what you need? > > # readerautoaddtoactive on/off > # Automatically add all newsgroups in the Newsgroup: header that don't > # exist in the reader's active file. This includes local postings. > # Default is off. > # > # Note that it won't get a group description (GD), moderator address > # (M), or moderation flag (S) set, which is almost certainly > # something you'll have to cobble together yourself at a later date. > # > # You probably do NOT want to set this on any normal newsserver > # > # readerautoaddtoactive off I would strongly advise against turning that on. It will create a mess that you will spend way too much time cleaning up, or you'll get frustrated enough and start over.
Re: Trouble between Diablo feeder and reader
Author: Whiskers
Date: Mon, 24 Jun 2013 21:47
Date: Mon, 24 Jun 2013 21:47
35 lines
2804 bytes
2804 bytes
On 2013-06-20, wardmw@gmail.com <wardmw@gmail.com> wrote: > Hi all, > > For my sins I have to set up a new NNTP server and opted for Diablo v5.1 > because it was suggested that it would be easier to set up and maintain. [...] > I would appreciate any support here, preferably useful suggestions about > how to resolve this issue but I am willing to consider suggestion about > installing other software if you can persuade me it's easier to install > and maintain on a Solaris 10 Unix server! I'm coming to this thread late, and I have never tried to run a "Diablo" system - or any other industrial-grade or public news-server. So I hope I can be forgiven if I've missed something! No-one seems to have asked what you hope to achieve when you have your news-server up and running. For example, how many people will be using your service to read and post to newsgroups? How many news-servers would you like to peer with - and have you asked any of them for help and advice? Are you intending to carry binary groups, or only text-only groups? Have you considered starting small and private, just to get a feel for the ways of usenet? If so, Noffle or Leafnode might be good for playing with - and may be all you'll ever want. They aren't built for peering, but they can handle as many newsgroups as a small assortment of users are likely to want, and can fetch from and post to a small number of 'upstream' news-servers (with each of which you need to create a normal user account, of course). -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Tue, 25 Jun 2013 10:57
Date: Tue, 25 Jun 2013 10:57
23 lines
2626 bytes
2626 bytes
On Monday, 24 June 2013 19:59:26 UTC+1, Jesse wrote: > On 2013-06-24 11:54:43 +0000, News Subsystem said: > > > Is the following option in diablo.config what you need? > > > > # readerautoaddtoactive on/off > > # Automatically add all newsgroups in the Newsgroup: header that don't > > # exist in the reader's active file. This includes local postings. > > # Default is off. > > # > > # Note that it won't get a group description (GD), moderator address > > # (M), or moderation flag (S) set, which is almost certainly > > # something you'll have to cobble together yourself at a later date. > > # > > # You probably do NOT want to set this on any normal newsserver > > # > > # readerautoaddtoactive off > > I would strongly advise against turning that on. It will create a mess > that you will spend way too much time cleaning up, or you'll get > frustrated enough and start over. Thanks Jesse, I have removed it and labelled it as "bad".
Re: Trouble between Diablo feeder and reader
Author: Martin Ward
Date: Tue, 25 Jun 2013 11:10
Date: Tue, 25 Jun 2013 11:10
40 lines
3326 bytes
3326 bytes
On Monday, 24 June 2013 22:47:42 UTC+1, Whiskers wrote: ... > No-one seems to have asked what you hope to achieve when you have your > news-server up and running. For example, how many people will be using > your service to read and post to newsgroups? How many news-servers would > you like to peer with - and have you asked any of them for help and advice? > Are you intending to carry binary groups, or only text-only groups? I need to replace a very old and unsupported system with something that I can keep up and running for customers. Users: Expecting a few hundred Peers: Ten or twelve servers and no, I have not yet asked them, I wanted to get it vaguely working first. Groups: Ascii only, no binaries. I have had a lot of experience with NNTP as a user so I know my way around the groups, their structure and basic netiquette; I have also got decades of experience as a sys admin; this is the first time that I have had to use the two together! As I am replacing an existing system I don't have the advantage of starting small although of course small is a relative term and it's possible that what I am setting up IS considered small, but what do I know? Oh and it does need to run under Solaris 10. So, that's what I am after. I am atually making some headway now. I have a feeder and a separate reader in place, I can select newsgroups in my client and I can successfully post to the groups (well, alt.test anyway; I checked in Google Groups afterwards to confirm the post worked). The next (and most important) issue is that I don't see any articles at all in the groups, not even the ones I post. What use is an NNTP server if I can't read any postings! I will keep poking it to see if it squeals. As always any advice is gratefully received. |\/|
Re: Trouble between Diablo feeder and reader
Author: Whiskers
Date: Tue, 25 Jun 2013 20:57
Date: Tue, 25 Jun 2013 20:57
86 lines
5615 bytes
5615 bytes
On 2013-06-25, Martin Ward <wardmw@gmail.com> wrote: > On Monday, 24 June 2013 22:47:42 UTC+1, Whiskers wrote: ... >> No-one seems to have asked what you hope to achieve when you have your >> news-server up and running. For example, how many people will be using >> your service to read and post to newsgroups? How many news-servers >> would you like to peer with - and have you asked any of them for help >> and advice? Are you intending to carry binary groups, or only text-only >> groups? > > I need to replace a very old and unsupported system with something that I > can keep up and running for customers. > > Users: Expecting a few hundred Peers: Ten or twelve servers and no, I > have not yet asked them, I wanted to get it vaguely working first. > Groups: Ascii only, no binaries. "A few hundred" users may be borderline for Leafnode; it doesn't 'peer' but it can certainly handle about half a dozen up-stream news-servers and combine them into a single spool for its own users. I'm currently running Leafnode2 with three up-stream servers, and a massive local user load of one (me!). > I have had a lot of experience with NNTP as a user so I know my way > around the groups, their structure and basic netiquette; I have also got > decades of experience as a sys admin; this is the first time that I have > had to use the two together! > > As I am replacing an existing system I don't have the advantage of > starting small although of course small is a relative term and it's > possible that what I am setting up IS considered small, but what do I > know? Oh and it does need to run under Solaris 10. "Leafnode works perfectly with most common newsreaders either via NNTP or with traditional spool access. Leafnode is an Open-Source package and runs on Linux, FreeBSD, Solaris, and probably most Unix flavours." <http://leafnode.org/index.shtml>. (I'm running it on Arch Linux and my newsreader is slrn). > So, that's what I am after. I am atually making some headway now. I have > a feeder and a separate reader in place, I can select newsgroups in my > client and I can successfully post to the groups (well, alt.test anyway; > I checked in Google Groups afterwards to confirm the post worked). Alt.test should send you an email automatically, reporting on how your article was injected. That can help diagnostics. > The next (and most important) issue is that I don't see any articles at > all in the groups, not even the ones I post. What use is an NNTP server > if I can't read any postings! Sounds as though you aren't fetching new articles from anywhere, and possibly haven't fetched a list of active newsgroups either. Your 'peers' should be where you get those from. You need to "read the active file" from at least one upstream news-server, to get a list of all the groups available from them; in Leafnode, the command would be (as user 'news' or 'root', normally) "fetchnews -f" and could take some time if you have a slow connection or a large number of upstream servers. This command doesn't need to be run often. I don't know what the Diablo equivalent is. Then identify to your own Diablo system which "active" groups are "interesting" to (for a start) one of your users - eg, you - so that Diablo can fetch the first batch of articles (up to a sensible maximum number such as 500 per group). Leafnode does this automatically the first time a user connects with a newsreader, and next time fetchnews is run it will get the articles in the newsgroups the user is interested in - but you can add the groups manually (as empty files in /var/spool/news/interesting.groups) if you want. I don't know how Diablo does it's equivalents of those things. Apart from using cron for running scheduled tasks, Leafnode is automatic and self-maintaining. > I will keep poking it to see if it squeals. As always any advice is > gratefully received. > > |\/| Good Luck. Don't forget you can always out-source to a specialist NSP ;)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
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