🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by Florian Lindner Tue, 02 Mar 2004 23:32
Inn: Postings don't appear
#68391
Author: Florian Lindner
Date: Tue, 02 Mar 2004 23:32
32 lines
2021 bytes
Hello,
I'm using INN. I've created a newsgroup with "ctlinnd newgroup test".
The user have these access rights:

access "full" {
        newsgroups: "*"
}

The user can see the group and subscribe to it. He can also post articles,
but they never appear in the group: they get saved under ~/spool/incoming.
(using tradspool)
What's wrong?

Thanks,
Florian

This is some syslog output:

Mar  2 23:22:21 s_sys@bastet nnrpd[1031]: Reading access
from /etc/news/readers.conf
Mar  2 23:22:21 s_sys@bastet nnrpd[1031]: Auth strategy 'localhost' does not
match client.  Removing.
Mar  2 23:22:21 s_sys@bastet nnrpd[1031]: p50811542.dip.t-dialin.net
no_success_auth
Mar  2 23:22:21 s_sys@bastet nnrpd[1031]: p50811542.dip.t-dialin.net auth
starting authenticator /usr/news/authmysql.pl
Mar  2 23:22:22 s_sys@bastet nnrpd[1031]: p50811542.dip.t-dialin.net auth
authenticator successful, user testuser2
Mar  2 23:22:29 s_sys@bastet nnrpd[1031]: p50811542.dip.t-dialin.net post ok
<c231f5$107$1@bastet.centershock.net>

Re: Inn: Postings don't appear
#68393
Author: Russ Allbery
Date: Tue, 02 Mar 2004 23:41
14 lines
1716 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:

> The user can see the group and subscribe to it. He can also post
> articles, but they never appear in the group: they get saved under
> ~/spool/incoming.  (using tradspool) What's wrong?

nnrpd can't talk to innd.  Check your settings for nnrpdposthost, port,
etc. and make sure that incoming.conf allows connections from localhost.

-- 
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: Postings don't appear
#68399
Author: Florian Lindner
Date: Wed, 03 Mar 2004 12:40
83 lines
3688 bytes
Russ Allbery wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
> 
>> The user can see the group and subscribe to it. He can also post
>> articles, but they never appear in the group: they get saved under
>> ~/spool/incoming.  (using tradspool) What's wrong?
> 
> nnrpd can't talk to innd.  Check your settings for nnrpdposthost, port,
> etc. and make sure that incoming.conf allows connections from localhost.
> 

These are all settings from incoming.conf:

streaming:              true   # streaming allowed by default
max-connections:        8      # per feed

peer ME {
  hostname:         "localhost, 127.0.0.1"
}

from inn.conf:

#nnrpdposthost:
nnrpdpostport:          119

So nnrpdposthost is not set. Sometimes there is also another message:

Mar  3 13:34:19 s_sys@bastet innd: SERVER starting
Mar  3 13:34:19 s_sys@bastet controlchan[9446]: starting
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net server
rejects <c24jd7$92k$2@bastet.centershock.net> from not-for-mail
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net post
failed 437 Unwanted newsgroup "226^^^H"
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net time
112775 idle 112570(13) nntpwrite 1(25)


I've noticed a another strange behavior:

When I'm user news, I can start and stop inn with rc.news start/stop. It
works fine. But when I start and after that try to post a article to the
test group, now I try to stop the server:


news@bastet:~> rc.news start
Starting innd.
Scheduled start of /usr/news/bin/innwatch.
[post a article to the newsgroup]
news@bastet:~> rc.news stop
Stopping innd: ctlinnd: cannot send "shutdown" command (dead server
failure): No such process


syslog mentions nothing:

Mar  3 13:37:05 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net auth
starting authenticator /usr/news/authmysql.pl
Mar  3 13:37:06 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net auth
authenticator successful, user testuser2
Mar  3 13:37:09 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net post ok
<c24jhl$9b9$1@bastet.centershock.net>

But although rc.news says that the server is dead:

bastet:/etc/news # ps -u news
  PID TTY          TIME CMD
 9114 pts/2    00:00:00 sleep
 9244 pts/2    00:00:00 rc.news
 9317 pts/2    00:00:00 innwatch
 9329 pts/2    00:00:00 sleep
 9483 pts/2    00:00:00 sleep
 9566 pts/2    00:00:00 rc.news
 9577 ?        00:00:00 nnrpd
 9607 pts/2    00:00:00 innwatch
 9619 pts/2    00:00:00 sleep


Any ideas?

Thx,
Florian
Re: Inn: Postings don't appear
#68400
Author: Florian Lindner
Date: Wed, 03 Mar 2004 12:44
97 lines
4109 bytes
Russ Allbery wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
> 
>> The user can see the group and subscribe to it. He can also post
>> articles, but they never appear in the group: they get saved under
>> ~/spool/incoming.  (using tradspool) What's wrong?
> 
> nnrpd can't talk to innd.  Check your settings for nnrpdposthost, port,
> etc. and make sure that incoming.conf allows connections from localhost.
> 

These are all settings from incoming.conf:

streaming:              true   # streaming allowed by default
max-connections:        8      # per feed

