🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by SmarttNet Technical Support Mon, 13 Sep 1999 00:00
INN 2.2.1 Error!!!
#39774
Author: SmarttNet Technical Support
Date: Mon, 13 Sep 1999 00:00
23 lines
1433 bytes
I have been running INN 2.2 since January with little problems.

I just upgraded to 2.2.1.  Yes I started from scratch and installed and
configured it like it was new.

4 days later I'm now having problems with checkgroup and newgroup messages when
they arrive.

/usr/news/bin/control/checkgroups: ^^|^*|^: command not found
/usr/news/bin/control/checkgroups: ^^|^*|^: command not found
/usr/news/bin/control/checkgroups: ^^|^e|^x|^a|^m|^p|^l|^e|^.|^*|^: command not
found
/usr/news/bin/control/newgroup: fork: Out of memory

When a newgroup comes in, the server sometimes forks 20 or more
/usr/news/bin/control/newgroup until the server load reaches 40.

Is this a bug or did I forget to configure something?

Thank you for any advice.


Re: INN 2.2.1 Error!!!
#39799
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
48 lines
2546 bytes
SmarttNet Technical Support <tech@smartt.com> writes:

> Could have been the case since at the same time I was being hit with
> over 100 newgroup commands for alt.hipcrime.* which I have my upstream
> filtering out.  I never heard about this controlchan so I dug up the
> controlchan.8 files form the source and it say all I had to do was to
> add true to usecontrolchan in inn.conf.  So what's this about adding it
> to the newsfeeds file?

The INN 2.3 documentation has:

  inn.conf
[...]
    usecontrolchan
        If set to true, all control messages except for cancels will be
        ignored by innd so that they can be processed by an external program
        (controlchan).  This is *highly* recommended, since controlchan will
        serialize control message processing and prevent your system load
        from exploding when you get a flood of control messages.  The only
        reason why it isn't enabled by default is that it requires you to
        set up a special feed in newsfeeds (see below) and requires you to
        run:

            # cd /usr/include
            # h2ph * sys/*

        so that the Sys::Syslog Perl module works correctly.  (Otherwise,
        controlchan will log messages to errlog, which probably isn't what
        you want.)
[...]

  newsfeeds
[...]
    Finally, if you set usecontrolchan to "yes" in inn.conf, you need to set
    up an entry for the controlchan program.  This entry should look like:

        controlchan!\
            :!*,control,control.*,!control.cancel\
            :Tc,Wnsm:/usr/local/news/bin/controlchan

    (modified for the actual path to controlchan if you put it somewhere
    else).  You should be able to just uncomment the example entry in the
    sample newsfeeds file, making sure the path is correct.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.2.1 Error!!!
#39813
Author: SmarttNet Technical Support
Date: Tue, 14 Sep 1999 00:00
26 lines
1882 bytes
On Tue, 14 Sep 1999 19:09:45 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>On 14 Sep 1999 10:53:39 -0700, Russ Allbery <rra@stanford.edu> wrote:
>
><snip>
>
>>Not beyond "wow, that's really weird, something's severely broken."  There
>>was a huge DoS attack using forged newgroups a while back, and anyone not
>>using controlchan probably saw their server fork itself to death.  Could
>>it have been that?
>
>Could have been the case since at the same time I was being hit with over 100
>newgroup commands for alt.hipcrime.* which I have my upstream filtering out.
>I never heard about this controlchan so I dug up the controlchan.8 files form
>the source and it say all I had to do was to add true to usecontrolchan in
>inn.conf.  So what's this about adding it to the newsfeeds file?
>I wish we had some good docs so that I, as a new news admin, can find my way
>around.

I forgot to ask, how can I check to make sure that controlchan is working?  I
made sure that h2ph was run so that syslog would work.



Re: INN 2.2.1 Error!!!
#39817
Author: SmarttNet Technical Support
Date: Tue, 14 Sep 1999 00:00
30 lines
1918 bytes
On 14 Sep 1999 10:53:39 -0700, Russ Allbery <rra@stanford.edu> wrote:

<snip>

>Not beyond "wow, that's really weird, something's severely broken."  There
>was a huge DoS attack using forged newgroups a while back, and anyone not
>using controlchan probably saw their server fork itself to death.  Could
>it have been that?

Could have been the case since at the same time I was being hit with over 100
newgroup commands for alt.hipcrime.* which I have my upstream filtering out.
I never heard about this controlchan so I dug up the controlchan.8 files form
the source and it say all I had to do was to add true to usecontrolchan in
inn.conf.  So what's this about adding it to the newsfeeds file?
I wish we had some good docs so that I, as a new news admin, can find my way
around.

>
>The command not found errors make me think you've got some sort of
>corrupted checkgroups script.

I checked that my checkgroups cript is identical to the one from inn 2.2

>
>In any event, I'd recommend that everyone use controlchan.  Try turning it
>on and seeing if that works any better.
>
Thank you

