🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2167

Re: Installation under RISCos 4.51

#2167
From: Paul Bickerstaff
Date: Thu, 17 Oct 1991 00:06
132 lines
5383 bytes
WARNING:  long (sorry)

Thanks to all who responded to my earlier plea. However, nobody
has come close to suggesting the cause of the problem so let me
try again.

I have now found and applied all patches <=16 (including a new
s-umipsb file) but the problem remains. Since others have said
that they have nn running under RISCos 4.5 I assume the problem
to be on the NNTP side (or else I have done something really
stupid with the configuration).

The build of both mini-inews and nn appears to proceed
without problem. The only thing that might cause concern are
3 warnings in the compilation of init.c (about lines 604, 639 
and 932 not reached).  This sort of thing usually doesn't
matter and my cursory perusal of the code didn't cause
alarm. (Is there a problem?)

The problems appear to start with ./inst INIT
We find
# ./inst INIT

Removing old data files
Created directory /usr/spool/nn/DATA
Created directory /usr/spool/nn/DATA/0

and then

Initial article limit (50) 40
Running nnmaster -I 40 to initialize database....


Now start /usr/local/lib/nn/nnmaster [ -D ] [ -r ]

But the file /usr/spool/nn/GROUPS  is *not* created
nor is GROUPS created anywhere else on the system.
The INSTALLATION guide suggests that this is
incorrect behaviour.  After this, nothing else does
anything; trying to run nnmaster results in it 
immediately dying (without messages of any kind)
and nn can not be run by a user because /usr/spool/nn/MASTER
doesn't exist either (seems consistent at least!). 

I've tried building a test GROUPS file by hand but
this didn't help.

It appears that the communication with the NNTP server
is not taking place but there are no messages warning
of anything amiss.

Our setup is the following.  On this subnet (.phys.uidaho.edu)
there is just one machine on which I'm trying to install
nn:

# uname
tamaluit

and our NNTP server resides on a different subnet.  I run
dns on tamaluit and my nntpserver file reads

# cat /usr/local/lib/nn/nntp_server
groucho.mrc.uidaho.edu

# ls -l /usr/local/lib/nn/nntp_server
-rw-r--r--   1 root     other         23 Oct 16 13:55 /usr/local/lib/nn/nntp_se
rver

We currently use NNTP successfully to read news from
there under xrn.  The server does not run nn. I want(ed)
nn for those users who don't have X-windows displays.

Incidentally, the NNTP server is an HP running HP/UX.

Here are relevant lines from my config.h file:
/* #define NETWORK_DATABASE     /* */
#define NNTP                    /* */
#define NNTP_SERVER     "/usr/local/lib/nn/nntp_server"
#define NNTP_POST             /* */
#define NNTP_MINI_INEWS_HEADER  /* uses "broken" mini-inews */
#include "s-umipsb4-5.h"
#define DEFAULT_PAGER           "/usr/new/less"
#define DEFAULT_PRINTER "lpr -p -JNEWS" /* bsd */
#define RESIZING                /* */
#include "m-mips.h"
#define OWNER   "news"
#define GROUP   "news"
#define BIN_DIRECTORY   "/usr/local/bin"
#define LIB_DIRECTORY   "/usr/local/lib/nn"
#define DB_DIRECTORY    "/usr/spool/nn"
#define NEWS_DIRECTORY          "/usr/spool/news"       /* */
#define NEWS_LIB_DIRECTORY      "/usr/local/lib/news"           /* */
#define REC_MAIL        "/usr/lib/sendmail -t"  /* sendmail */
#define HAVE_ROUTING                    /* */
#define APPEND_SIGNATURE                /* */
#define BUG_REPORT_ADDRESS      "nn-bugs@dkuug.dk"
#define USER_MAN_DIR    "/usr/local/man/man1"
#define USER_MAN_SECTION        "1"

#define SYS_MAN_DIR     "/usr/local/man/man1"
#define SYS_MAN_SECTION         "1m"

#define DAEMON_MAN_DIR  "/usr/local/man/man8"
#define DAEMON_MAN_SECTION      "8"
#define FOLDER_DIRECTORY        "~/News"
#define NAME_LENGTH             16
#include "global.h"

Everything else is the default.  /usr/spool/news doesn't
exist. I assume it will get created if need. ??

The inews/conf.h file includes

#define DOMAIN  "phys.uidaho.edu"

and that's about it. Some straightforward compiler
options in the makefiles --- most over-ridden anyway
by the machine configuration file --- , follow the
instructions as I understand them....

If anybody can spot the stupid mistake above then
please e-mail, or if you can suggest something else
to check I'd also appreciate it.  Any debugging
procedures I should try? (Remember I have not
used nn before.)

Many thanks.


Paul Bickerstaff                 Internet: pbickers@tamaluit.phys.uidaho.edu
Physics Dept., Univ. of Idaho    Phone:    (208) 885 6809
Moscow ID 83843, USA             FAX:      (208) 885 6173
Technical Details
Message-ID: <1991Oct17.000648.6719@groucho>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!fauern!Sirius.dfn.de!darwin.sura.net!gatech!asuvax!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!uidaho!tamaluit!pbickers
References: <1991Oct14.210247.25826@groucho>

Show Full Headers
Complete Article Headers
Message-ID: <1991Oct17.000648.6719@groucho>
Subject: Re: Installation under RISCos 4.51
Date: Thu, 17 Oct 1991 00:06:48 +0000
From: pbickers@tamaluit.phys.uidaho.edu (Paul Bickerstaff)
References: <1991Oct14.210247.25826@groucho>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!fauern!Sirius.dfn.de!darwin.sura.net!gatech!asuvax!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!uidaho!tamaluit!pbickers
Newsgroups: news.software.nn
Sender: @groucho
Reply-To: pbickers@tamaluit.phys.uidaho.edu (Paul Bickerstaff)
Organization: phys dept
Lines: 132
Nntp-Posting-Host: tamaluit.phys.uidaho.edu