Thread View: news.software.nntp
21 messages
21 total messages
Started by Scott T. Lindner
Thu, 03 Jan 2002 15:56
Can't config INN for local use
Author: Scott T. Lindner
Date: Thu, 03 Jan 2002 15:56
Date: Thu, 03 Jan 2002 15:56
21 lines
1874 bytes
1874 bytes
Hey everyone, I'm having troubles configuring INN on my Linux box for local purposes only. I want to set up a simple chat area for the small userbase I have. I want it to be a private news server and will be restricting access by using SSH tunneling. That being said, I have INN installed and the daemon is running. When I try to add a group it doesn't seem to show up when I use tin or pine to read the newsgroups on the local news server. Does anyone have any experience or a URL with information on configuring a small private news server with INN? The trouble I'm finding is that all FAQs and HowTos are geared toward large public NNTP servers that sync up with the world. That's not what I want. Any thoughts are greatly appreciated. Thanks! Scott
Re: Can't config INN for local use
Author: SW
Date: Thu, 03 Jan 2002 16:34
Date: Thu, 03 Jan 2002 16:34
56 lines
3258 bytes
3258 bytes
Just now going through it myself on Solaris, and learning new stuff every day. My first discovery was that INN doesn't retrieve news on its own at all. The assumption is that you're going to receive a feed from another site, which is a bad assumption for folks like me on a cable modem with a DHCP-assigned address. To "pull" your news, you need to use a program like newsx (http://www.kvaleberg.com/newsx.html) or suck, which I've heard about but was unable to locate. Newsx seems to work, although poorly documented IMHO. Next discovery: INN can only post to one host. So, if you're pulling different groups from different hosts, most likely because your ISP's news server doesn't carry all of the groups that you want, then you will never be able to post to all of those groups because you must pick only one host for postings. Newsx also doesn't run as a daemon - you have to schedule it with cron, and that appears to be somewhat of an art....if you launch it while the last run is still executing, it kills off the first instance and loses everything it's retrieved up to that point. There is a --no-force option that supposed to look for lock files and abort if another instance is still running, but it doesn't seem to work. SW "Scott T. Lindner" <lovin_it@nospam.writeme.com> wrote in message news:ya%Y7.80286$AI.18429778@typhoon.san.rr.com... > Hey everyone, > > I'm having troubles configuring INN on my Linux box for local purposes only. > I want to set up a simple chat area for the small userbase I have. I want > it to be a private news server and will be restricting access by using SSH > tunneling. That being said, I have INN installed and the daemon is running. > When I try to add a group it doesn't seem to show up when I use tin or pine > to read the newsgroups on the local news server. Does anyone have any > experience or a URL with information on configuring a small private news > server with INN? The trouble I'm finding is that all FAQs and HowTos are > geared toward large public NNTP servers that sync up with the world. That's > not what I want. > > Any thoughts are greatly appreciated. > > Thanks! > > Scott > >
Re: Can't config INN for local use
Author: Mike Berger
Date: Fri, 04 Jan 2002 17:26
Date: Fri, 04 Jan 2002 17:26
10 lines
1553 bytes
1553 bytes
That's not true: INN can upload posts to as many servers as you want. SW wrote: > Next discovery: INN can only post to one host. So, if you're pulling > different groups from different hosts, most likely because your ISP's news > server doesn't carry all of the groups that you want, then you will never be > able to post to all of those groups because you must pick only one host for > postings.
Re: Can't config INN for local use
Author: SW
Date: Fri, 04 Jan 2002 18:10
Date: Fri, 04 Jan 2002 18:10
22 lines
1857 bytes
1857 bytes
Then what does the "server" entry in inn.conf do? And why is it that my posts only actually get posted if the server I have there carries the group where I'm posting? "Mike Berger" <berger@shout.net> wrote in message news:3C35E5E2.4AECB2C5@shout.net... > That's not true: INN can upload posts to as many servers as > you want. > > SW wrote: > > Next discovery: INN can only post to one host. So, if you're pulling > > different groups from different hosts, most likely because your ISP's news > > server doesn't carry all of the groups that you want, then you will never be > > able to post to all of those groups because you must pick only one host for > > postings.
Re: Can't config INN for local use
Author: Jeffrey M. Vinocur
Date: Fri, 04 Jan 2002 19:49
Date: Fri, 04 Jan 2002 19:49
15 lines
1672 bytes
1672 bytes
In article <a14qsu$put$2@jason.adelphia.net>, SW <nobody@spammersblow.com> wrote: >Then what does the "server" entry in inn.conf do? And why is it that my >posts only actually get posted if the server I have there carries the group >where I'm posting? Uh, it should be set to your local machine. Outgoing feeds are configured in the 'newsfeeds' file (although if you're using a pull feed to get news, you will probably need to use the same package to post your news out as appropriate). -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't config INN for local use
Author: SW
Date: Fri, 04 Jan 2002 21:50
Date: Fri, 04 Jan 2002 21:50
24 lines
2116 bytes
2116 bytes
Say what? The man page for inn.conf says that locally posted articles are handed off to the server specified there....it's used as the default server to connect to. I don't think you should connect to yourself by default.... "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:a1510i$jrp$2@marduk.litech.org... > In article <a14qsu$put$2@jason.adelphia.net>, > SW <nobody@spammersblow.com> wrote: > >Then what does the "server" entry in inn.conf do? And why is it that my > >posts only actually get posted if the server I have there carries the group > >where I'm posting? > > Uh, it should be set to your local machine. Outgoing feeds are > configured in the 'newsfeeds' file (although if you're using a > pull feed to get news, you will probably need to use the same > package to post your news out as appropriate). > > -- > Jeffrey M. Vinocur > jeff@litech.org
Re: Can't config INN for local use
Author: Mike Berger
Date: Fri, 04 Jan 2002 22:38
Date: Fri, 04 Jan 2002 22:38
30 lines
2608 bytes
2608 bytes
Vinocur is correct: If you don't have a standard newsfeed to your innd server, then you probably can't post that way either. Only servers that already carry your newsgroup will store posts for it. Servers automatically reject (or place into "junk") posts from groups that are not hosted locally. SW wrote: > > Say what? The man page for inn.conf says that locally posted articles are > handed off to the server specified there....it's used as the default server > to connect to. I don't think you should connect to yourself by default.... > > "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message > news:a1510i$jrp$2@marduk.litech.org... > > In article <a14qsu$put$2@jason.adelphia.net>, > > SW <nobody@spammersblow.com> wrote: > > >Then what does the "server" entry in inn.conf do? And why is it that my > > >posts only actually get posted if the server I have there carries the > group > > >where I'm posting? > > > > Uh, it should be set to your local machine. Outgoing feeds are > > configured in the 'newsfeeds' file (although if you're using a > > pull feed to get news, you will probably need to use the same > > package to post your news out as appropriate). > > > > -- > > Jeffrey M. Vinocur > > jeff@litech.org
Re: Can't config INN for local use
Author: Jeffrey M. Vinocur
Date: Fri, 04 Jan 2002 23:23
Date: Fri, 04 Jan 2002 23:23
32 lines
2271 bytes
2271 bytes
In article <a157l1$t8v$1@jason.adelphia.net>, SW <nobody@spammersblow.com> wrote: > >"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message >news:a1510i$jrp$2@marduk.litech.org... >> In article <a14qsu$put$2@jason.adelphia.net>, >> SW <nobody@spammersblow.com> wrote: >> >Then what does the "server" entry in inn.conf do? And why is it that my >> >posts only actually get posted if the server I have there carries the >> >group where I'm posting? >> >> Uh, it should be set to your local machine. > >Say what? The man page for inn.conf says that locally posted articles are >handed off to the server specified there....it's used as the default server >to connect to. I don't think you should connect to yourself by default.... Please quote properly (new text at the bottom of the article, trim the quoted text); I'll stop answering your posts if you don't. Hmm. Perhaps it should be blank. Regardless, it doesn't do what you think it does, I think you should use nnrpdposthost instead. But these really aren't the facilities you're looking for, and that's why you're having trouble getting them to do what you want. -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't config INN for local use
Author: SW
Date: Fri, 04 Jan 2002 23:50
Date: Fri, 04 Jan 2002 23:50
49 lines
3244 bytes
3244 bytes
Yes, I understand that....that was one of my original points, I believe. But you had also stated that I could post to several hosts as well, and that's not what I see. I'm "pulling" news with newsx into INN, and I've found that when I post, it will only post to the server that's specified in my inn.conf file. If that particular server doesn't carry the group where I'm trying to post, the post is lost. Seems to me it should somehow be able to figure out that it needs to post to a different server that *does* carry that group. "Mike Berger" <berger@shout.net> wrote in message news:3C362EF8.887509BB@shout.net... > Vinocur is correct: If you don't have a standard newsfeed to your > innd server, then you probably can't post that way either. Only > servers that already carry your newsgroup will store posts for it. > Servers automatically reject (or place into "junk") posts from > groups that are not hosted locally. > > SW wrote: > > > > Say what? The man page for inn.conf says that locally posted articles are > > handed off to the server specified there....it's used as the default server > > to connect to. I don't think you should connect to yourself by default.... > > > > "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message > > news:a1510i$jrp$2@marduk.litech.org... > > > In article <a14qsu$put$2@jason.adelphia.net>, > > > SW <nobody@spammersblow.com> wrote: > > > >Then what does the "server" entry in inn.conf do? And why is it that my > > > >posts only actually get posted if the server I have there carries the > > group > > > >where I'm posting? > > > > > > Uh, it should be set to your local machine. Outgoing feeds are > > > configured in the 'newsfeeds' file (although if you're using a > > > pull feed to get news, you will probably need to use the same > > > package to post your news out as appropriate). > > > > > > -- > > > Jeffrey M. Vinocur > > > jeff@litech.org
Re: Can't config INN for local use
Author: smshmidt
Date: Sat, 05 Jan 2002 17:52
Date: Sat, 05 Jan 2002 17:52
35 lines
1861 bytes
1861 bytes
> Hey everyone, > > I'm having troubles configuring INN on my Linux box for > local purposes only. > I want to set up a simple chat area for the small userbase > I have. I want > it to be a private news server and will be restricting > access by using SSH > tunneling. That being said, I have INN installed and the > daemon is running. > When I try to add a group it doesn't seem to show up when > I use tin or pine > to read the newsgroups on the local news server. Does > anyone have any > experience or a URL with information on configuring a > small private news > server with INN? The trouble I'm finding is that all FAQs > and HowTos are > geared toward large public NNTP servers that sync up with > the world. That's > not what I want. > > Any thoughts are greatly appreciated. > > Thanks! > > Scott > Hope This helps you out alot basic configuring ini for linux. http://www.fokus.gmd.de/linux/LDP/nag2/x18326.html Your Friend Scott
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 18:10
Date: Sat, 05 Jan 2002 18:10
20 lines
2157 bytes
2157 bytes
> You then need to configure newsfeeds correctly. This is non-trivial and > is probably the root of all your problems. Try to get inn working > correctly for local posts first. You don't need newsx or any other pull > agent for this. Simply create a local test group and check that you can > post to it from one machine and read from it on another. Once you have > that up and running then you can start to worry about configuring newsx. Local posts ARE working....I never said they weren't. They just don't always get fed from my localhost to the upstream servers. I always see them here but they don't always appear elsewhere. Only the ones posted in groups that are carried on the server listed in my inn.conf file seem to get propogated. Is that more clear? I don't know why I'm having so much trouble communicating this...
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 18:30
Date: Sat, 05 Jan 2002 18:30
18 lines
1851 bytes
1851 bytes
> if you try to run two newsx processes you should see something similar
> to this from one of them:
>
> reading profile /var/spool/news/in.hosts/uni-berlin.de.conf
> awaiting lockfile "/var/lib/news/run/LOCK.newsx.news.cis.dfn.de" to
> disappear (max 600 s)
> send USR1 to see if process exists
> sending process 16179 signal 10
> process 16179 exists, wait...
Yes, I see exactly that (except I see "sending process xxx signal
16")....and then right after that the first one fails with "read error on
socket: interrupted system call" and quits, apparently without saving
anything ("posted 0, fetched 0 articles), and the second instance starts
over from the beginning.
Re: Can't config INN for local use
Author: Jeffrey M. Vinocur
Date: Sat, 05 Jan 2002 20:52
Date: Sat, 05 Jan 2002 20:52
22 lines
1961 bytes
1961 bytes
In article <a17f06$hou$1@jason.adelphia.net>, SW <nobody@spammersblow.com> wrote: > >Local posts ARE working....I never said they weren't. They just don't >always get fed from my localhost to the upstream servers. I always see them >here but they don't always appear elsewhere. Only the ones posted in groups >that are carried on the server listed in my inn.conf file seem to get >propogated. > >Is that more clear? I don't know why I'm having so much trouble >communicating this... We see you're problem. The communication failure is the other way...we're telling you that you're using a tool in a way it wasn't intended to be used, and as a result it's not going to do what you expect. You need to use the right tools... -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 21:20
Date: Sat, 05 Jan 2002 21:20
21 lines
2187 bytes
2187 bytes
> Listed where in your inn.conf file? As "server"? As has been stated > before that should, *must* be set to localhost. So if it *must* be localhost, why is it a variable in the first place? > You seem to have problems understanding what is happening. It may be > RTFM time. Yes, I do, and your condescending attitude makes it even more frustrating. It would be nice if "TFM" explained any of this to begin with. I assure you that I've read every web page, man page, and readme file I've found on INN and newsx (and others), continue to monitor this newsgroup, and have yet to find anything that explains the overall flow of data/information. But I suppose now you're going to tell me that I'm just dense. I've changed server=localhost in inn.conf, and we'll see what happens.
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 21:20
Date: Sat, 05 Jan 2002 21:20
11 lines
1542 bytes
1542 bytes
> We see you're problem. The communication failure is the other > way...we're telling you that you're using a tool in a way it > wasn't intended to be used, and as a result it's not going to do > what you expect. You need to use the right tools... Would you mind explaining what tools I should be using?
Re: Can't config INN for local use
Author: Kjetil Torgrim Homme
Date: Sat, 05 Jan 2002 22:02
Date: Sat, 05 Jan 2002 22:02
37 lines
3087 bytes
3087 bytes
[SW] > > Listed where in your inn.conf file? As "server"? As has been stated > > before that should, *must* be set to localhost. > > So if it *must* be localhost, why is it a variable in the first > place? If you have a server farm with several reader servers, you'd want to set it to the main server, the one which numbers the articles. 99% of all installations won't need it. > Yes, I do, and your condescending attitude makes it even more > frustrating. It would be nice if "TFM" explained any of this to > begin with. I assure you that I've read every web page, man page, > and readme file I've found on INN and newsx (and others), continue > to monitor this newsgroup, and have yet to find anything that > explains the overall flow of data/information. The flow roughly goes like this: A client connects to the nnrpd daemon. It sends article using POST. nnrpd connects to server, which is the innd process and submits the article there. innd stores the article locally, and passes it on to the rest of the world, as specified in the newsfeeds file. In a default configuration, there are only two feeds, controlchan and innfeed. innfeed lists its peers in innfeed.conf. Since you don't have any peers, innfeed is no good to you (it will transmit articles using IHAVE, and you don't have access to do that on your upstream server). So instead you add a special newsfeed so that newsx can pick up the articles and POST them upstream. This entry should be in the newsx documentation. -- Kjetil T. abusing standards for the greater good http://www.microsoft.com:products@3333866552/
Re: Can't config INN for local use
Author: Jeffrey M. Vinocur
Date: Sat, 05 Jan 2002 22:18
Date: Sat, 05 Jan 2002 22:18
26 lines
2111 bytes
2111 bytes
In article <a17q5b$kmk$1@jason.adelphia.net>, SW <nobody@spammersblow.com> wrote: >> We see you're problem. The communication failure is the other >> way...we're telling you that you're using a tool in a way it >> wasn't intended to be used, and as a result it's not going to do >> what you expect. You need to use the right tools... > >Would you mind explaining what tools I should be using? I thought I had... INN is intended for both sending and receiving news to proper peers. If you want to use it "pretending to be a reader", you need outside help. You're using newsx to take care of the incoming news; it acts like a reader to the remote server and then feeds the articles to INN pretending to be a real peer. I've never used newsx, but it sounds like it can also take care of the outgoing news. INN will spool news to it using the regular peering mechanism (as per the 'newsfeeds' file) and it will send it to the remote server pretending to be a reader. -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 23:10
Date: Sat, 05 Jan 2002 23:10
28 lines
2741 bytes
2741 bytes
> A client connects to the nnrpd daemon. It sends article using POST. > nnrpd connects to server, which is the innd process and submits the > article there. innd stores the article locally, and passes it on to > the rest of the world, as specified in the newsfeeds file. In a > default configuration, there are only two feeds, controlchan and > innfeed. innfeed lists its peers in innfeed.conf. Since you don't > have any peers, innfeed is no good to you (it will transmit articles > using IHAVE, and you don't have access to do that on your upstream > server). So instead you add a special newsfeed so that newsx can pick > up the articles and POST them upstream. This entry should be in the > newsx documentation. Thank you sir, for a clearer explanation than I've seen to date. You should document this on your own web site and sell subscriptions. I have not found any information in the newsx documentation regarding how it handles postings when several sources are involved, but I have found that function in the source code and I'll figure it out soon enough. I've been away from UNIX and its eternal "trail of breadcrumbs" for a few years now, but I'm grateful that there are still some folks on Usenet who are willing to share information. SW
Re: Can't config INN for local use
Author: SW
Date: Sat, 05 Jan 2002 23:20
Date: Sat, 05 Jan 2002 23:20
28 lines
2322 bytes
2322 bytes
> >Would you mind explaining what tools I should be using? > > I thought I had... > > INN is intended for both sending and receiving news to proper > peers. If you want to use it "pretending to be a reader", you > need outside help. You're using newsx to take care of the > incoming news; it acts like a reader to the remote server and > then feeds the articles to INN pretending to be a real peer. > I've never used newsx, but it sounds like it can also take care > of the outgoing news. INN will spool news to it using the > regular peering mechanism (as per the 'newsfeeds' file) and it > will send it to the remote server pretending to be a reader. Okay, so you're not saying that I'm using the wrong tools then, if I understand you correctly. You are correct that newsx is the agent that handles outgoing news, and according to the documentation it does so according to the rules specified in the INN config files. I suppose there's something in its behavior that I don't understand, so I've started wading through its source to figure it out. Thanks for the tips. SW
Re: Can't config INN for local use
Author: Jeffrey M. Vinocur
Date: Sun, 06 Jan 2002 05:34
Date: Sun, 06 Jan 2002 05:34
31 lines
2042 bytes
2042 bytes
In article <a1816s$mdm$1@jason.adelphia.net>, SW <nobody@spammersblow.com> wrote: > >Okay, so you're not saying that I'm using the wrong tools then, if I >understand you correctly. Well, you've got your hammer, saw, and screwdriver out on the table, but you're trying to take a nail out using the screwdriver when the hammer would do just fine. You might be able to get some nails out with a screwdriver, but don't be surprised if it doesn't have all of the features you'd expect of a hammer. >You are correct that newsx is the agent that handles outgoing >news, Ah, there you go. Right tool for the job. >and according to the documentation it does so according to the >rules specified in the INN config files. I suppose there's >something in its behavior that I don't understand, so I've >started wading through its source to figure it out. Ugh, you shouldn't need to do that. -- Jeffrey M. Vinocur jeff@litech.org
Re: Can't config INN for local use
Author: SW
Date: Sun, 06 Jan 2002 16:10
Date: Sun, 06 Jan 2002 16:10
11 lines
1738 bytes
1738 bytes
I have a working spool with newsx in cron, and I have a functional newsfeeds file. As I've been saying, the only thing not always working properly is postings. Nevermind, I'll figure it out. Thanks anyway.
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