🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5143

Re: NNTP client setup... how to set DB_DIRECTORY in config.h?

#5143
From: David Halliwell
Date: Mon, 06 Dec 1993 21:39
29 lines
2171 bytes
cor@hacktic.nl (Cor Bosman) writes:

>pcsg8264@uxa.cso.uiuc.edu (Preston Craig Smith) writes:

>>How do I explicitly give the database directory if it is on a remote system?
>>Do I have to know the name of the directory on the remote system?  Is there
>>a standard directory for this?  Do I indicate the host in this name?

>Well, even though you use NNTP, nn still needs a database to be on
>your OWN host. (unless you use overview but lets not get into that here :)
>You have to give the directory on your own machine where this database
>is supposed to be, and run nnmaster.

   You can avoid this if you have NFS access to the database on the NNTP
server. You need to know the directory on the server, and it has to be
mounted (as an NFS mount) on your local machine. In the nn configuration,
specify the local directory name. It need not be the same as the directory
on the server: NFS looks after the fact that the local directory actually
isn't local. nn thinks it is a local directory, and when looking at the
article listings, you don't see "Connecting to NNTP server ..." until nn
goes to the serever for the actual contents of the posting.

   Much easier than running nnmaster, but make sure the mount is soft. :-)

--
Dave Halliwell
Department of Geography
University of Alberta
Edmonton, Alberta
Technical Details
Message-ID: <dhalliwe.755213989@shadow>
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!gmd.de!xlink.net!howland.reston.ans.net!agate!library.ucla.edu!news.mic.ucla.edu!unixg.ubc.ca!kakwa.ucs.ualberta.ca!shadow.geog.ualberta.ca!dhalliwe
References: <2dp234$asj@vixen.cso.uiuc.edu> <2dppa5INNc15@xs4all.hacktic.nl>

Show Full Headers
Complete Article Headers
Message-ID: <dhalliwe.755213989@shadow>
Subject: Re: NNTP client setup... how to set DB_DIRECTORY in config.h?
Date: Mon, 6 Dec 1993 21:39:49 GMT
From: dhalliwe@shadow.geog.ualberta.ca (David Halliwell)
References: <2dp234$asj@vixen.cso.uiuc.edu> <2dppa5INNc15@xs4all.hacktic.nl>
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!gmd.de!xlink.net!howland.reston.ans.net!agate!library.ucla.edu!news.mic.ucla.edu!unixg.ubc.ca!kakwa.ucs.ualberta.ca!shadow.geog.ualberta.ca!dhalliwe
Newsgroups: news.software.nn
Sender: news@kakwa.ucs.ualberta.ca
Nntp-Posting-Host: shadow.geog.ualberta.ca
Organization: University Of Alberta, Edmonton Canada
Lines: 29