🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1116

re-installing on another filesystem problem

#1116
From: cowleym
Date: Thu, 11 Apr 1991 03:55
44 lines
2158 bytes
Hi all,

Please Help.
We are running NEWS B v2.11.19 on an Ultrix station running 4.2 BSD 
and NNTP v1.5, using NNTPXMIT to receive news and send news to VMS machines 
at our other sites.

A few weeks ago we re-installed NEWS and NNTP, so that instead of:

(in NEWS/src/Makefile)
LIBDIR=/usr/new/lib/news      node /dev/rz1g
SPOOLDIR=/usr/spool/news
BATCHDIR=/usr/spool/batch

(and in NNTP/common/conf.h)
#define ACTIVE_FILE "/usr/new/lib/news/active"
#define DISTRIBUTIONS_FILE "/usr/new/lib/news/distributions"
#define HISTORY_FILE "/usr/new/lib/news/history"
etc. 

we re-defined in NEWS:   
LIBDIR=/usr/local/lib/news    node /dev/rz2g
SPOOLDIR=/var/spool/news      node /dev/rz0c
BATCHDIR=/var/spool/batch     node /dev/rz0c

and similarly, files in NNTP were defined to be installed in
/usr/local/lib/news/... (including HISTORY_FILE)

Now, we are still receiving news and sending to our other sites, BUT,
copious log information is still going to the old places:
ie /usr/new/lib/news/LOG and /usr/new/lib/news/ERRLOG,
instead of to the new directory /usr/local/lib/news.
Also, the history file and sys file are still active in the old directory.
However, it does access nntp_access, nntpxmit in the new directory

I have defined SYSLOG and LOG in NNTP/common/conf.h and we are getting SYSLOG
information in /etc/SYSLOG where we should. (we have syslog())

But how do I re-direct ERRLOG, LOG, SYS, HISTORY to the new directory??????

Any suggestions welcome.

Margaret.
Technical Details
Message-ID: <1991Apr11.142526.17678@magill.sacae.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!mips!spool.mu.edu!munnari.oz.au!yoyo.aarnet.edu.au!sacomm!magill.sacae.edu.au!cowleym

Show Full Headers
Complete Article Headers
Message-ID: <1991Apr11.142526.17678@magill.sacae.edu.au>
Subject: re-installing on another filesystem problem
Date: Thu, 11 Apr 1991 03:55:25 +0000
From: cowleym@magill.sacae.edu.au
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!mips!spool.mu.edu!munnari.oz.au!yoyo.aarnet.edu.au!sacomm!magill.sacae.edu.au!cowleym
Newsgroups: news.software.nntp
Organization: Univerisity of South Australia - Magill
Lines: 43