🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Robert Christ Wed, 21 Apr 1993 22:18
FAQ(?) nn setup with nfs
#4082
Author: Robert Christ
Date: Wed, 21 Apr 1993 22:18
20 lines
1343 bytes
This is probably a FAQ but I didn't see it in the FAQ so here goes:

I tried setting up nn to use an NFS mounted database.  Now when I try
to run nn I get "Database magic number mismatch".    Here is the (probably
naive) method I used to set up nn.

1) Run through the makefile and config files with what I believe are
   the right values for an RS6000 with AIX 3.2. 

2) run "make client" which ran cleanly.

3) mount the db (/usr/spool/nn) from another network host.

4) run "nn" and get the afore mentioned error.

The host I mounted /usr/spool/nn from and the local host both have
nntp_server set to the same host.

Anyone know where I goofed?
  thanks, rob
Re: FAQ(?) nn setup with nfs
#4089
Author: Michael T Pins
Date: Fri, 23 Apr 1993 02:48
34 lines
2180 bytes
delbaeth@cqs.washington.edu (Robert Christ) writes:

>This is probably a FAQ but I didn't see it in the FAQ so here goes:

>I tried setting up nn to use an NFS mounted database.  Now when I try
>to run nn I get "Database magic number mismatch".    Here is the (probably
>naive) method I used to set up nn.

>1) Run through the makefile and config files with what I believe are
>   the right values for an RS6000 with AIX 3.2. 

>2) run "make client" which ran cleanly.

>3) mount the db (/usr/spool/nn) from another network host.

>4) run "nn" and get the afore mentioned error.

>The host I mounted /usr/spool/nn from and the local host both have
>nntp_server set to the same host.

>Anyone know where I goofed?

Yep, you assumed the code works....  :-)

I ran into this same problem last week when porting nn to an alpha NFS
mounted to an HP/Apollo.  The calls in NETWORK_DATABASE are wrong.
Hopefully this weekend I'll have time to decode the format of the MASTER 
file and rewrite the NETWORK_DATABASE sections of the code.

-- 
*****************************************************************************
* Michael Pins                     |    Internet: amigapd@isca.uiowa.edu    *
* ISCA's Amiga & Unix Librarian    |        #include <std.disclaimer>       *
*****************************************************************************
Re: FAQ(?) nn setup with nfs
#4098
Author: Dave Wolfe
Date: Fri, 23 Apr 1993 17:13
24 lines
1836 bytes
In <1993Apr23.024820.14331@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>delbaeth@cqs.washington.edu (Robert Christ) writes:

>>I tried setting up nn to use an NFS mounted database.  Now when I try
>>to run nn I get "Database magic number mismatch".    Here is the (probably
>>naive) method I used to set up nn.

>Yep, you assumed the code works....  :-)

>I ran into this same problem last week when porting nn to an alpha NFS
>mounted to an HP/Apollo.  The calls in NETWORK_DATABASE are wrong.
>Hopefully this weekend I'll have time to decode the format of the MASTER 
>file and rewrite the NETWORK_DATABASE sections of the code.

Strange, but setting NETWORK_DATABASE has worked fine for me ever since
nn 6.4 was released.  Perhaps you don't have it defined for BOTH your
nnmaster and nn reader installations.  If you change the nnmaster
NETWORK_DATABASE definition (and rebuild/reinstall), you also have to
reinitialize the nn database.

-- 
 Dave Wolfe   | 6501 William Cannon Dr. W. | (512) 891-3246
 Motorola SPS | Austin, TX  78735-8598     | dwolfe@pets.sps.mot.com
Re: FAQ(?) nn setup with nfs
#4101
Author: Michael T Pins
Date: Fri, 23 Apr 1993 23:10
38 lines
2771 bytes
dwolfe@risc.sps.mot.com (Dave Wolfe) writes:

>In <1993Apr23.024820.14331@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes:

>>delbaeth@cqs.washington.edu (Robert Christ) writes:

>>>I tried setting up nn to use an NFS mounted database.  Now when I try
>>>to run nn I get "Database magic number mismatch".    Here is the (probably
>>>naive) method I used to set up nn.

>>Yep, you assumed the code works....  :-)

>>I ran into this same problem last week when porting nn to an alpha NFS
>>mounted to an HP/Apollo.  The calls in NETWORK_DATABASE are wrong.
>>Hopefully this weekend I'll have time to decode the format of the MASTER 
>>file and rewrite the NETWORK_DATABASE sections of the code.

>Strange, but setting NETWORK_DATABASE has worked fine for me ever since
>nn 6.4 was released.  Perhaps you don't have it defined for BOTH your
>nnmaster and nn reader installations.  If you change the nnmaster
>NETWORK_DATABASE definition (and rebuild/reinstall), you also have to
>reinitialize the nn database.

If you are saying that defining NETWORK_DATABASE changes the format
of the MASTER file, then this wasn't thought out very well.
I'm running nn on a Domain/OS network with @200 nodes, and due to 
Domain networking, it's all transparent.  Now if I want to add an
NFS-linked alpha I need to rebuild the database and slow down everyone
else????  This is absurd (but nonetheless, likely accurate).
A much better way is to have the NETWORK_DATABASE code correctly
grok the standard MASTER, which is what I'll hopefully have working
by Monday.

-- 
*****************************************************************************
* Michael Pins                     |    Internet: amigapd@isca.uiowa.edu    *
* ISCA's Amiga & Unix Librarian    |        #include <std.disclaimer>       *
*****************************************************************************
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