🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Chip Calvert Tue, 06 Mar 2001 22:08
INN 2.2.1-1: GROUP and other commands not available
#51024
Author: Chip Calvert
Date: Tue, 06 Mar 2001 22:08
40 lines
1861 bytes
I got INN 2.2.1-1 up and running recently, and suddenly I'm having
problems with it.

The GROUP, ARTICLE and other client commands are not being accepted.
If I telnet to localhost on port 119 and type "help", I get the
following:

100 Legal commands
	authinfo
	help
	ihave
	check
	takethis
	list
	mode
	quit
	head
	stat
	xbatch
	xpath

It looks like support for clients has been shut off, but I have no
idea how.  I didn't see anything in inn.conf that looked suspicious,
but then again, I don't know what I'm doing, so I might have looked
right at it and not recognized it.

I'm starting inn using the following command:

	/etc/rc.d/init.d/innd start

If I query it for status, it says that it's running.

Can anyone point out what I've done wrong?

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51025
Author: Jeffrey M. Vinocur
Date: Tue, 06 Mar 2001 23:27
16 lines
1470 bytes
In article <udnaat00ellfasqikuhobrm1hitg2ee1on@4ax.com>,
Chip Calvert  <cbciv@yahoo.com> wrote:
>
>It looks like support for clients has been shut off, but I have no
>idea how.

Is the machine you're testing from listed in incoming.conf?

If so, what happens if you send the `mode reader` command?  Do
the commands you expect work?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN 2.2.1-1: GROUP and other commands not available
#51027
Author: Rasmus Bøg Hansen
Date: Wed, 07 Mar 2001 00:10
22 lines
1808 bytes
On Tue, 6 Mar 2001, Jeffrey M. Vinocur wrote:

> In article <udnaat00ellfasqikuhobrm1hitg2ee1on@4ax.com>,
> Chip Calvert  <cbciv@yahoo.com> wrote:
> >
> >It looks like support for clients has been shut off, but I have no
> >idea how.
>
> Is the machine you're testing from listed in incoming.conf?

localhost is (by standard), so by using localhost you're classed as a
feeder.

> If so, what happens if you send the `mode reader` command?  Do
> the commands you expect work?

Or telnet to the official name of the server and not the loopback
interface.

Rasmus

Re: INN 2.2.1-1: GROUP and other commands not available
#51028
Author: Chip Calvert
Date: Wed, 07 Mar 2001 02:06
41 lines
2476 bytes
On Tue, 6 Mar 2001 23:27:20 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote in <983roo$74b$1@marduk.litech.org>:

>In article <udnaat00ellfasqikuhobrm1hitg2ee1on@4ax.com>,
>Chip Calvert  <cbciv@yahoo.com> wrote:
>>
>>It looks like support for clients has been shut off, but I have no
>>idea how.
>
>Is the machine you're testing from listed in incoming.conf?

I'm testing from the local machine.  It is listed like this:

peer ME {
	hostname:	"localhost, 127.0.0.1"
}

>If so, what happens if you send the `mode reader` command?  Do
>the commands you expect work?

Yes.

I'm really trying to read news with tin, which reports "newsgroup does
not exist on this server" when I try to access one of the groups that
I know exists.  I verified its existence using the LIST command when
connected via telnet, so I tried to use the GROUP command to access
the group.  That's when I got the error that led me to discover the
behavior I mentioned.

It seems likely that tin isn't using the mode command because it
assumes the server will default to reader mode.

Everything was fine until now, so I'm not sure what the problem is.
I've run linuxconf recently, so that may have messed with something.

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51029
Author: Chip Calvert
Date: Wed, 07 Mar 2001 02:09
35 lines
2242 bytes
On Wed, 7 Mar 2001 01:10:39 +0100, Rasmus B�g Hansen
<moffespam@amagerkollegiet.dk> wrote in
<Pine.LNX.4.33.0103070109170.3547-100000@7812-grignard.amagerkollegiet.dk>:

>On Tue, 6 Mar 2001, Jeffrey M. Vinocur wrote:
>
>> In article <udnaat00ellfasqikuhobrm1hitg2ee1on@4ax.com>,
>> Chip Calvert  <cbciv@yahoo.com> wrote:
>> >
>> >It looks like support for clients has been shut off, but I have no
>> >idea how.
>>
>> Is the machine you're testing from listed in incoming.conf?
>
>localhost is (by standard), so by using localhost you're classed as a
>feeder.

Sorry, but by "feeder" do you mean that the server assumes that the
incoming connection is from a peer?

>> If so, what happens if you send the `mode reader` command?  Do
>> the commands you expect work?
>
>Or telnet to the official name of the server and not the loopback
>interface.

