🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
16 messages
16 total messages Started by FEEB Fri, 03 Sep 1999 00:00
Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39625
Author: FEEB
Date: Fri, 03 Sep 1999 00:00
35 lines
2184 bytes
I upgraded to INN 2.2.1 in RedHat4.2 environment.  Everything seems to be 
running smoothly so far with two things I would appreciate an advice on:

1. CPU load seems to be higher than with 1.5.1.  I'd say on average it 
doubled.  Is there anything I should pay an attention to?

2.  I am getting weird entries in logs, which weren't there before:

Sep  2 22:54:31 news1 ctlinnd[819]: Reading config from /etc/news/inn.conf
Sep  2 22:55:34 news1 ctlinnd[1009]: Reading config from /etc/news/inn.conf
Sep  2 22:55:42 news1 ctlinnd[1031]: Reading config from /etc/news/inn.conf
Sep  2 22:56:30 news1 ctlinnd[1048]: Reading config from /etc/news/inn.conf
Sep  2 22:57:02 news1 ctlinnd[1225]: Reading config from /etc/news/inn.conf
Sep  2 23:01:40 news1 ctlinnd[1414]: Reading config from /etc/news/inn.conf
Sep  2 23:04:38 news1 ctlinnd[1603]: Reading config from /etc/news/inn.conf
Sep  2 23:05:01 news1 rnews: Reading config from /etc/news/inn.conf

etc.etc.

Does anyone know what it means?  Why does ctlinnd keep messing with 
inn.conf?

Thanks

P.S. I do NOT have orphaned ctlinnd running :-)


Frank Bures, fbures@chem.toronto.edu (use this address for replies)
http://frank.chem.utoronto.ca/electronics
Warning: Received flame-mail will be reposted on the UseNet in full




Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39609
Author: FEEB
Date: Fri, 03 Sep 1999 00:00
41 lines
2561 bytes
On 03 Sep 1999 09:19:28 -0400, meow wrote:

>FEEB <nospam@neverland.com> wrote:
>
>> I upgraded to INN 2.2.1 in RedHat4.2 environment.  Everything seems to 
be 
>> running smoothly so far with two things I would appreciate an advice on:
>
>> 1. CPU load seems to be higher than with 1.5.1.  I'd say on average it 
>> doubled.  Is there anything I should pay an attention to?
>
>INN 2 has a lot more features, and using more CPU is generally to be
>expected.  It would help if you mentioned how you're running (what
>sort of spool, history style, whether you enabled Perl filtering,
>etc.) if you want to track down potential problems there.  But if you
>have filtering enabled, twice or more CPU is quite normal.
>
>> 2.  I am getting weird entries in logs, which weren't there before:
>
>> Sep  2 22:54:31 news1 ctlinnd[819]: Reading config from 
/etc/news/inn.conf
>
>This is normal.  In INN 1.x, most options were compiled in using
>config.data as a template.  In 2.x, all that stuff now lives in
>inn.conf and is loaded in every time an INN program is run.  I agree
>with you that the message leans toward the gratuitous at this point,
>even for most debugging; if you want to get rid if it, it's a one line
>change to lib/getconfig.c; just search for the "Reading config" string
>and comment out that syslog call.

Thanks a bunch!


Frank Bures, fbures@chem.toronto.edu (use this address for replies)
http://frank.chem.utoronto.ca/electronics
Warning: Received flame-mail will be reposted on the UseNet in full




Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39614
Author: meow
Date: Fri, 03 Sep 1999 00:00
27 lines
2008 bytes
FEEB <nospam@neverland.com> wrote:

> I upgraded to INN 2.2.1 in RedHat4.2 environment.  Everything seems to be 
> running smoothly so far with two things I would appreciate an advice on:

> 1. CPU load seems to be higher than with 1.5.1.  I'd say on average it 
> doubled.  Is there anything I should pay an attention to?

INN 2 has a lot more features, and using more CPU is generally to be
expected.  It would help if you mentioned how you're running (what
sort of spool, history style, whether you enabled Perl filtering,
etc.) if you want to track down potential problems there.  But if you
have filtering enabled, twice or more CPU is quite normal.

> 2.  I am getting weird entries in logs, which weren't there before:

> Sep  2 22:54:31 news1 ctlinnd[819]: Reading config from /etc/news/inn.conf

This is normal.  In INN 1.x, most options were compiled in using
config.data as a template.  In 2.x, all that stuff now lives in
inn.conf and is loaded in every time an INN program is run.  I agree
with you that the message leans toward the gratuitous at this point,
even for most debugging; if you want to get rid if it, it's a one line
change to lib/getconfig.c; just search for the "Reading config" string
and comment out that syslog call.

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39626
Author: FEEB
Date: Fri, 03 Sep 1999 00:00
25 lines
1788 bytes
On 03 Sep 1999 09:19:28 -0400, meow wrote:

>INN 2 has a lot more features, and using more CPU is generally to be
>expected.  It would help if you mentioned how you're running (what
>sort of spool, history style, whether you enabled Perl filtering,
>etc.) if you want to track down potential problems there.  But if you
>have filtering enabled, twice or more CPU is quite normal.

(...)

Another question, if I may:

I am getting double entries in news.notice.  Each and every message from 
innd, nnrpd and some other daemons (but not all the daemons) appears twice.  
Any hint?


Frank Bures, fbures@chem.toronto.edu (use this address for replies)
http://frank.chem.utoronto.ca/electronics
Warning: Received flame-mail will be reposted on the UseNet in full




Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39632
Author: fbures
Date: Sat, 04 Sep 1999 00:00
30 lines
2143 bytes
>Thanks very much, that was it.
>
>I have another question though.  I tried to use controlchan.  I enabled it in
>newsfeeds and reloaded innd.  What I got was a flood of messages like these
>in news.notice:
>
>Sep  4 11:40:18 news1 innd: controlchan! spawned controlchan!:28:proc:4119
>Sep  4 11:40:18 news1 innd: controlchan! restarted                        
>Sep  4 11:40:19 news1 innd: controlchan! exit 2 elapsed 0 pid 4119        
>Sep  4 11:40:19 news1 innd: controlchan!:28:proc:4119 closed              
>
>There were at least 2 or 3 sets of messages like these per second.
>
>So I changed the newsfeeds back and reloaded innd.  What is wrong here?
>
>BTW, the reason I started to mess around with it is, that I am not getting
>any mail from innd regarding newgroup and rmgroup.  I use the same newsfeeds
                                                                                               ~~~~~~~~~~~
>as I used with 1.5.1.  I checked the format and there did not seem to be any
>differences.  It worked OK in 1.5.1.  Any hints?

Errata:

Instead of newsfeeds above read control.ctl.

Sorry



Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39636
Author: Anon
Date: Sat, 04 Sep 1999 00:00
37 lines
2725 bytes
In <ylaer2k6am.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> writes:
>fbures <fbures@chem.toronto.edu> writes:
>> Sep  4 11:40:18 news1 innd: controlchan! spawned controlchan!:28:proc:4119
>> Sep  4 11:40:18 news1 innd: controlchan! restarted                        
>> Sep  4 11:40:19 news1 innd: controlchan! exit 2 elapsed 0 pid 4119        
>> Sep  4 11:40:19 news1 innd: controlchan!:28:proc:4119 closed              
>
>controlchan is failing for some reason.  Have you run h2ph on your include
>files?  Not having done that is probably the most likely reason.

Yes, I have.  I was getting progress messages from h2ph, no errors.  
Controlchan still does not work though.  What is the output of h2ph?
I do not see any changes or new files in usr/include or usr/include/sys.

>
>> BTW, the reason I started to mess around with it is, that I am not
>> getting any mail from innd regarding newgroup and rmgroup.  I use the
>> same newsfeeds as I used with 1.5.1.  I checked the format and there did
>> not seem to be any differences.  It worked OK in 1.5.1.  Any hints?
>
>There are no major changes in the format of the newsfeeds file, but that's
>not what controls whether or not you get mail.  That's controlled by the
>control.ctl file.  Change your doit or verify actions to specify a log of
>"mail" (by appending =mail).

I've done that of course.  The point is - I am using the same control.ctl as I used
in 1.5.1, it worked there and I am not getting any messages in 2.2.1
innd mailing works OK though.

Any ideas?

Frank Bures, University of Toronto, M5S 3H6
<fbures@chem.toronto.edu>
http://frank.chem.utoronto.ca/electronics


Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39638
Author: fbures
Date: Sat, 04 Sep 1999 00:00
41 lines
2643 bytes
In <874shbt1wn.fsf@banet.net>, meow <meowing@banet.net> writes:
>FEEB <nospam@neverland.com> wrote:
>
>> I am getting double entries in news.notice.  Each and every message from 
>> innd, nnrpd and some other daemons (but not all the daemons) appears twice.  
>> Any hint?
>
>Sounds like you've got some duplicated rules in syslog.conf; perhaps
>an @ entry somewhere pointing back to your machine?  Sysloggers tend
>to be pretty dumb, so take care with the rules.

Thanks very much, that was it.

I have another question though.  I tried to use controlchan.  I enabled it in
newsfeeds and reloaded innd.  What I got was a flood of messages like these
in news.notice:

Sep  4 11:40:18 news1 innd: controlchan! spawned controlchan!:28:proc:4119
Sep  4 11:40:18 news1 innd: controlchan! restarted                        
Sep  4 11:40:19 news1 innd: controlchan! exit 2 elapsed 0 pid 4119        
Sep  4 11:40:19 news1 innd: controlchan!:28:proc:4119 closed              

There were at least 2 or 3 sets of messages like these per second.

So I changed the newsfeeds back and reloaded innd.  What is wrong here?

BTW, the reason I started to mess around with it is, that I am not getting
any mail from innd regarding newgroup and rmgroup.  I use the same newsfeeds
as I used with 1.5.1.  I checked the format and there did not seem to be any
differences.  It worked OK in 1.5.1.  Any hints?

Thanks very much again, your help is really appreciated.
(If only the documentation was a little better and FAQ more up-to-date <sigh>)


Frank Bures, University of Toronto, M5S 3H6
<fbures@chem.toronto.edu>
http://frank.chem.utoronto.ca/electronics


Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39639
Author: Russ Allbery
Date: Sat, 04 Sep 1999 00:00
21 lines
1817 bytes
Russ Allbery <rra@stanford.edu> writes:
> chem utoronto ca writes:

>> I've done that of course.  The point is - I am using the same
>> control.ctl as I used in 1.5.1, it worked there and I am not getting
>> any messages in 2.2.1 innd mailing works OK though.