peer ME {
  hostname:         "localhost, 127.0.0.1"
}

from inn.conf:

#nnrpdposthost:
nnrpdpostport:          119

So nnrpdposthost is not set. Sometimes there is also another message:

Mar  3 13:34:19 s_sys@bastet innd: SERVER starting
Mar  3 13:34:19 s_sys@bastet controlchan[9446]: starting
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net server
rejects <c24jd7$92k$2@bastet.centershock.net> from not-for-mail
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net post
failed 437 Unwanted newsgroup "226^^^H"
Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net time
112775 idle 112570(13) nntpwrite 1(25)


I've noticed a another strange behavior:

When I'm user news, I can start and stop inn with rc.news start/stop. It
works fine. But when I start and after that try to post a article to the
test group, now I try to stop the server:


news@bastet:~> rc.news start
Starting innd.
Scheduled start of /usr/news/bin/innwatch.
[post a article to the newsgroup]
news@bastet:~> rc.news stop
Stopping innd: ctlinnd: cannot send "shutdown" command (dead server
failure): No such process


syslog mentions nothing:

Mar  3 13:37:05 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net auth
starting authenticator /usr/news/authmysql.pl
Mar  3 13:37:06 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net auth
authenticator successful, user testuser2
Mar  3 13:37:09 s_sys@bastet nnrpd[9577]: pd9e480d7.dip.t-dialin.net post ok
<c24jhl$9b9$1@bastet.centershock.net>

But although rc.news says that the server is dead:

bastet:/etc/news # ps -u news
  PID TTY          TIME CMD
 9114 pts/2    00:00:00 sleep
 9244 pts/2    00:00:00 rc.news
 9317 pts/2    00:00:00 innwatch
 9329 pts/2    00:00:00 sleep
 9483 pts/2    00:00:00 sleep
 9566 pts/2    00:00:00 rc.news
 9577 ?        00:00:00 nnrpd
 9607 pts/2    00:00:00 innwatch
 9619 pts/2    00:00:00 sleep

And I also get these emails to my root account:

Subject: INND is NOT running
From: news@centershock.net (News system)
To: usenet@centershock.net
[no body]

And:

Subject: Boot-time Usenet warning on bastet
From: news@centershock.net (News system)
To: usenet@centershock.net
Body: No .news.daily file; need to run news.daily?


Any ideas?

Thx,
Florian
Re: Inn: Postings don't appear
#68401
Author: Russ Allbery
Date: Wed, 03 Mar 2004 18:25
25 lines
2393 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:

> So nnrpdposthost is not set. Sometimes there is also another message:

> Mar  3 13:34:19 s_sys@bastet innd: SERVER starting
> Mar  3 13:34:19 s_sys@bastet controlchan[9446]: starting
> Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net server
> rejects <c24jd7$92k$2@bastet.centershock.net> from not-for-mail
> Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net post
> failed 437 Unwanted newsgroup "226^^^H"

Well, that's definitely a problem.  I don't know off-hand what would be
causing that if you didn't enter that into the Newsgroups header, though.

> When I'm user news, I can start and stop inn with rc.news start/stop. It
> works fine. But when I start and after that try to post a article to the
> test group, now I try to stop the server:

So innd is also dying.  Is it leaving a core file behind?

-- 
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: Postings don't appear
#68406
Author: Florian Lindner
Date: Wed, 03 Mar 2004 19:23
25 lines
2260 bytes
Russ Allbery wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
> 
>> So nnrpdposthost is not set. Sometimes there is also another message:
> 
>> Mar  3 13:34:19 s_sys@bastet innd: SERVER starting
>> Mar  3 13:34:19 s_sys@bastet controlchan[9446]: starting
>> Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net
>> server rejects <c24jd7$92k$2@bastet.centershock.net> from not-for-mail
>> Mar  3 13:34:47 s_sys@bastet nnrpd[9300]: pd9e480d7.dip.t-dialin.net post
>> failed 437 Unwanted newsgroup "226^^^H"
> 
> Well, that's definitely a problem.  I don't know off-hand what would be
> causing that if you didn't enter that into the Newsgroups header, though.

No, the newsgroup name is "test", the agent is KNode.
> 
>> When I'm user news, I can start and stop inn with rc.news start/stop. It
>> works fine. But when I start and after that try to post a article to the
>> test group, now I try to stop the server:
> 
> So innd is also dying.  Is it leaving a core file behind?

Where can I find the file?
Re: Inn: Postings don't appear
#68407
Author: Russ Allbery
Date: Wed, 03 Mar 2004 20:35
15 lines
1738 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:
> Russ Allbery wrote:

>> So innd is also dying.  Is it leaving a core file behind?

> Where can I find the file?

Usually it gets dropped at the root of the article spool in
spool/articles.

-- 
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: Postings don't appear
#68408
Author: Florian Lindner
Date: Wed, 03 Mar 2004 20:58
18 lines
1573 bytes
Russ Allbery wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
>> Russ Allbery wrote:
> 
>>> So innd is also dying.  Is it leaving a core file behind?
> 
>> Where can I find the file?
> 
> Usually it gets dropped at the root of the article spool in
> spool/articles.
> 