I got the same results that way.  The server seems to be in peering
mode.

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51034
Author: Russ Allbery
Date: Wed, 07 Mar 2001 03:09
51 lines
3404 bytes
Chip Calvert <cbciv@yahoo.com> writes:

> Yes.

> I'm really trying to read news with tin, which reports "newsgroup does
> not exist on this server" when I try to access one of the groups that I
> know exists.  I verified its existence using the LIST command when
> connected via telnet, so I tried to use the GROUP command to access the
> group.  That's when I got the error that led me to discover the behavior
> I mentioned.

I think something else is going on with tin, since I'm pretty sure that
tin sends MODE READER.  (If it doesn't, it should.)

> It seems likely that tin isn't using the mode command because it assumes
> the server will default to reader mode.

Per the latest NNTP draft:

    MODE READER SHOULD be sent by any client that intends to use any
    command other than IHAVE, HEAD, STAT, LIST, LIST EXTENSIONS, or
    commands advertised by the server as available via LIST EXTENSIONS.

    Servers MAY require that this command be issued before any other
    commands are sent and MAY reject any other commands until after a MODE
    READER command has been sent.

    The server MUST present a response using the same codes as the initial
    greeting (as described in section 7.1) to indicate its ability to
    provide reading service to the client.

    Clients SHOULD wait for a response to MODE READER after sending this
    command and SHOULD NOT send any additional commands until that
    response has been received from the server.

    Once MODE READER is sent, IHAVE (and any extensions intended for
    peer-to-peer article transfer) MAY no longer be permitted, even if it
    were permitted before the MODE READER command. The results of LIST
    EXTENSIONS MAY be different following a MODE READER command than prior
    to the issuing of that command.  Servers are encouraged to not require
    this command even though clients SHOULD send it when appropriate. It
    is present to support some news architectures that switch between
    modes based on whether a given connection is a peer-to-peer connection
    with another server or a news reading client.

-- 
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 2.2.1-1: GROUP and other commands not available
#51035
Author: Chip Calvert
Date: Wed, 07 Mar 2001 04:21
25 lines
2114 bytes
On 06 Mar 2001 19:09:55 -0800, Russ Allbery <rra@stanford.edu> wrote
in <ylu2568ebg.fsf@windlord.stanford.edu>:

>Chip Calvert <cbciv@yahoo.com> writes:
>
>> Yes.
>
>> I'm really trying to read news with tin, which reports "newsgroup does
>> not exist on this server" when I try to access one of the groups that I
>> know exists.  I verified its existence using the LIST command when
>> connected via telnet, so I tried to use the GROUP command to access the
>> group.  That's when I got the error that led me to discover the behavior
>> I mentioned.
>
>I think something else is going on with tin, since I'm pretty sure that
>tin sends MODE READER.  (If it doesn't, it should.)

Hm.  Is there a way to cause tin or inn to log the NNTP session?

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51036
Author: Russ Allbery
Date: Wed, 07 Mar 2001 04:46
18 lines
2006 bytes
Chip Calvert <cbciv@yahoo.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> I think something else is going on with tin, since I'm pretty sure that
>> tin sends MODE READER.  (If it doesn't, it should.)

> Hm.  Is there a way to cause tin or inn to log the NNTP session?

If you do "ctlinnd trace nnrpd yes", all subsequent reader connections
will log everything they do via syslog at the news.debug level (you may
also have to reconfigure /etc/syslog.conf to send news.debug somewhere).

-- 
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 2.2.1-1: GROUP and other commands not available
#51037
Author: Russ Allbery
Date: Wed, 07 Mar 2001 04:55
15 lines
1790 bytes
Russ Allbery <rra@stanford.edu> writes:

> If you do "ctlinnd trace nnrpd yes", all subsequent reader connections
> will log everything they do via syslog at the news.debug level (you may
> also have to reconfigure /etc/syslog.conf to send news.debug somewhere).

And it occurs to me that you may need to do ctlinnd trace innd yes as well
to get the MODE READER.  (Don't do this on a busy server.)

-- 
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 2.2.1-1: GROUP and other commands not available
#51079
Author: Chip Calvert
Date: Thu, 08 Mar 2001 18:25
35 lines
2512 bytes
On 06 Mar 2001 20:55:54 -0800, Russ Allbery <rra@stanford.edu> wrote
in <yly9ui9nz9.fsf@windlord.stanford.edu>:

>Russ Allbery <rra@stanford.edu> writes:
>
>> If you do "ctlinnd trace nnrpd yes", all subsequent reader connections
>> will log everything they do via syslog at the news.debug level (you may
>> also have to reconfigure /etc/syslog.conf to send news.debug somewhere).
>
>And it occurs to me that you may need to do ctlinnd trace innd yes as well
>to get the MODE READER.  (Don't do this on a busy server.)

Thanks for the responses Russ.  I did both of these.  The response to
each was "Ok" and /var/log/news/news.notice indicates that the
commands were successfully processed.  However, when I ran my test
with tin, nothing was appended to any of the logs in /var/log/news.
I'm guessing that something's missing from /etc/syslog.conf, but I
haven't clue one as to what.  Here's the relevant section of that
file:

#
# INN
#
news.=crit             /var/log/news/news.crit
news.=err              /var/log/news/news.err
news.notice            /var/log/news/news.notice

Am I missing anything?

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51081
Author: Terrance Richard Boyes
Date: Thu, 08 Mar 2001 19:26
31 lines
2848 bytes
Chip Calvert <cbciv@yahoo.com> wrote:

> I'm really trying to read news with tin, which reports "newsgroup does
> not exist on this server" when I try to access one of the groups that
> I know exists.  I verified its existence using the LIST command when

Are you sure that tin is actually connecting to the right
server ? Should appear in the inn log files, and you can
also use netstat to check where it's connected to...

> connected via telnet, so I tried to use the GROUP command to access
> the group.  That's when I got the error that led me to discover the
> behavior I mentioned.

man tin, -D, sets debug level, 1 = NNTP.

> It seems likely that tin isn't using the mode command because it
> assumes the server will default to reader mode.

A quick peek at the code, as long as tin has been compiled
such that it supports an NNTP connect it will always try
MODE READER.

> Everything was fine until now, so I'm not sure what the problem is.
> I've run linuxconf recently, so that may have messed with something.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Drink wet cement: Get Stoned.

Re: INN 2.2.1-1: GROUP and other commands not available
#51085
Author: Russ Allbery
Date: Thu, 08 Mar 2001 20:21
30 lines
2235 bytes
Chip Calvert <cbciv@yahoo.com> writes:

> Thanks for the responses Russ.  I did both of these.  The response to
> each was "Ok" and /var/log/news/news.notice indicates that the commands
> were successfully processed.  However, when I ran my test with tin,
> nothing was appended to any of the logs in /var/log/news.  I'm guessing
> that something's missing from /etc/syslog.conf, but I haven't clue one
> as to what.  Here's the relevant section of that file:

> #
> # INN
> #
> news.=crit             /var/log/news/news.crit
> news.=err              /var/log/news/news.err
> news.notice            /var/log/news/news.notice

> Am I missing anything?

Add a line like:

    news.=debug         /var/log/news/news.debug

and then check that log.

-- 
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 2.2.1-1: GROUP and other commands not available
#51194
Author: Chip Calvert
Date: Wed, 14 Mar 2001 16:37
41 lines
2733 bytes
On Thu, 08 Mar 2001 19:26:59 +0000 (GMT), tez@pierrot.co.uk (Terrance
Richard Boyes) wrote in <20010308.192659.9E9801DE.+xaa@pierrot.co.uk>:

>Chip Calvert <cbciv@yahoo.com> wrote:
>
>> I'm really trying to read news with tin, which reports "newsgroup does
>> not exist on this server" when I try to access one of the groups that
>> I know exists.  I verified its existence using the LIST command when
>
>Are you sure that tin is actually connecting to the right
>server ? Should appear in the inn log files, and you can
>also use netstat to check where it's connected to...

The only entry in /etc/nntpserver is "localhost" and I don't have a
connection to any other network (except via PPP, and pppd isn't
connected while I'm doing these tests).

>> connected via telnet, so I tried to use the GROUP command to access
>> the group.  That's when I got the error that led me to discover the
>> behavior I mentioned.
>
>man tin, -D, sets debug level, 1 = NNTP.

Unfortunately, my copy wasn't compiled with debugging.  Ack.  I'll
have to see if the source was installed when I installed the binaries.

>> It seems likely that tin isn't using the mode command because it
>> assumes the server will default to reader mode.
>
>A quick peek at the code, as long as tin has been compiled
>such that it supports an NNTP connect it will always try
>MODE READER.

Ah, very good.  Thanks.

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51197
Author: Chip Calvert
Date: Wed, 14 Mar 2001 16:42
40 lines
2681 bytes
On 08 Mar 2001 12:21:29 -0800, Russ Allbery <rra@stanford.edu> wrote
in <ylelw82era.fsf@windlord.stanford.edu>:

>Chip Calvert <cbciv@yahoo.com> writes:
>
>> Thanks for the responses Russ.  I did both of these.  The response to
>> each was "Ok" and /var/log/news/news.notice indicates that the commands
>> were successfully processed.  However, when I ran my test with tin,
>> nothing was appended to any of the logs in /var/log/news.  I'm guessing
>> that something's missing from /etc/syslog.conf, but I haven't clue one
>> as to what.  Here's the relevant section of that file:
>
>> #
>> # INN
>> #
>> news.=crit             /var/log/news/news.crit
>> news.=err              /var/log/news/news.err
>> news.notice            /var/log/news/news.notice
>
>> Am I missing anything?
>
>Add a line like:
>
>    news.=debug         /var/log/news/news.debug
>
>and then check that log.

Nothing that I can see is written to the log when I attempt to read
the group via tin.  However, if I post from tin or connect via telnet
to read messages, then appropriate data is written to news.debug.

I'm beginning to wonder if this isn't a tin problem and not an inn
problem.  What do you think?

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
Re: INN 2.2.1-1: GROUP and other commands not available
#51217
Author: Russ Allbery
Date: Wed, 14 Mar 2001 23:16
19 lines
2086 bytes
Chip Calvert <cbciv@yahoo.com> writes:

> Nothing that I can see is written to the log when I attempt to read the
> group via tin.  However, if I post from tin or connect via telnet to
> read messages, then appropriate data is written to news.debug.

> I'm beginning to wonder if this isn't a tin problem and not an inn
> problem.  What do you think?

It really sounds a lot like tin isn't sending MODE READER, which is very
strange given that I thought tin always did that.  But I don't have any
other good explanations.

-- 
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 2.2.1-1: GROUP and other commands not available
#51249
Author: Terrance Richard Boyes
Date: Thu, 15 Mar 2001 18:49
43 lines
3540 bytes
Chip Calvert <cbciv@yahoo.com> wrote:
> On Thu, 08 Mar 2001 19:26:59 +0000 (GMT), tez@pierrot.co.uk (Terrance
> Richard Boyes) wrote in <20010308.192659.9E9801DE.+xaa@pierrot.co.uk>:

>>Chip Calvert <cbciv@yahoo.com> wrote:
>>
>>> I'm really trying to read news with tin, which reports "newsgroup does
>>> not exist on this server" when I try to access one of the groups that
>>> I know exists.  I verified its existence using the LIST command when
>>
>>Are you sure that tin is actually connecting to the right
>>server ? Should appear in the inn log files, and you can
>>also use netstat to check where it's connected to...

> The only entry in /etc/nntpserver is "localhost" and I don't have a
> connection to any other network (except via PPP, and pppd isn't
> connected while I'm doing these tests).

Oops, missed that bit (though it wasn't a hugely likely source
of the problem).

>>> connected via telnet, so I tried to use the GROUP command to access
>>> the group.  That's when I got the error that led me to discover the
>>> behavior I mentioned.
>>
>>man tin, -D, sets debug level, 1 = NNTP.

> Unfortunately, my copy wasn't compiled with debugging.  Ack.  I'll
> have to see if the source was installed when I installed the binaries.

What version of tin is it ? Oh, and the sources are at ftp.tin.org.

Another possible way to debug (other than using tcpdump of course)
is there's a little app. you can run against any port which allows
you to be an interactive server, ie you type the responses. Though
I've completely forgotten what it's called (I used to use a similar
util. on my Amiga to debug any clients or servers I was hacking).

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
My foolish parents taught me to read and write.

Re: INN 2.2.1-1: GROUP and other commands not available
#51306
Author: Chip Calvert
Date: Sun, 18 Mar 2001 21:42
29 lines
2548 bytes
On 14 Mar 2001 15:16:46 -0800, Russ Allbery <rra@stanford.edu> wrote
in <ylbsr46iw1.fsf@windlord.stanford.edu>:

>Chip Calvert <cbciv@yahoo.com> writes:
>
>> Nothing that I can see is written to the log when I attempt to read the
>> group via tin.  However, if I post from tin or connect via telnet to
>> read messages, then appropriate data is written to news.debug.
>
>> I'm beginning to wonder if this isn't a tin problem and not an inn
>> problem.  What do you think?
>
>It really sounds a lot like tin isn't sending MODE READER, which is very
>strange given that I thought tin always did that.  But I don't have any
>other good explanations.

If that were the case, I would expect an error to be reported in
news.err or news.debug.

Terrance Richard Boyes suggested that I use the tin -D option.  I'll
have to recompile the source, as my binaries weren't compiled with
that option.  It may take me a bit to get around to it.

-- 
Chip Calvert                |  Software Design/Development
Celtic Wolf, Inc.           |  Project Management
http://www.celticwolf.com/  |  Technical Writing
(703) 580-0210              |  Research
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