Thread View: news.software.nntp
7 messages
7 total messages
Started by Bruce Cannon
Fri, 26 Jul 2002 20:50
Server won't post
Author: Bruce Cannon
Date: Fri, 26 Jul 2002 20:50
Date: Fri, 26 Jul 2002 20:50
44 lines
2936 bytes
2936 bytes
I did an rpm installation of inn-2.3.2 that comes with the RedHat 7.2 boxed set. I also installed the src and devel rpms. I built cnfs and overview buffers and configured them in the apropriate conf files. I imported an active file from a running inn-2.3.1 server that had been compiled (I think) by the previous admin. I copied the applicable parameters from the readers.conf, newsfeeds, innfeed.conf, and nntpsend.ctl of my working 2.3.1 server and edited the apropriate files in /etc/news. I setup newsfeeds and innfeed.conf to peer with another ISP. I get tons of articles from our "full" cidera feed, and successfully feed our terrestrial peer, and receive articles from there as well. I can conclude from this that receiving works. I cannot post to anything from anywhere. Connecting with a newsreader (tried several) the only entry in any log that I get is in /var/log/news/news.notice, where I observe the entries: Jul 26 13:45:59 news nnrpd[5057]: SERVER perl filtering enabled Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net connect Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net post ok <ahs5d7$4u1$1@news.yyy.net> Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net posts received 1 rejected 0 Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net times user 0.190 system 0.030 elapsed 0.272 I grepped /var/log/news/news for "yyy.net" (sanitized for my protection) and see no lines. Tried the "article number" ahs5d$4ul$l@news.yyy.net and still no lines. I can at this point only assume that the message is never getting to inn. Can someone point me at the next step? If its an RTFM, pls point me to the chapter, I just can't find it. Thanks so much in advance for your time. Bruce Cannon frustrated news admin
Re: Server won't post
Author: Jay G. Scott
Date: Fri, 26 Jul 2002 22:43
Date: Fri, 26 Jul 2002 22:43
54 lines
2745 bytes
2745 bytes
In article <3D41B5B5.249A25C0@cimtel.net>, Bruce Cannon <rbcannon@cimtel.net> wrote: >I did an rpm installation of inn-2.3.2 that comes with the RedHat 7.2 >boxed set. I also installed the src and devel rpms. >I built cnfs and overview buffers and configured them in the apropriate >conf files. >I imported an active file from a running inn-2.3.1 server that had been >compiled (I think) by the previous admin. >I copied the applicable parameters from the readers.conf, newsfeeds, >innfeed.conf, and nntpsend.ctl of my working 2.3.1 server and edited the >apropriate files in /etc/news. >I setup newsfeeds and innfeed.conf to peer with another ISP. > >I get tons of articles from our "full" cidera feed, and successfully >feed our terrestrial peer, and receive articles from there as well. I >can conclude from this that receiving works. > >I cannot post to anything from anywhere. Connecting with a newsreader >(tried several) the only entry in any log that I get is in [snip] so, you too have been bitten by the RH rpm. i just fought that battle. in my case, there were several things i tweaked, mostly in newsfeeds, and things began to work. whether all or just some are needed, hard to say. innfeed! line----does it have -y on end? i think you want it. your feed lines: remote.com:...... is field 4 innfeed, or innfeed! ? you want innfeed! I changed my flags on remote.com to Tm I changed ME to ME:*:: from my old way, ME:!*:: you might also try ME::: j. > >Bruce Cannon >frustrated news admin -- Jay Scott 512-835-3553 gl@arlut.utexas.edu Head of Sun Support, Sr. Operating Systems Specialist Applied Research Labs, Computer Science Div. S224 University of Texas at Austin
Re: Server won't post
Author: Jeffrey M. Vinocur
Date: Sat, 27 Jul 2002 17:42
Date: Sat, 27 Jul 2002 17:42
44 lines
2322 bytes
2322 bytes
In article <3D41B5B5.249A25C0@cimtel.net>, Bruce Cannon <rbcannon@cimtel.net> wrote: >I did an rpm installation of inn-2.3.2 that comes with the RedHat 7.2 >boxed set. *mumble* Lots of people have trouble when they do this, for some reason. >I cannot post to anything from anywhere. Connecting with a newsreader >(tried several) the only entry in any log that I get is in >/var/log/news/news.notice, where I observe the entries: > > Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net post ok ><ahs5d7$4u1$1@news.yyy.net> > Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net posts received 1 rejected >0 Ho hum. That looks ok. Is the problem that the article isn't visible on your server, or that it doesn't make it out to the world? Are you using Perl filters (e.g. Cleanfeed)? >I grepped /var/log/news/news for "yyy.net" (sanitized for my protection) >and see no lines. Hmmmm. That shouldn't be. And there are entries after the time period in question? (Sometimes output to the news logfile gets stuck in a buffer.) >Tried the "article number" ahs5d$4ul$l@news.yyy.net >and still no lines. That's the Message-ID, by the way. And be careful when grepping for them, because the $ can be trouble. That is, you should be sure to use single quotes on the commandline around Message-IDs. -- Jeffrey M. Vinocur jeff@litech.org
Re: Server won't post
Author: Bruce Cannon
Date: Sat, 27 Jul 2002 21:09
Date: Sat, 27 Jul 2002 21:09
59 lines
2907 bytes
2907 bytes
"Jeffrey M. Vinocur" wrote:
> <snip>
>
> > Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net post ok
> ><ahs5d7$4u1$1@news.yyy.net>
> > Jul 26 13:45:59 news nnrpd[5057]: xxx.yyy.net posts received 1 rejected
> 0
>
> Ho hum. That looks ok. Is the problem that the article isn't
> visible on your server, or that it doesn't make it out to the
> world?
Not visible on my server, nor anywhere else. Sorry, should have been
clearer on that.
>
>
> Are you using Perl filters (e.g. Cleanfeed)?
Yes. Cleanfeed is there and working, best I can tell. I see lines in
/var/log/news/news.notice rejecting message from very bad people. One of my
first thoughts was that it might be rejecting my own messages, but I don't
know how to check that (yet).
> >I grepped /var/log/news/news for "yyy.net" (sanitized for my protection)
> >and see no lines.
>
> Hmmmm. That shouldn't be. And there are entries after the time
> period in question? (Sometimes output to the news logfile gets
> stuck in a buffer.)
Yes, there are entries, but none originating at my server.
There were huge files in /var/spool/news/innfeed for my two feeds. I
throttled, shutdown the server, and deleted them. That didn't help. I
still can't post to the local server. I'm missing something and have no
clue what it is.
/etc/news/newsfeeds:
ME:*::
alias/common.newsserver.com:*,!control*,!junk:Tm:innfeed!
innfeed!\
:!*\
:Tc,Wnm*:/usr/bin/startinnfeed -y
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/bin/controlchan
overview!:*:Tc,WnteO:/usr/bin/overchan
server.imfeeding.com:*,!alt.sex*,!*binaries*,!control,!junk,<30000:Tm:innfeed!
Re: Server won't post
Author: Jeffrey M. Vinocur
Date: Sun, 28 Jul 2002 22:12
Date: Sun, 28 Jul 2002 22:12
43 lines
2286 bytes
2286 bytes
In article <3D430A55.393F68C8@cimtel.net>, Bruce Cannon <rbcannon@cimtel.net> wrote: > > >"Jeffrey M. Vinocur" wrote: > >> Is the problem that the article isn't visible on your server, >> or that it doesn't make it out to the world? > >Not visible on my server, nor anywhere else. Which means it's not a newsfeeds or innfeed issue at all (that would result in it being available locally but not remotely). >> >I grepped /var/log/news/news for "yyy.net" (sanitized for my protection) >> >and see no lines. >> >> And there are entries after the time period in question? > >Yes, there are entries, but none originating at my server. Hmm. I'm still finding this all a bit weird, but try turning off the Perl filters temporarily (with `ctlinnd perl`). >There were huge files in /var/spool/news/innfeed for my two feeds. I >throttled, shutdown the server, and deleted them. That didn't help. No, but that's probably symptomatic of some other problem. Anything suspicions in news.notice from innfeed? >server.imfeeding.com:*,!alt.sex*,!*binaries*,!control,!junk,<30000:Tm:innfeed! Whoa, I don't think that <30000 is doing what you think it is. Might want to reread the newsfeeds manpage. -- Jeffrey M. Vinocur jeff@litech.org
Re: Server won't post
Author: Bruce Cannon
Date: Mon, 29 Jul 2002 05:18
Date: Mon, 29 Jul 2002 05:18
30 lines
2550 bytes
2550 bytes
> >server.imfeeding.com:*,!alt.sex*,!*binaries*,!control,!junk,<30000:Tm:innfeed!
>
> Whoa, I don't think that <30000 is doing what you think it is.
> Might want to reread the newsfeeds manpage.
The size goes in the same field with Tm, in other words, the correct entry is:
server.imfeeding.com:*,!alt.sex*,!*binaries*,!control,!junk:<30000,Tm:innfeed!
I found the cron job that runs rnews, it was under /etc/cron.hourly under
inn-cron-rnews. I rm'd that and did a crontab -e for news to run it at 20 minute
intervals. YMMV, some recommend an hour, we sometimes have a busy server. I had
disabled that script earlier, thinking that nntpsend would be handling all my
postings.
When I manually (as news) run "rnews -U" I see the entry in
/var/log/news/news.crit "rnews: cannot open_remote no such file or directory"
I resolved any possible issues with hostname resolution.
I re-re-re verified incoming.conf. I re-re-re verified nntpsend.ctl.
I ran an strace -f on rnews -U. That provided no insight, except that it reads
several libraries, does a dns query, and exits with a status of 1 after reading
the nisplus libs. I do not have, nor have I ever had nisplus installed on this
machine.
I appreciate the help and advice.
Bruce Cannon
still frustrated news admin
Re: Server won't post
Author: Bruce Cannon
Date: Mon, 29 Jul 2002 21:10
Date: Mon, 29 Jul 2002 21:10
49 lines
3473 bytes
3473 bytes
> When I manually (as news) run "rnews -U" I see the entry in > /var/log/news/news.crit "rnews: cannot open_remote no such file or directory" > I resolved any possible issues with hostname resolution. > I re-re-re verified incoming.conf. I re-re-re verified nntpsend.ctl. I ran (as news) rnews -r news.my.fqdn.net -U -v. This incantation cleared all the messages in /var/spool/news/incoming. All 34 of them. This was fixed to run without the -r flag by entering the FQDN of the server in inn.conf under both "server" and "nnrpdposthost" fields. Apparently, the open_remote() function in rnews uses the nnrpdposthost or server entry as an object. Candidate #1 for the FAQ: Q: rnews: What could be the cause of the msg "rnews: cannot open_remote no such file or directory" in $PATHLOG/news.crit? A: Enter the hostname of the newsserver in the $PATHETC/inn.conf file under "server" and "nnrpdposthost" That left one more problem. The messages still did not make it into the spool, and were rejected. The rejection messages were viewable by attempting to post with any newsreader, then manually (as news) running rnews -v -U and observing the logs. After one more Google, I found an ancient (April, 2000) bit of knowledge that has not yet made it into a FAQ. Q: rnews: (I)t seems that rnews doesn't do anything it just produce the foollowing error messages in verbous mode: stdin: unknown_reply after ihave 480 Transfer permission denied ...and the reply from Mr. Allbery (whose famous Rant hangs upon the wall in my cube): Your local system isn't in incoming.conf or hosts.nntp, depending on your version of INN. Make sure that localhost and 127.0.0.1 have transfer permission in your server configuration. Please help me to understand "transfer permission" for localhost and 127.0.0.1. My incoming.conf had those configured for peer ME. I read and re-read everything I could find about incoming.conf, and was only able to make it work by adding "news.my.fqdn.net" in front of "localhost, 127.0.0.1" in incoming.conf. Was this the intent, in order to grant "transfer permission" for localhost and 127.0.0.1 or did I miss something? Bruce Cannon no-longer-so-frustrated newsadmin
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