No core:

bastet:/usr/news/spool/articles # ls
.  ..
Re: Inn: Postings don't appear
#68410
Author: Russ Allbery
Date: Wed, 03 Mar 2004 22:38
19 lines
1881 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:
> Russ Allbery wrote:

>> Usually it gets dropped at the root of the article spool in
>> spool/articles.

> No core:

> bastet:/usr/news/spool/articles # ls
> .  ..

I'm afraid I'm mystified.  This is not a set of problems that I've ever
seen before.

-- 
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: Postings don't appear
#68409
Author: Florian Lindner
Date: Wed, 03 Mar 2004 23:06
17 lines
1696 bytes
Russ Allbery wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
>> Russ Allbery wrote:
> 
>>> Usually it gets dropped at the root of the article spool in
>>> spool/articles.
> 
>> No core:
> 
>> bastet:/usr/news/spool/articles # ls
>> .  ..
> 
> I'm afraid I'm mystified.  This is not a set of problems that I've ever
> seen before.

No way how I can help you? Debug output?
Re: Inn: Postings don't appear
#68413
Author: Russ Allbery
Date: Wed, 03 Mar 2004 23:37
25 lines
2518 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:
> Russ Allbery wrote:

>> I'm afraid I'm mystified.  This is not a set of problems that I've ever
>> seen before.

> No way how I can help you? Debug output?

Well, one needs to figure out why you enter a particular newsgroups value
into nnrpd and then innd sees it as something else entirely.  It sounds
like there's some data corruption going on, but I've not heard of this
happening to anyone else.  Plus, innd is crashing, apparently.

I'd make sure that innd is started in such a fashion that it will generate
core dumps, maybe run it under strace while you do the operation that
kills it, or attach gdb to it while it's running.  You could also try
turning on post spooling in nnrpd so that you can check the post in the
incoming directory and see if it's mangled, and then see if rnews -U can
post it correctly to innd.

-- 
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: Postings don't appear
#68418
Author: Mike Marshall
Date: Thu, 04 Mar 2004 15:07
13 lines
1682 bytes
Russ Allbery <rra@stanford.edu> writes:
>I'm afraid I'm mystified.  This is not a set of problems that I've ever
>seen before.

I got stuck on what seems to me like this same problem
a week ago, and posted asking for clues. Then I found the solution
(to the problem I was having, anyhow) and posted the solution.

Check the recent two article thread whose subject is:

  articles stuck in spool/incoming...

-Mike
Re: Inn: Postings don't appear
#68420
Author: Florian Lindner
Date: Thu, 04 Mar 2004 16:40
16 lines
2120 bytes
Mike Marshall wrote:

> Russ Allbery <rra@stanford.edu> writes:
>>I'm afraid I'm mystified.  This is not a set of problems that I've ever
>>seen before.
> 
> I got stuck on what seems to me like this same problem
> a week ago, and posted asking for clues. Then I found the solution
> (to the problem I was having, anyhow) and posted the solution.
> 
> Check the recent two article thread whose subject is:
> 
>   articles stuck in spool/incoming...

I've changed nnrpdposthost from unset to localhost in inn.conf.
But it changed nothing...
Re: Inn: Postings don't appear
#68422
Author: Mike Marshall
Date: Thu, 04 Mar 2004 17:01
18 lines
1953 bytes
Florian Lindner <Florian.Lindner@xgm.de> writes:
>I've changed nnrpdposthost from unset to localhost in inn.conf.
>But it changed nothing...

I'm sure you've restarted innd since then... ctlinnd reload won't 
get inn.conf...

when you     telnet localhost 119         do you get inn?

what do you get when you      telnet fqdn 119     ? I'd assume nnrpd.

And the symptom is that whenever you post, stuff just falls into 
spool/incoming?

If you get inn when you        telnet fqdn 119        then it
might be worth setting nnrpdposthost to fqdn instead of localhost...

-Mike "sorry, not more help"
Re: Inn: Postings don't appear
#68428
Author: Florian Lindner
Date: Thu, 04 Mar 2004 20:46
35 lines
2482 bytes
Mike Marshall wrote:

> Florian Lindner <Florian.Lindner@xgm.de> writes:
>>I've changed nnrpdposthost from unset to localhost in inn.conf.
>>But it changed nothing...
> 
> I'm sure you've restarted innd since then... ctlinnd reload won't
> get inn.conf...
> 
> when you     telnet localhost 119         do you get inn?

news@bastet:/root> telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 bastet InterNetNews server INN 2.4.1 ready

> what do you get when you      telnet fqdn 119     ? I'd assume nnrpd.

news@bastet:/root> telnet bastet.centershock.net 119
Trying 217.160.219.55...
Connected to bastet.centershock.net.
Escape character is '^]'.
200 bastet InterNetNews NNRP server INN 2.4.1 ready (posting ok).

> And the symptom is that whenever you post, stuff just falls into
> spool/incoming?

Yes.

> If you get inn when you        telnet fqdn 119        then it
> might be worth setting nnrpdposthost to fqdn instead of localhost...
> 
> -Mike "sorry, not more help"
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