Re: INN 2.2.1 Error!!!
#39831
Author: SmarttNet Technical Support
Date: Tue, 14 Sep 1999 00:00
28 lines
1623 bytes
On Mon, 13 Sep 1999 15:41:54 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>I have been running INN 2.2 since January with little problems.
>
>I just upgraded to 2.2.1.  Yes I started from scratch and installed and
>configured it like it was new.
>
>4 days later I'm now having problems with checkgroup and newgroup messages when
>they arrive.
>
>/usr/news/bin/control/checkgroups: ^^|^*|^: command not found
>/usr/news/bin/control/checkgroups: ^^|^*|^: command not found
>/usr/news/bin/control/checkgroups: ^^|^e|^x|^a|^m|^p|^l|^e|^.|^*|^: command not
>found
>/usr/news/bin/control/newgroup: fork: Out of memory
>
>When a newgroup comes in, the server sometimes forks 20 or more
>/usr/news/bin/control/newgroup until the server load reaches 40.
>
>Is this a bug or did I forget to configure something?
>
>Thank you for any advice.
>

No ideas on the problem?

Re: INN 2.2.1 Error!!!
#39836
Author: bill davidsen
Date: Tue, 14 Sep 1999 00:00
31 lines
1859 bytes
In article <37dd19fc.1637656@news.smartt.com>,
SmarttNet Technical Support <tech@smartt.com> wrote:
| I have been running INN 2.2 since January with little problems.
| 
| I just upgraded to 2.2.1.  Yes I started from scratch and installed and
| configured it like it was new.
| 
| 4 days later I'm now having problems with checkgroup and newgroup messages when
| they arrive.
| 
| /usr/news/bin/control/checkgroups: ^^|^*|^: command not found
| /usr/news/bin/control/checkgroups: ^^|^*|^: command not found
| /usr/news/bin/control/checkgroups: ^^|^e|^x|^a|^m|^p|^l|^e|^.|^*|^: command not
| found
| /usr/news/bin/control/newgroup: fork: Out of memory
| 
| When a newgroup comes in, the server sometimes forks 20 or more
| /usr/news/bin/control/newgroup until the server load reaches 40.
| 
| Is this a bug or did I forget to configure something?

Just as a possibility, check newsfeeds on what you're feeding
controlchan. And your PGP, again just in case.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...


Re: INN 2.2.1 Error!!!
#39839
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
34 lines
1837 bytes
SmarttNet Technical Support <tech@smartt.com> writes:
> tech@smartt.com (SmarttNet Technical Support) wrote:

>> 4 days later I'm now having problems with checkgroup and newgroup
>> messages when they arrive.

>> /usr/news/bin/control/checkgroups: ^^|^*|^: command not found
>> /usr/news/bin/control/checkgroups: ^^|^*|^: command not found
>> /usr/news/bin/control/checkgroups: ^^|^e|^x|^a|^m|^p|^l|^e|^.|^*|^:
>> command not found
>> /usr/news/bin/control/newgroup: fork: Out of memory

>> When a newgroup comes in, the server sometimes forks 20 or more
>> /usr/news/bin/control/newgroup until the server load reaches 40.

>> Is this a bug or did I forget to configure something?

> No ideas on the problem?

Not beyond "wow, that's really weird, something's severely broken."  There
was a huge DoS attack using forged newgroups a while back, and anyone not
using controlchan probably saw their server fork itself to death.  Could
it have been that?

The command not found errors make me think you've got some sort of
corrupted checkgroups script.

In any event, I'd recommend that everyone use controlchan.  Try turning it
on and seeing if that works any better.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.2.1 Error!!!
#39863
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
30 lines
2055 bytes
In article <37de9cd2.9826296@news.smartt.com>,
SmarttNet Technical Support <tech@smartt.com> wrote:

| Could have been the case since at the same time I was being hit with over 100
| newgroup commands for alt.hipcrime.* which I have my upstream filtering out.
| I never heard about this controlchan so I dug up the controlchan.8 files form
| the source and it say all I had to do was to add true to usecontrolchan in
| inn.conf.  So what's this about adding it to the newsfeeds file?

  The section on the option in inn.conf clearly states that the
newsfeeds must be provided, and the newsfeeds clearly shows how, and the
sample newsfeeds has the code you need, but commented out.

| I wish we had some good docs so that I, as a new news admin, can find my way
| around.

  If you have a problem with 2.2.1, which is mostly complete and
correct, you would hate 2.3. Not only are the man pages totally wrong in
some cases, but the builtin usage() may be wrong, and even the comments
in the code.

  That's why news adminds get the big bucks ;-)

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I thought I had forgotten how to throw a boomerang, but it's
all coming back to me...


Re: INN 2.2.1 Error!!!
#39874
Author: meow
Date: Wed, 15 Sep 1999 00:00
10 lines
1048 bytes
Enough already.

1. If you want to run the INN development code, join the mailing
   lists.  They are your documentation.

2. It would have been much more productive to crank out an updated man
   page or two in the time that was spent whining about the 2.3 docs
   in news.software.nntp.

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