🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6464

Help! nnmaster not creating .nn[x|d] files

#6464
From: Adil S. Imam
Date: Wed, 28 Sep 1994 21:53
57 lines
3042 bytes
NN doesn't seem to be placing .nnd and .nnx files in the correct
(/usr/spool/news/newsgroup-name-path) directories.  This is what I
did:

1) Compiled and installed the software.
2) Initialized the database: ./inst -INIT
3) Tried to collect all the articles.  As root: nnmaster -D

This seemed to work.  nnmaster exited after it went through all the
newsgroups BUT there are no .nnx and .nnd files in any directories.
The permissions on the .../spool/news/* and /usr/local/lib/nn
direcories are correct (news owns them and has write permissions), the
config file has been carefully looked at and seems OK.  What I did
notice that the size of the .nnd and .nnx files in the DB directory
(/usr/spool/news/.nn) seemd to change while nnmaster was collecting
the articles!  After nnmaster exited, the .nnd and .nnx articles
contained information about the last newsgroup in the GROUPS file!
Methinks that nnmaster is writing and overwriting the .nn[x|d] files
to the DB directory as opposed to the individual DATA directories.

Running: nnmaster -l -r -C with nnadmin gave the following information:

BIN:  /usr/local/bin
LIB:  /usr/local/lib/nn
NEWS SPOOL: /usr/spool/news
NEWS LIB: /usr/local/news
DB:   /usr/spool/news/.nn
DATA: /usr/spool/news/{group/name/path}/.nn[dx]
ACTIVE: /usr/spool/news/.nn/ACTIVE
NNTP ACTIVE. server=igthost.bis.adp.com
Database format is machine dependent (byte order and alignment)
Database version: 2
Recording usage statistics
Mail delivery program: /usr/lib/sendmail -t
Query for appending .signature ENABLED
Max pathname length is 255 bytes

Also, among other things, the log file (nn.log) has the following
entries:

A: Sep 28 17:34 (M): RECV R phl.test   0 (root Sep 28 17:34)
A: Sep 28 17:34 (M): RECV R phl.wanted   0 (root Sep 28 17:34)
A: Sep 28 17:34 (M): RECV R phl.weather   0 (root Sep 28 17:34)
E: Sep 28 17:34 (M): adp.announce (0): cannot open 'x' file (mode=82, errno=13)
E: Sep 28 17:34 (M): Abnormal termination, exit=7

We are running Sun OS 4.1.3 (actually Solaris 1.1.1B) on a Sparc 10.

Thanks for any help.

-Adil
imam@paul.rutgers.edu
imama@bis.adp.com
-- 
Adil S. Imam				Dept. of Computer Science
+ 1 (609) 596-5966			Rutgers University
imam@paul.rutgers.edu			New Brunswick, NJ 08903
Technical Details
Message-ID: <36cokt$39d@yoko.rutgers.edu>
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!bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!convex!cs.utexas.edu!uunet!dziuxsolim.rutgers.edu!igor.rutgers.edu!yoko.rutgers.edu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <36cokt$39d@yoko.rutgers.edu>
Subject: Help! nnmaster not creating .nn[x|d] files
Date: Wed, 28 Sep 1994 21:53:33 +0000
From: imam@yoko.rutgers.edu (Adil S. Imam)
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!bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!convex!cs.utexas.edu!uunet!dziuxsolim.rutgers.edu!igor.rutgers.edu!yoko.rutgers.edu!not-for-mail
Newsgroups: news.software.nn
Organization: Rutgers University LCSR
Lines: 57
NNTP-Posting-Host: yoko.rutgers.edu
Keywords: nnmaster .nnd .nnx