🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
48 messages
48 total messages Started by _zip Sat, 11 Jan 2003 15:10
INN general setup question(s)
#63032
Author: _zip
Date: Sat, 11 Jan 2003 15:10
8 lines
1322 bytes
If I'm not going to be using INN to accept or send news feeds to other 
news servers but just to accept posts from newsreaders how should I bind 
innd and nnrpd?

Should I go ahead and still bind innd to an internet domain socket and 
it will send newsreader requests to nnrpd?

Re: INN general setup question(s)
#63034
Author: Jeffrey M. Vinocur
Date: Sat, 11 Jan 2003 15:59
19 lines
1627 bytes
In article <6uWT9.35968$t06.1687349@news2.east.cox.net>,
_zip  <_zip@cox.net> wrote:
>If I'm not going to be using INN to accept or send news feeds to other 
>news servers but just to accept posts from newsreaders how should I bind 
>innd and nnrpd?

There's no strong reason not to use the traditional
configuration, but if you want to (being extra prudent can't
hurt) that would also work.

I guess what I would do is change INN to bind to port 433, and
additionally set "bindaddress" to 127.0.0.1.  You'll then need to
run nnrpd on port 119 either out of inetd/xinetd or using the -D
flag to nnrpd.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63042
Author: _zip
Date: Sun, 12 Jan 2003 19:40
27 lines
1948 bytes
Jeffrey M. Vinocur wrote:
> In article <6uWT9.35968$t06.1687349@news2.east.cox.net>,
> _zip  <_zip@cox.net> wrote:
> 
>>If I'm not going to be using INN to accept or send news feeds to other 
>>news servers but just to accept posts from newsreaders how should I bind 
>>innd and nnrpd?
> 
> 
> There's no strong reason not to use the traditional
> configuration, but if you want to (being extra prudent can't
> hurt) that would also work.
> 
> I guess what I would do is change INN to bind to port 433

I'm pretty sure you mean innd?

, and
> additionally set "bindaddress" to 127.0.0.1.  You'll then need to
> run nnrpd on port 119 either out of inetd/xinetd or using the -D
> flag to nnrpd.
> 

Any suggestions for a setup that keeps segfaulting? inncheck doesn't 
give me any errors.

Re: INN general setup question(s)
#63043
Author: _zip
Date: Sun, 12 Jan 2003 19:44
18 lines
1570 bytes
_zip wrote:

> Any suggestions for a setup that keeps segfaulting? inncheck doesn't 
> give me any errors.
> 

I'll also add that it seg faults as soon as I try starting nnrpd or 
innd. And no log messages are produced.

I'm trying to run nnrpd as a standalone..

nnrpd -b 192.168.1.4 -D -p 119  (as root)
segmentation fault

./inndstart  (as user news)
segmentation fault

Re: INN general setup question(s)
#63044
Author: _zip
Date: Sun, 12 Jan 2003 20:08
5 lines
1378 bytes
btw, and sorry for posting so much, but if by chance anyone wants to 
help off the group here I'm on irc at gibson.freenode.net #maximumlinux 
nick = uniplex

Re: INN general setup question(s)
#63045
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 20:12
31 lines
1875 bytes
In article <CwjU9.51056$t06.2288619@news2.east.cox.net>,
_zip  <_zip@cox.net> wrote:
>Jeffrey M. Vinocur wrote:
> 
>> I guess what I would do is change INN to bind to port 433
>
>I'm pretty sure you mean innd?

I meant set "port: 433" in inn.conf, but yes, that setting is
used by innd.


>> additionally set "bindaddress" to 127.0.0.1.  You'll then need to
>> run nnrpd on port 119 either out of inetd/xinetd or using the -D
>> flag to nnrpd.
>
>Any suggestions for a setup that keeps segfaulting? inncheck doesn't 
>give me any errors.

*blink*

You should absolutely not be able to make it segfault.