> The only change that I'm aware of between 1.5.1 and 2.2.1 in control.ctl
> processing is that in 1.5.1 mail was the default for more things than it
> is in 2.2.1 (or at least I think that's the direction the change went).
> But if you explicitly list mail for logging, I'm not sure what's wrong.

It just occurred to me... you're starting controlchan with inn.conf set to
use controlchan, right?  And when you say you're not getting any mail for
newsgroup creations and removals, is this when you turn off controlchan in
inn.conf and use the built-in control message handling?

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

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39642
Author: Russ Allbery
Date: Sat, 04 Sep 1999 00:00
35 lines
2328 bytes
fbures <fbures@chem.toronto.edu> writes:

> I have another question though.  I tried to use controlchan.  I enabled
> it in newsfeeds and reloaded innd.  What I got was a flood of messages
> like these in news.notice:

> Sep  4 11:40:18 news1 innd: controlchan! spawned controlchan!:28:proc:4119
> Sep  4 11:40:18 news1 innd: controlchan! restarted                        
> Sep  4 11:40:19 news1 innd: controlchan! exit 2 elapsed 0 pid 4119        
> Sep  4 11:40:19 news1 innd: controlchan!:28:proc:4119 closed              

> There were at least 2 or 3 sets of messages like these per second.

controlchan is failing for some reason.  Have you run h2ph on your include
files?  Not having done that is probably the most likely reason.

> BTW, the reason I started to mess around with it is, that I am not
> getting any mail from innd regarding newgroup and rmgroup.  I use the
> same newsfeeds as I used with 1.5.1.  I checked the format and there did
> not seem to be any differences.  It worked OK in 1.5.1.  Any hints?

There are no major changes in the format of the newsfeeds file, but that's
not what controls whether or not you get mail.  That's controlled by the
control.ctl file.  Change your doit or verify actions to specify a log of
"mail" (by appending =mail).

> Thanks very much again, your help is really appreciated.  (If only the
> documentation was a little better and FAQ more up-to-date <sigh>)

Trying to find time for that....

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

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39643
Author: Russ Allbery
Date: Sat, 04 Sep 1999 00:00
23 lines
1827 bytes
chem utoronto ca writes:

> Yes, I have.  I was getting progress messages from h2ph, no errors.
> Controlchan still does not work though.  What is the output of h2ph?  I
> do not see any changes or new files in usr/include or usr/include/sys.

It puts them in your Perl library.  Hm.  If h2ph has been run, controlchan
should be able to log to syslog.  No error messages showing up when it
tries to start?

> I've done that of course.  The point is - I am using the same
> control.ctl as I used in 1.5.1, it worked there and I am not getting any
> messages in 2.2.1 innd mailing works OK though.

The only change that I'm aware of between 1.5.1 and 2.2.1 in control.ctl
processing is that in 1.5.1 mail was the default for more things than it
is in 2.2.1 (or at least I think that's the direction the change went).
But if you explicitly list mail for logging, I'm not sure what's wrong.

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

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39657
Author: meow
Date: Sat, 04 Sep 1999 00:00
11 lines
1226 bytes
FEEB <nospam@neverland.com> wrote:

> I am getting double entries in news.notice.  Each and every message from 
> innd, nnrpd and some other daemons (but not all the daemons) appears twice.  
> Any hint?

Sounds like you've got some duplicated rules in syslog.conf; perhaps
an @ entry somewhere pointing back to your machine?  Sysloggers tend
to be pretty dumb, so take care with the rules.

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39652
Author: nospam
Date: Sun, 05 Sep 1999 00:00
24 lines
2214 bytes
In <ylzoz2h20o.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> writes:
>Russ Allbery <rra@stanford.edu> writes:
>It just occurred to me... you're starting controlchan with inn.conf set to
>use controlchan, right?  And when you say you're not getting any mail for
>newsgroup creations and removals, is this when you turn off controlchan in
>inn.conf and use the built-in control message handling?

Let me sumarize, Russ:

I solved the problem with mailing of control messages.  It was misconfiguration
in inn.conf, namely usecontrolchan and controlfailnotice.  Now I have mailing 
working OK WITHOUT controlchan.  When I set usecontrolchan: true, I am still 
getting those error messages mentioned earlier, as controlchan dies and restarts
itself several times a second.  It might be an interesting phenomena to investigate,
but as the mailing works now, it will have to wait a little.

Thanks for your help.

Frank Bures, University of Toronto, M5S 3H6
<fbures@chem.toronto.edu>
http://frank.chem.utoronto.ca/electronics


Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39655
Author: meow
Date: Sun, 05 Sep 1999 00:00
13 lines
1494 bytes
nospam <nospam@chem.utoronto.ca> wrote:

> getting those error messages mentioned earlier, as controlchan dies
> and restarts itself several times a second.  It might be an
> interesting phenomena to investigate, but as the mailing works now,
> it will have to wait a little.

You can run it (or any channel feed program) interactively to see
what's bothering it.  Once you get innd out of the way, the error
message ought to point at something clear.


Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39671
Author: David Shrimpton
Date: Mon, 06 Sep 1999 00:00
38 lines
2390 bytes
fbures@chem.toronto.edu wrote:
> 

> I have another question though.  I tried to use controlchan.  I enabled it in
> newsfeeds and reloaded innd.  What I got was a flood of messages like these
> in news.notice:
> 
> Sep  4 11:40:18 news1 innd: controlchan! spawned controlchan!:28:proc:4119
> Sep  4 11:40:18 news1 innd: controlchan! restarted
> Sep  4 11:40:19 news1 innd: controlchan! exit 2 elapsed 0 pid 4119
> Sep  4 11:40:19 news1 innd: controlchan!:28:proc:4119 closed
> 
> There were at least 2 or 3 sets of messages like these per second.
> 
> So I changed the newsfeeds back and reloaded innd.  What is wrong here?
> 

Check the paths you have used in inn.conf and elsewhere for lib ... and
make 
sure they agree with the paths in all the perl and shell scripts in bin.

I got the same problem when I tried to change the libpath to
/usr/local/newsbin from
the default in 2.2.1, which is /usr/local/news/lib.   All the perl and
shellscripts
have /usr/local/news/lib and a few other paths hard-wired into them.  
These paths aren't configurable when your building inn2.2.1.
Even though you've changed the paths in inn.conf ... , they don't change
in the perl scripts 
and I think some of them can't find modules.

-- 
David Shrimpton                       Systems Programmer
Software Infrastructure, Information Technology Services
University of Qld 4072            shrimpto@its.uq.edu.au
Brisbane Australia                 Phone  61 7 3365 4012

Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39678
Author: FEEB
Date: Tue, 07 Sep 1999 00:00
27 lines
2209 bytes
On 05 Sep 1999 20:14:40 -0400, meow wrote:

>nospam <nospam@chem.utoronto.ca> wrote:
>
>> getting those error messages mentioned earlier, as controlchan dies
>> and restarts itself several times a second.  It might be an
>> interesting phenomena to investigate, but as the mailing works now,
>> it will have to wait a little.
>
>You can run it (or any channel feed program) interactively to see
>what's bothering it.  Once you get innd out of the way, the error
>message ought to point at something clear.
>

Thanks to your help, problem found.  Obsolete version of perl (5.003).
After upgrade to 5.004, everything's OK.
I should have known better :-)


Frank Bures, fbures@chem.toronto.edu (use this address for replies)
http://frank.chem.utoronto.ca/electronics
Warning: Received flame-mail will be reposted on the UseNet in full




Re: Problems after upgrading INN1.5.1 ---> INN 2.2.1
#39713
Author: bill davidsen
Date: Wed, 08 Sep 1999 00:00
16 lines
1529 bytes
In article <ylzoz2h20o.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| It just occurred to me... you're starting controlchan with inn.conf set to
| use controlchan, right?  And when you say you're not getting any mail for
| newsgroup creations and removals, is this when you turn off controlchan in
| inn.conf and use the built-in control message handling?

And you did enable controlchan feed in newsfeeds?

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"So let it be written, so let it be dumb." Pharaoh Dufus the last...


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