🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Elena Samsonova Mon, 10 Aug 1998 00:00
INN 2.1 in a distributed architecture
#30393
Author: Elena Samsonova
Date: Mon, 10 Aug 1998 00:00
22 lines
1470 bytes
Hello everyone,

I have a distributed news architecture with one feeder and several
readers, and I'm trying to set up INN 2.1 in this environment.  The
spool and db files are NFS mounted to all the front-end machines (IRIX
6.4).  The feeder has all the partitions mounted read/write so that it
places articles into the spool and updates history and active files. 
The readers have all that mounted read only since they must not update
any of that.  

INN 2.1 has no problem with history.* files mounted read only, see that
code in lib/dbz.c.  However, it refuses to start up with history and/or
active files mounted read only, see innd/his.c and innd/innd.c.  This
seems quite inconsistent.  Before I start modifying the code, does
anyone else have a similar configuration?  I know someone does. :)  How
do you solve this problem?


Thanks
Elena

Re: INN 2.1 in a distributed architecture
#30375
Author: Mike Fagan
Date: Mon, 10 Aug 1998 00:00
32 lines
2386 bytes
Elena Samsonova wrote:

> I have a distributed news architecture with one feeder and several
> readers, and I'm trying to set up INN 2.1 in this environment.  The
> spool and db files are NFS mounted to all the front-end machines (IRIX
> 6.4).  The feeder has all the partitions mounted read/write so that it
> places articles into the spool and updates history and active files.
> The readers have all that mounted read only since they must not update
> any of that.
>
> INN 2.1 has no problem with history.* files mounted read only, see that
> code in lib/dbz.c.  However, it refuses to start up with history and/or
> active files mounted read only, see innd/his.c and innd/innd.c.  This
> seems quite inconsistent.  Before I start modifying the code, does
> anyone else have a similar configuration?  I know someone does. :)  How
> do you solve this problem?

We had this sort of setup under Inn 1.7, but when 2.0 came out, the speed
(or lack thereof) of the unified overview made running over NFS practically
impossible.  I haven't tried since 2.1 though.

In both 1.7 and 2.* you should be able to just run nnrpd and not innd on
the reader machines, since you should have no other news servers contacting
you, just readers.  Under 1.7 you can launch nnrpd from init.d with a -S to
set the master server, under 2.0 this is specified in inn.conf, so you want
to launch nnrpd with the (I believe) -D option to make it run as its own
daemon.

Mike Fagan


Re: INN 2.1 in a distributed architecture
#30385
Author: bill davidsen
Date: Mon, 10 Aug 1998 00:00
34 lines
2332 bytes
In article <35CECA47.26645AEF@wxs.nl>,
Elena Samsonova  <E.Samsonova@wxs.nl> wrote:

| I have a distributed news architecture with one feeder and several
| readers, and I'm trying to set up INN 2.1 in this environment.  The
| spool and db files are NFS mounted to all the front-end machines (IRIX
| 6.4).  The feeder has all the partitions mounted read/write so that it
| places articles into the spool and updates history and active files. 
| The readers have all that mounted read only since they must not update
| any of that.  
| 
| INN 2.1 has no problem with history.* files mounted read only, see that
| code in lib/dbz.c.  However, it refuses to start up with history and/or
| active files mounted read only, see innd/his.c and innd/innd.c.  This
| seems quite inconsistent.  Before I start modifying the code, does
| anyone else have a similar configuration?  I know someone does. :)  How
| do you solve this problem?

There is no problem. You don't need/want innd running, so the fact that
it won't run is irrelevant. In 1.7.2 I let inetd start the readers nnrpd
processes, in 2.1 I use the -D option. Note that under AIX there is a
bug with -D without actived, which I cleverly avoid by just running
actived. Looks as if the daemon process keeps accessing active on every
fork(), but I haven't had time to sort it out, since it works with
actived.

-- 
bill davidsen <davidsen@tmr.com>
 "If I were a diplomat, in the best case I'd go hungry.  In the worst
  case, people would die."
		-- Robert Lipe


Re: INN 2.1 in a distributed architecture
#30454
Author: Elena Samsonova
Date: Wed, 12 Aug 1998 00:00
35 lines
2045 bytes
Mike Fagan wrote:
> We had this sort of setup under Inn 1.7, but when 2.0 came out, the speed
> (or lack thereof) of the unified overview made running over NFS practically
> impossible.  I haven't tried since 2.1 though.

I tried it.  It's fine!  What NFS box are you using?  I think the clue
is in the right NFS box.

> In both 1.7 and 2.* you should be able to just run nnrpd and not innd on
> the reader machines, since you should have no other news servers contacting
> you, just readers.  Under 1.7 you can launch nnrpd from init.d with a -S to
> set the master server, under 2.0 this is specified in inn.conf, so you want
> to launch nnrpd with the (I believe) -D option to make it run as its own
> daemon.

Yes, this worked, thanks!  There is only one problem: daily reports. 
news.daily tries to send commands to innd, and I have no innd running! 
Here's what I get:

No innd.pid file; did server die?
Can't send "logmode" command (sendto failure) No such file or directory.
No innd.pid file; did server die?
Can't send "pause" command (sendto failure) No such file or directory.
No innd.pid file; did server die?
Can't send "flushlogs" command (sendto failure) No such file or
directory.
Cannot flush logs.

So how do I do daily reports in this situation?


Regards
Elena

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