Can you run gdb on the coredump and get a backtrace?  (You may
have to recompile with `make clean; make warnings` to get
debugging information compiled in.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63046
Author: linuXjedi
Date: Sun, 12 Jan 2003 21:19
23 lines
1811 bytes
Jeffrey M. Vinocur wrote:

> You should absolutely not be able to make it segfault.

I reinstalled and it still segfaults. I'm using gcc 3.2.1 btw.

> 
> Can you run gdb on the coredump and get a backtrace?  (You may
> have to recompile with `make clean; make warnings` to get
> debugging information compiled in.)
> 

I tried doing make warnings but I got an error no target to make 
warnings or something

./configure --with-stuff --with-morestuff
make
make install

where does make clean and make warnings go? The INSTALL doc doesn't 
mention them.

Re: INN general setup question(s)
#63047
Author: _zip
Date: Sun, 12 Jan 2003 22:00
7 lines
1434 bytes
also, what patch do I need to get OS support for mmap() on a block 
device with linux?

Will the kernel's Network block device support under 'Block Devices' 
have support for this?

Re: INN general setup question(s)
#63050
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 22:03
40 lines
2225 bytes
In article <QZkU9.51967$t06.2334900@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>Jeffrey M. Vinocur wrote:
>
>> You should absolutely not be able to make it segfault.
>
>I reinstalled and it still segfaults.

Yes, I wouldn't expect that to fix it.


>I'm using gcc 3.2.1 btw.

Hmm, I wonder if there's an interaction that we don't know about
yet.


>> Can you run gdb on the coredump and get a backtrace?  (You may
>> have to recompile with `make clean; make warnings` to get
>> debugging information compiled in.)
>> 
>
>I tried doing make warnings but I got an error no target to make 
>warnings or something

You're right, it's not in the INN 2.3.x makefile.  Instead, try
doing this:  `make COPT="-Wall"` (if you've already run `make`,
you'll need to run `make clean` first or nothing will be
rebuilt).

Then locate your coredump (it's probably ~news/spool/articles/core,
but no promises), run `file` on it to find out precisely what
dumped core, then run `gdb ~news/bin/whatever path/to/core` and
type "backtrace" at the prompt.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63051
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 22:06
22 lines
1686 bytes
In article <XzlU9.52450$t06.2351772@news2.east.cox.net>,
_zip  <_zip@cox.net> wrote:
>also, what patch do I need to get OS support for mmap() on a block 
>device with linux?

No idea.

Unless you're running an extremely high-traffic server, you don't
need to worry about that.  (I carry all of Big-8 on a fairly old
PIII running linux, and you can't even notice the load.)


>Will the kernel's Network block device support under 'Block Devices' 
>have support for this?

You'd have to ask about this in a linux group, probably.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63052
Author: linuXjedi
Date: Sun, 12 Jan 2003 22:35
27 lines
1919 bytes
Jeffrey M. Vinocur wrote:

> You're right, it's not in the INN 2.3.x makefile.  Instead, try
> doing this:  `make COPT="-Wall"` (if you've already run `make`,
> you'll need to run `make clean` first or nothing will be
> rebuilt).

Sorry if I seem to have a hard time understanding you. Do you mean in 
this order?

./configure
make clean
make
make COPT="-Wall"

> 
> Then locate your coredump (it's probably ~news/spool/articles/core,
> but no promises), run `file` on it to find out precisely what
> dumped core, then run `gdb ~news/bin/whatever path/to/core` and
> type "backtrace" at the prompt.

what is 'whatever'?

> 
> 

Re: INN general setup question(s)
#63053
Author: Russ Allbery
Date: Sun, 12 Jan 2003 23:43
15 lines
1688 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> You're right, it's not in the INN 2.3.x makefile.  Instead, try
> doing this:  `make COPT="-Wall"` (if you've already run `make`,
> you'll need to run `make clean` first or nothing will be
> rebuilt).

make COPT="-g -Wall" may be more what you want; you need the -g.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN general setup question(s)
#63054
Author: Russ Allbery
Date: Sun, 12 Jan 2003 23:43
13 lines
1586 bytes
zip <_zip@cox.net> writes:

> also, what patch do I need to get OS support for mmap() on a block
> device with linux?

You don't need a patch, just a recent 2.4 kernel.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN general setup question(s)
#63055
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 23:50
45 lines
2564 bytes
In article <R4mU9.52922$t06.2368120@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>Jeffrey M. Vinocur wrote:
>
>> You're right, it's not in the INN 2.3.x makefile.  Instead, try
>> doing this:  `make COPT="-Wall"` (if you've already run `make`,
>> you'll need to run `make clean` first or nothing will be
>> rebuilt).
>
>Sorry if I seem to have a hard time understanding you.

Ok, let me explain for general edification.

If you're starting from a fresh source tree, all you need to do
is `./configure; make COPT="-Wall"` (and then `make update` as
root).

However, if you already have done `./configure; make` earlier,
you don't have to delete everything and start over.  Instead you
would just do `make clean; make COPT="-Wall"` at this point.  The
`make clean` essentially "undoes" the `make` leaving you with the
same effect as what you wanted (previous paragraph).


>> Then locate your coredump (it's probably ~news/spool/articles/core,
>> but no promises), run `file` on it to find out precisely what
>> dumped core, then run `gdb ~news/bin/whatever path/to/core` and
>> type "backtrace" at the prompt.
>
>what is 'whatever'?

When you run `file path/to/core`, you'll get output telling you
what program actually crashed:

~ > file core
core: ELF 32-bit LSB core file of 'nnrpd' (signal 11), Intel
80386, version 1, from 'nnrpd'

So in this case, "whatever" is "nnrpd".


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63056
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 23:50
16 lines
1474 bytes
In article <ylvg0u9bnv.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>zip <_zip@cox.net> writes:
>
>> also, what patch do I need to get OS support for mmap() on a block
>> device with linux?
>
>You don't need a patch, just a recent 2.4 kernel.

Then we should update INSTALL to reflect that.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63057
Author: Jeffrey M. Vinocur
Date: Sun, 12 Jan 2003 23:52
22 lines
1776 bytes
In article <yl1y3iaq92.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> You're right, it's not in the INN 2.3.x makefile.  Instead, try
>> doing this:  `make COPT="-Wall"` (if you've already run `make`,
>> you'll need to run `make clean` first or nothing will be
>> rebuilt).
>
>make COPT="-g -Wall" may be more what you want; you need the -g.

*sigh*  Yes, Russ is completely and entirely correct.  For that
matter, COPT="-g" would suffice.

(Funny, I actually thought that was what I had written.  I guess
my fingers are too used to typing COPT=-Wall!)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63058
Author: _zip
Date: Mon, 13 Jan 2003 00:47
10 lines
1552 bytes
Jeffrey M. Vinocur wrote:

> If you're starting from a fresh source tree, all you need to do
> is `./configure; make COPT="-Wall"` (and then `make update` as
> root).

What is make COPT="-g -Wall" supposed to do? innd and nnrpd are still 
segfaulting and I can't find a core for it.

Re: INN general setup question(s)
#63059
Author: _zip
Date: Mon, 13 Jan 2003 00:55
11 lines
1658 bytes
_zip wrote:

> What is make COPT="-g -Wall" supposed to do? innd and nnrpd are still 
> segfaulting and I can't find a core for it.
> 

I'm considering just wiping the box and installing an OS with an older 
version of gcc and see if I can get INN running on that. Also, I can put 
my current configs up on a web server if they're suspect.

Re: INN general setup question(s)
#63060
Author: Jeffrey M. Vinocur
Date: Mon, 13 Jan 2003 02:32
30 lines
1857 bytes
In article <j0oU9.54156$t06.2432338@news2.east.cox.net>,
_zip  <_zip@cox.net> wrote:
>
>What is make COPT="-g -Wall" supposed to do?

Include debugging information in the executables, so gdb shows
more useful output.


>innd and nnrpd are still segfaulting and I can't find a core for
>it.

`find ~news -name core` shows nothing?

I've never tried running innd or nnrpd -D under gdb directly, and
I don't know how forking interacts, but I guess you could try
this instead:

gdb ~news/bin/nnrpd
[ copyright information here ]
gdb> run -D [ and whatever other flags you normally pass to nnrpd ]
[ wait for segfault ]
gdb> backtrace
[ backtrace appears, show it to us ]


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63061
Author: Jeffrey M. Vinocur
Date: Mon, 13 Jan 2003 02:33
21 lines
1650 bytes
In article <P7oU9.54210$t06.2435862@news2.east.cox.net>,
_zip  <_zip@cox.net> wrote:
>
>I'm considering just wiping the box and installing an OS with an older 
>version of gcc and see if I can get INN running on that.

*blink*  That's dedication, or something.


>Also, I can put my current configs up on a web server if they're
>suspect.

There may be something wrong (though causing a segfault would be
a bug in INN) -- but I wouldn't even know where to begin to look
without the backtrace.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63062
Author: _zip
Date: Mon, 13 Jan 2003 03:28
39 lines
2489 bytes
Jeffrey M. Vinocur wrote:
> In article <j0oU9.54156$t06.2432338@news2.east.cox.net>,
> _zip  <_zip@cox.net> wrote:
> 
>>What is make COPT="-g -Wall" supposed to do?
> 
> 
> Include debugging information in the executables, so gdb shows
> more useful output.
> 
> 
> 
>>innd and nnrpd are still segfaulting and I can't find a core for
>>it.
> 
> 
> `find ~news -name core` shows nothing?
> 
> I've never tried running innd or nnrpd -D under gdb directly, and
> I don't know how forking interacts, but I guess you could try
> this instead:
> 
> gdb ~news/bin/nnrpd
> [ copyright information here ]
> gdb> run -D [ and whatever other flags you normally pass to nnrpd ]
> [ wait for segfault ]
> gdb> backtrace
> [ backtrace appears, show it to us ]
> 
> 

well, I appreciate it, and hopefully I won't need it, because I've just 
wiped the box and am currently installing gentoo-1.2 on it which has gcc 
2.95.3. I was using gentoo-1.4 with gcc 3.2.1. That's pretty much the 
only difference between the two is the gcc version. If I get it working 
with gcc 2.95.3 I'll reinstall a 1.4 system on the box and use those 
commands and post their results to this group.

Re: INN general setup question(s)
#63094
Author: linuXjedi
Date: Tue, 14 Jan 2003 04:55
19 lines
2208 bytes
Well, I got INN working great. Running nnrpd as a daemon. Using cnfs 
storage on a raw disk block device. Had absolutely no problems at all.

Except that my buisness class service from cox communications is 
blocking port 119 inbound. One of their network engineers told me before 
I got the service that the only incoming ports they block are the 
netbios ports.

INN installed perfectly using this setup below. I'll install a new 
gentoo system on the same box using the same configs but with gcc 3.2.1 
and post what I can about the segfaults.

Linux version 2.4.19-gentoo-r10 (root@mailbox) (gcc version 2.95.3 
20010315 (release)) #1 Mon Jan 13 18:05:28 EST 2003

Linux mailbox.maximum-linux.net 2.4.19-gentoo-r10 #1 Mon Jan 13 18:05:28 
EST 2003 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux

Re: INN general setup question(s)
#63095
Author: those who know me have no need o...
Date: Tue, 14 Jan 2003 05:15
19 lines
1968 bytes
in news.software.nntp i read:

>Well, I got INN working great. Running nnrpd as a daemon. Using cnfs
>storage on a raw disk block device. Had absolutely no problems at all.
>
>Except that my buisness class service from cox communications is
>blocking port 119 inbound. One of their network engineers told me
>before I got the service that the only incoming ports they block are
>the netbios ports.

cable co isp's lie.  a lot.  (`we block telnet use ssh', when telnet is
actually open, it's ssh that is closed.  not that it really matters.)  but
nntp isn't like e-mail, virtually every client and server are per-
connection configurable.  there is a default, but it's not like smtp,
nearly impossible to work around.

-- 
bringing you boring signatures for 17 years
Re: INN general setup question(s)
#63096
Author: Kjetil Torgrim Homme
Date: Tue, 14 Jan 2003 05:36
12 lines
1783 bytes
[those who know me have no need of my name]:
>
>   but nntp isn't like e-mail, virtually every client and server are
>   per- connection configurable.  there is a default, but it's not
>   like smtp, nearly impossible to work around.

indeed, it is not uncommon to use 433 for feeds, and 119 for readers.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: INN general setup question(s)
#63130
Author: Jeffrey M. Vinocur
Date: Tue, 14 Jan 2003 23:37
16 lines
1572 bytes
In article <zLMU9.61415$t06.3043441@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>
>Except that my buisness class service from cox communications is 
>blocking port 119 inbound. One of their network engineers told me before 
>I got the service that the only incoming ports they block are the 
>netbios ports.

You're sure it's not a NAT box on your end, or something like
ipchains running on your machine?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63170
Author: linuXjedi
Date: Wed, 15 Jan 2003 18:40
10 lines
1466 bytes
Jeffrey M. Vinocur wrote:

> You're sure it's not a NAT box on your end, or something like
> ipchains running on your machine?
> 
> 

Yes I'm quite sure. My ISP is blocking 119 inbound.

Re: INN general setup question(s)
#63172
Author: linuXjedi
Date: Wed, 15 Jan 2003 18:46
17 lines
1872 bytes
linuXjedi wrote:
> Jeffrey M. Vinocur wrote:
> 
>> You're sure it's not a NAT box on your end, or something like
>> ipchains running on your machine?
>>
>>
> 
> Yes I'm quite sure. My ISP is blocking 119 inbound.
> 

Also, I said I'd install with the other compiler and post the traceback 
etc. That box is about to go into production but maybe I can do it on 
another one. At any rate gcc 3.2.1 with INN 2.3.4 seems to be causeing 
some problems, I've noticed that others have had the same problem as well.

Re: INN general setup question(s)
#63338
Author: linuXjedi
Date: Sun, 19 Jan 2003 18:24
40 lines
2269 bytes
Jeffrey M. Vinocur wrote:
> In article <yl1y3iaq92.fsf@windlord.stanford.edu>,
> Russ Allbery  <rra@stanford.edu> wrote:
> 
>>Jeffrey M Vinocur <jeff@litech.org> writes:
>>
>>
>>>You're right, it's not in the INN 2.3.x makefile.  Instead, try
>>>doing this:  `make COPT="-Wall"` (if you've already run `make`,
>>>you'll need to run `make clean` first or nothing will be
>>>rebuilt).
>>
>>make COPT="-g -Wall" may be more what you want; you need the -g.
> 
> 
> *sigh*  Yes, Russ is completely and entirely correct.  For that
> matter, COPT="-g" would suffice.
> 
> (Funny, I actually thought that was what I had written.  I guess
> my fingers are too used to typing COPT=-Wall!)
> 
> 

In my readers.conf I have the following.

auth public {
         hosts: "*"
         default: public
}

access public {
         users: public
         newsgroups: "group1,group2,group3,group4"
}


What I don't understand is why everyone has access to group5,group6 and 
group7 too.

Re: INN general setup question(s)
#63342
Author: Jeffrey M. Vinocur
Date: Sun, 19 Jan 2003 18:51
19 lines
1475 bytes
In article <A3CW9.28636$I55.700869@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>
>access public {
>         users: public
>         newsgroups: "group1,group2,group3,group4"
>}
>
>What I don't understand is why everyone has access to group5,group6 and 
>group7 too.

Try

    newsgroups: "!*,group1,group2,group3,group4"

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63346
Author: linuXjedi
Date: Sun, 19 Jan 2003 19:58
54 lines
2401 bytes
Jeffrey M. Vinocur wrote:
> In article <A3CW9.28636$I55.700869@news2.east.cox.net>,
> linuXjedi  <linuXjedi@cox.net> wrote:
> 
>>access public {
>>        users: public
>>        newsgroups: "group1,group2,group3,group4"
>>}
>>
>>What I don't understand is why everyone has access to group5,group6 and 
>>group7 too.
> 
> 
> Try
> 
>     newsgroups: "!*,group1,group2,group3,group4"
> 

That didn't seem to work either. I restart nnrpd every time I make 
changes. Here's everything I got in readers.conf

auth "localhost" {
     hosts: "localhost, 127.0.0.1, stdin"
     default: "<localhost>"
}

access "localhost" {
     users: "<localhost>"
     newsgroups: "!*,programming,general,hardware,news,distro-mania"
     access: RPA
}

auth public {
         hosts: "*"
         default: public
}

access public {
         users: public
         newsgroups: "!gentoo.*,general,news,distro-mania,hardware"
}

auth local {
         hosts: 192.168.1.3
}

access local {
         newsgroups: *


Im testing this from 192.168.1.2 trying to simulate an external 
connection from the internet etc.

Re: INN general setup question(s)
#63348
Author: Russ Allbery
Date: Sun, 19 Jan 2003 20:09
32 lines
2038 bytes
linuXjedi <linuXjedi@cox.net> writes:

> auth public {
>          hosts: "*"
>          default: public
> }

> access public {
>          users: public
>          newsgroups: "!gentoo.*,general,news,distro-mania,hardware"
> }

> auth local {
>          hosts: 192.168.1.3
> }

> access local {
>          newsgroups: *

There are no user restrictions on that last access group and it's after
the public access group, so it takes precedence and all connections get
access to all newsgroups.

You need to have your auth local block assign some user identity that you
can then refer to in the access local block.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN general setup question(s)
#63352
Author: linuXjedi
Date: Sun, 19 Jan 2003 21:00
16 lines
1991 bytes
Russ Allbery wrote:

> There are no user restrictions on that last access group and it's after
> the public access group, so it takes precedence and all connections get
> access to all newsgroups.
> 
> You need to have your auth local block assign some user identity that you
> can then refer to in the access local block.
> 

It appears that there is a delay from the time nnrpd is restarted until 
the changes in readers.conf take effect. This is on a not so slow box, a 
2ghz p4. Is there a setting that controls this or is it otherwise just 
normal?

Re: INN general setup question(s)
#63355
Author: Russ Allbery
Date: Sun, 19 Jan 2003 21:11
15 lines
1808 bytes
linuXjedi <linuXjedi@cox.net> writes:

> It appears that there is a delay from the time nnrpd is restarted until
> the changes in readers.conf take effect. This is on a not so slow box, a
> 2ghz p4. Is there a setting that controls this or is it otherwise just
> normal?

nnrpd reads readers.conf at startup time.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN general setup question(s)
#63357
Author: linuXjedi
Date: Sun, 19 Jan 2003 21:32
17 lines
1972 bytes
Russ Allbery wrote:

> nnrpd reads readers.conf at startup time.
> 

Yeah. It still seems that there is s delay before the changes take effect.

I can change readers.conf to make other groups available to a local 
computer. Immediately after restarting nnrpd I can goto my newsreader 
and refresh the groups list and they won't display. I can come back a 
minute later though and they'll be there. Maybe it's my newsreader itself.

I stumbled upon this in testing different readers.conf settings.

Anyway, thanks for the help. :)

Re: INN general setup question(s)
#63361
Author: Jeffrey M. Vinocur
Date: Sun, 19 Jan 2003 22:04
23 lines
1979 bytes
In article <MPEW9.30408$I55.755326@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>Russ Allbery wrote:
>
>> nnrpd reads readers.conf at startup time.
>
>Yeah. It still seems that there is s delay before the changes take effect.
>
>I can change readers.conf to make other groups available to a local 
>computer. Immediately after restarting nnrpd I can goto my newsreader 
>and refresh the groups list and they won't display. I can come back a 
>minute later though and they'll be there. Maybe it's my newsreader itself.

As long as your newsreader has a connection open from before,
it's still talking to an nnrpd process that hasn't restarted.  So
you either need to kill *all* the nnrpds (not just the daemon),
which will disconnect existing clients, or instruct your
newsreader to disconnect and reconnect.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63451
Author: linuXjedi
Date: Tue, 21 Jan 2003 01:09
24 lines
2031 bytes
Now I have serious problems (I think)

Posts aren't showing up on the server. Shortly after starting innd I can 
try shutting it down and I get this error..

news@mailbox news $ /usr/local/news/bin/rc.news stop
Can't send "shutdown" command (dead server failure) No such process.
Stopping innd:

When I try to restart it after that I get this..

news@mailbox news $ /usr/local/news/bin/rc.news
INND:  PID file exists -- unclean shutdown!
innmail: MTA excutable doesn't appear to exist: /usr/sbin/sendmail
Starting innd.
Scheduled start of /usr/local/news/bin/innwatch.

btw, /usr/sbin/sendmail is a symlink to /var/qmail/bin/sendmail

I know that's not much info but I don't know what other info might be 
needed.

Re: INN general setup question(s)
#63453
Author: Jeffrey M. Vinocur
Date: Tue, 21 Jan 2003 02:18
29 lines
1923 bytes
In article <V41X9.39929$I55.1128157@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>
>Posts aren't showing up on the server. Shortly after starting innd I can 
>try shutting it down and I get this error..
>
>news@mailbox news $ /usr/local/news/bin/rc.news stop
>Can't send "shutdown" command (dead server failure) No such process.

Yes, it probably never started all the way.  You need to check
the logs.


>innmail: MTA excutable doesn't appear to exist: /usr/sbin/sendmail

And this is it not being able to send you mail to complain.


>btw, /usr/sbin/sendmail is a symlink to /var/qmail/bin/sendmail

Eeugh.  I don't think you're supposed to do that.  Are you sure
you don't have /usr/lib/sendmail installed as part of the qmail
package or something?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63455
Author: linuXjedi
Date: Tue, 21 Jan 2003 02:33
47 lines
2660 bytes
Jeffrey M. Vinocur wrote:
> In article <V41X9.39929$I55.1128157@news2.east.cox.net>,
> linuXjedi  <linuXjedi@cox.net> wrote:
> 
>>Posts aren't showing up on the server. Shortly after starting innd I can 
>>try shutting it down and I get this error..
>>
>>news@mailbox news $ /usr/local/news/bin/rc.news stop
>>Can't send "shutdown" command (dead server failure) No such process.
> 
> 
> Yes, it probably never started all the way.  You need to check
> the logs.


I tailed /var/log/news/news.err and tried /usr/local/news/bin/rc.news 
and this popped up.

Jan 20 21:25:31 mailbox innd: SERVER bad_newsfeeds no feeding sites

Also something like this also mysteriously just pops up on the terminal. 
Few times I was editing readers.conf or reading a man page. Just 
happened now to after I rebooted, started nnrpd as root and innd via news.rc

news@mailbox news $ innwatch: [3124] locked by [2973]

> 
> 
>>innmail: MTA excutable doesn't appear to exist: /usr/sbin/sendmail
> 
> 
> And this is it not being able to send you mail to complain.
> 
> 
> 
>>btw, /usr/sbin/sendmail is a symlink to /var/qmail/bin/sendmail
> 
> 
> Eeugh.  I don't think you're supposed to do that.  Are you sure
> you don't have /usr/lib/sendmail installed as part of the qmail
> package or something?
> 
>

that's a symlink to /var/qmail/bin/sendmail too on my box.

Re: INN general setup question(s)
#63460
Author: Russ Allbery
Date: Tue, 21 Jan 2003 02:44
27 lines
2128 bytes
linuXjedi <linuXjedi@cox.net> writes:

> I tailed /var/log/news/news.err and tried /usr/local/news/bin/rc.news and
> this popped up.

> Jan 20 21:25:31 mailbox innd: SERVER bad_newsfeeds no feeding sites

You can ignore that.  Something else is wrong.

> Also something like this also mysteriously just pops up on the
> terminal. Few times I was editing readers.conf or reading a man
> page. Just happened now to after I rebooted, started nnrpd as root and
> innd via news.rc

> news@mailbox news $ innwatch: [3124] locked by [2973]

You have two copies of innwatch running at the same time.  This can happen
if you start INN and don't shut it down again with rc.news.

This too isn't the problem.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN general setup question(s)
#63527
Author: linuXjedi
Date: Wed, 22 Jan 2003 03:22
33 lines
2275 bytes
Russ Allbery wrote:
> linuXjedi <linuXjedi@cox.net> writes:
> 
> 
>>I tailed /var/log/news/news.err and tried /usr/local/news/bin/rc.news and
>>this popped up.
> 
> 
>>Jan 20 21:25:31 mailbox innd: SERVER bad_newsfeeds no feeding sites
> 
> 
> You can ignore that.  Something else is wrong.
> 
> 
>>Also something like this also mysteriously just pops up on the
>>terminal. Few times I was editing readers.conf or reading a man
>>page. Just happened now to after I rebooted, started nnrpd as root and
>>innd via news.rc
> 
> 
>>news@mailbox news $ innwatch: [3124] locked by [2973]
> 
> 
> You have two copies of innwatch running at the same time.  This can happen
> if you start INN and don't shut it down again with rc.news.
> 
> This too isn't the problem.
> 

How can I find out what the problem is? Maybe I should try reinstalling 
it. innd just wants to die on me for some reason.

Re: INN general setup question(s)
#63529
Author: Jeffrey M. Vinocur
Date: Wed, 22 Jan 2003 03:49
17 lines
1444 bytes
In article <K7oX9.48670$I55.1516133@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>Russ Allbery wrote:
>> 
>> You can ignore that.  Something else is wrong.
>> 
>> This too isn't the problem.
>
>How can I find out what the problem is?

Well, did you look in news.notice?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63530
Author: linuXjedi
Date: Wed, 22 Jan 2003 04:07
25 lines
1890 bytes
Jeffrey M. Vinocur wrote:
> In article <K7oX9.48670$I55.1516133@news2.east.cox.net>,
> linuXjedi  <linuXjedi@cox.net> wrote:
> 
>>Russ Allbery wrote:
>>
>>>You can ignore that.  Something else is wrong.
>>>
>>>This too isn't the problem.
>>
>>How can I find out what the problem is?
> 
> 
> Well, did you look in news.notice?
> 
> 

Yeah I looked through all the logs that I know of. In that one there's 
nothing but this...

Jan 21 22:26:29 mailbox innd: python: spamfilter successfully hooked 
into INN
Jan 21 22:26:39 mailbox innd: python: filter_close running, bye!

Re: INN general setup question(s)
#63532
Author: linuXjedi
Date: Wed, 22 Jan 2003 04:11
13 lines
1679 bytes
linuXjedi wrote:

> Yeah I looked through all the logs that I know of. In that one there's 
> nothing but this...
> 
> Jan 21 22:26:29 mailbox innd: python: spamfilter successfully hooked 
> into INN
> Jan 21 22:26:39 mailbox innd: python: filter_close running, bye!
> 

I just also now noticed that innd dies when it gets a post to a group.

Re: INN general setup question(s)
#63531
Author: Jeffrey M. Vinocur
Date: Wed, 22 Jan 2003 04:22
16 lines
1440 bytes
In article <iSoX9.49150$I55.1538639@news2.east.cox.net>,
linuXjedi  <linuXjedi@cox.net> wrote:
>
>I just also now noticed that innd dies when it gets a post to a group.

Reeeeeealy.

How curious.  Can you find a coredump?

(I'd start by disabling python hooks and seeing if that fixes
it.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN general setup question(s)
#63534
Author: linuXjedi
Date: Wed, 22 Jan 2003 04:34
21 lines
1836 bytes
Jeffrey M. Vinocur wrote:
> In article <iSoX9.49150$I55.1538639@news2.east.cox.net>,
> linuXjedi  <linuXjedi@cox.net> wrote:
> 
>>I just also now noticed that innd dies when it gets a post to a group.
> 
> 
> Reeeeeealy.
> 
> How curious.  Can you find a coredump?
> 
> (I'd start by disabling python hooks and seeing if that fixes
> it.)
> 

perl and python auth are both false in inn.conf I think.

nnrpperlauth:           false
nnrppythonauth:         false

Re: INN general setup question(s)
#63548
Author: greg andruk
Date: Wed, 22 Jan 2003 08:30
27 lines
2222 bytes
linuXjedi wrote:

> Jeffrey M. Vinocur wrote:
>> In article <iSoX9.49150$I55.1538639@news2.east.cox.net>,
>> linuXjedi  <linuXjedi@cox.net> wrote:

>>>I just also now noticed that innd dies when it gets a post to a group.

>> 
>> Reeeeeealy.

>> How curious.  Can you find a coredump?

>> (I'd start by disabling python hooks and seeing if that fixes
>> it.)


> perl and python auth are both false in inn.conf I think.

> nnrpperlauth:           false
> nnrppythonauth:         false

The "bye!"you saw in syslog sugests that something did a clean shutdown in 
innd (ctlinnd shutdown, or SIGHUP/SIGTERM/SIGINT).

How are you starting innd?  You may need to wrap the command in a nohup.
Re: INN general setup question(s)
#63553
Author: linuXjedi
Date: Wed, 22 Jan 2003 10:58
16 lines
1818 bytes
greg andruk wrote:

> The "bye!"you saw in syslog sugests that something did a clean shutdown in 
> innd (ctlinnd shutdown, or SIGHUP/SIGTERM/SIGINT).
> 
> How are you starting innd?  You may need to wrap the command in a nohup.

first as root I start nnrpd like this

/usr/local/news/bin/nnrpd -b 192.168.1.4 -D -p 119

then as user news I start innd like this

/usr/local/news/bin/rc.news

Re: INN general setup question(s)
#63555
Author: linuXjedi
Date: Wed, 22 Jan 2003 11:35
10 lines
1644 bytes
greg andruk wrote:

> The "bye!"you saw in syslog sugests that something did a clean shutdown in 
> innd (ctlinnd shutdown, or SIGHUP/SIGTERM/SIGINT).
> 
> How are you starting innd?  You may need to wrap the command in a nohup.

For now I've uninstalled python and that seems to have fixed it.

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