🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tim Irvin Sun, 13 Apr 1997 00:00
Questions/problems about setting up a slave server (INN 1.5.1)
#16943
Author: Tim Irvin
Date: Sun, 13 Apr 1997 00:00
107 lines
3693 bytes
I'm trying to setup a slave server to our master newsserver and I
running into a few problems, and I have some questions that I can't
find in the FAQ or the docs.

Here are the configurations:

MASTER
------

Sparc 20, SunOS 4.1.3_U1, INN 1.5.1, name: news-master.cisco.com

newsfeed file:
news-sj-3/news-sj-3.cisco.com:*:Ap:

nntpsend.ctl:
news-sj-3:news-sj-3.cisco.com::-S

SLAVE
-----

Ultra-2, Solaris 2.5.1, INN 1.5.1, name: news-sj-3.cisco.com

hosts.nntp:
news-master.cisco.com:

newsfeeds:
news-master:*:WnR:

rc.news:
FLAGS="-i0 -Snews-master.cisco.com"

active file copied from news-master (used actsyncd)


Problems
--------
1. No news is successfully received by the slave:

When innxmit starts on news-master, I see lines like this in
/var/log/news/news.err:
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<33506471.456119422@news.internetmci.com>
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<335080db.238758@news.s-direktnet.de>
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<335080fd.272428@news.s-direktnet.de>
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<335081b3.454669@news.s-direktnet.de>
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<5ips2u$rqv$1@newsd-3.alma.webtv.net>
Apr 13 00:22:23 news-sj-3 innd: SERVER bad_format
<33505263.21A0@ibm.net>

These spew out for a couple of minutes and then innd core dumps, here
is the traceback:
0 ladybug.irvin > gdb innd core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for
details.
GDB 4.9.1, Copyright 1993 Free Software Foundation, Inc...
Core was generated by `/usr/news/bin/innd -p4 -r -i0
-Snews-master.cisco.com'.
Program terminated with signal 11, Segmentation fault.
#0  DISTwanted (list=0x20bb84, p=0xdc788 "fj") at art.c:1352
1352            if (*q == '!') {
(gdb) where
#0  DISTwanted (list=0x20bb84, p=0xdc788 "fj") at art.c:1352
#1  0x1562c in DISTwantany (site=0x20bb68, article=0x2085f8) at
art.c:1375
#2  0x16ddc in ARTpost (cp=0x5a668, Replic=0xdb59c, ihave=0x0) at
art.c:1882
#3  0x24378 in NCpostit (cp=0x5a668) at nc.c:235
#4  0x2740c in NCproc (cp=0x5a668) at nc.c:1086
#5  0x27e20 in NCreader (cp=0x5a668) at nc.c:1311
#6  0x1f168 in CHANreadloop () at chan.c:873
#7  0x23558 in main (ac=0, av=0xeffffe84) at innd.c:952

INND runs just fine until the innxmit starts sending it news.

No articles are every accepted by the slave.

2. Messages posted through the slave are never sent back to news-master,
they just appear
to blackhole.

QUESTIONS:

1. First, have I failed to do something obvious in my setup?

2. If I want all articles that are currently on the news-master host to
also appear on
the slave, do I need to seed the slave with these using tar or
dump/restore?

3. Do I need to create all the directories in the articles spool for the
newsgroups
I imported in the active file?

Thanks in advance of any help!!

Tim Irvin
Engineering Computer Services
Cisco Systems, Inc.

Re: Questions/problems about setting up a slave server (INN 1.5.1)
#16938
Author: Mark Hittinger
Date: Sun, 13 Apr 1997 00:00
20 lines
1017 bytes
Tim Irvin <irvin@cisco.com> writes:
>I'm trying to setup a slave server to our master newsserver and I
>running into a few problems, and I have some questions that I can't
>find in the FAQ or the docs.
>...
>newsfeed file:
>news-sj-3/news-sj-3.cisco.com:*:Ap:

Try instead:

news-sj-3:*:Ap,Tf,WnR:

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Re: Questions/problems about setting up a slave server (INN 1.5.1)
#16958
Author: bill davidsen
Date: Mon, 14 Apr 1997 00:00
55 lines
2355 bytes
In article <33515EBF.7A56@cisco.com>, Tim Irvin  <irvin@cisco.com> wrote:
| I'm trying to setup a slave server to our master newsserver and I
| running into a few problems, and I have some questions that I can't
| find in the FAQ or the docs.
| 
| Here are the configurations:

	[ go read'em in the original post ]

| Problems
| --------
| 1. No news is successfully received by the slave:

Your newsfeed format is wrong, use "Tf,WnR,Ap" for the feed.

| 2. Messages posted through the slave are never sent back to news-master,
| they just appear
| to blackhole.

I don't see that you added the slave to nntp.hosts on the master.
Posts are never done on the slave, so the nntpsend and feed entries
are a waste of time (or may cause a loop in some ugly way). The post
is offered up via IHAVE by nnrpd.
| 
| QUESTIONS:
| 
| 1. First, have I failed to do something obvious in my setup?

At least the things mentioned above.

| 2. If I want all articles that are currently on the news-master host to
| also appear on
| the slave, do I need to seed the slave with these using tar or
| dump/restore?

I would feed them over using hist2slave by setting up the feed and
having it working, *then* grabbing as much of the history file as
you need and sending it. After the send run "expireover -s" to clean
the NOV.

If you are running a full feed the time to dump, restore, and
makehistory will just be too long.

| 3. Do I need to create all the directories in the articles spool for the
| newsgroups
| I imported in the active file?

No.
--
	-bill davidsen (davidsen@tmr.com)
"As a software development model, Anarchy does not scale well."
		-Dave Welch

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