Article View: news.software.nn
Article #6943Re: Configuring nn in a distributed environment
From: Peer Torngren
Date: Thu, 29 Dec 1994 10:20
Date: Thu, 29 Dec 1994 10:20
53 lines
3475 bytes
3475 bytes
Alan McConnell (alan@clark.net) wrote: : Hi! I have a Linux box at work at Goddard Space Flight Center, an : amply-networked facility. In particular, there is an on-site news- : server, which, since I set my NNTP variable correctly, I can access : fine with rn & trn.(This proves to me that I have no hw or network : problem) However, when I run nn, I get the line: : Cannot open file /var/spool/MASTER, mode=0x80, errno=2 : I infer that I must, as "root" of my Linux box, create a MASTER file in : /var/spool, and then perhaps do some other configuration before nn can : go out and access the news-server. I do not know how to do this; I don't : believe the instructions are given in this newsgroups FAQ, which I have : just read. So I would be very much obliged if someone would tell me : what a sysop must do in order to configure nn in this situation -- I : don't want to be condemned to trn! : My apologies if this is not the proper place to post. TIA for help. : Best wishes, Alan McConnell : -- : Alan McConnell For some strange reason, the United States, although : Pixel Analysis inhabited by mostly rich people, is a very poor country. : (alan@clark.net) ===> Unless it can be abused, it's not freedom. <=== Well, according to my notes and memory, this is basically what I did to get nn to work with a remote NNTP server: 1/ Created user 'news' and group 'news' 2/ Configured and compiled nn with NNTP support and server name in the file /etc/nntpserver 3/ Installed according to instructions (including database init) 4/ Modified login script (/etc/profile) to set $NNTPSERVER (I believe this necessary only for posting) 5/ Modified /etc/rc.local (I'm on SunOS) to start nnmaster -l -r -C 6/ Modified the lib/nn/setup file to 'set news-header Organization: WM-data' (and mail-header) since that of the NNTP server will be used otherwise. In addition, I have cron running nnspew every other hour to maintain a subject database. My humble guess is that you might have a problem with user/group id's (does user news exist, do all the news programs run as user news, does user news own or have correct permissions to all directories?). Else, something might have gone wrong in the init phase of the installation? You might try to run nnadmin and ask the master to initialize the database. Also, a look at the nnmaster log files (use nnadmin?) might reveal something interesting? -- Peer Toerngren, WM-data Konsult AB, S Kyrkogatan 4, S-652 24 Karlstad (Sweden) Tel: +46-(0)54/18 04 25 Fax: +46-(0)54/15 67 85 Email: peer.torngren@kar1.wmdata.se "Proper disclaimer applies wherever applicable."
Technical Details
Message-ID:
<D1KI30.Ly6@artemis.sto.fdata.se>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!nntp.gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!pipex!sunic!seunet!news2.swip.net!artemis.sto.fdata.se!charles!petoReferences:
<3cq8tl$2oo@explorer.clark.net>Show Full Headers
Complete Article Headers
Message-ID: <D1KI30.Ly6@artemis.sto.fdata.se> Subject: Re: Configuring nn in a distributed environment Date: Thu, 29 Dec 1994 10:20:59 GMT From: peto@charles (Peer Torngren) References: <3cq8tl$2oo@explorer.clark.net> 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!nntp.gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!pipex!sunic!seunet!news2.swip.net!artemis.sto.fdata.se!charles!peto Newsgroups: news.software.nn Sender: news@artemis.sto.fdata.se (UseNet NetNews) Organization: WM-data Konsult AB, Sweden X-Newsreader: TIN [version 1.2 PL2] Lines: 53