🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Preston Craig Smith Sat, 04 Dec 1993 04:01
NNTP client setup... how to set DB_DIRECTORY in config.h?
#5134
Author: Preston Craig Smith
Date: Sat, 04 Dec 1993 04:01
39 lines
2307 bytes
This part of the config.h file confuses me any ideas?  I wish to access
a remote machine via nntp.

/**************************** DATABASE LOCATION **************************
 *
 *	Specify where the nn database should be installed.
 *
 *	If none of the following symbols are defined, the database will
 *	be contained in the NEWS_DIRECTORY in a separate .nn directory for
 *	master files and in files named .nnx and .nnd in each group's
 *	spool directory.  To use this scheme, the OWNER specified above
 *	must have write permission on the news spool directories.
 *
 *	If you access news via NNTP, you will probably always have to
 *	give the database directory explicitly through DB_DIRECTORY
 *	(and DB_DATA_DIRECTORY), since the normal news spool directories 
 *	are probably not available on the local system.

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?

 *	The exception may be if nnmaster runs directly on the nntp server.
 *
 *	To change the default behaviour, you can define the following
 *	symbols:
 *
 *	DB_DIRECTORY	   - the directory containing the master files.
 *
 *	DB_DATA_DIRECTORY  - the directory containing the per-group files
 *			     (default is DB_DIRECTORY/DATA if undefined).
 *
 *	DB_LONG_NAMES	   - use group's name rather than number when
 *			     building file names in DB_DATA_DIRECTORY.
 *	     (The file system must support long file names!!)
 */


Any guidance would be gratefully received.  Thanks.
Re: NNTP client setup... how to set DB_DIRECTORY in config.h?
#5136
Author: Cor Bosman
Date: Sat, 04 Dec 1993 10:37
16 lines
1552 bytes
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.
cor
-- 
| cor@hacktic.nl | Hack-Tic System Management | +31-20-6001480-3 (VMB)     |
| -------------------------------------------------------------------------|
|   ######### Signature Virus Running. Contamination Complete #########    |
+--------------------------------------------------------------------------+
Re: NNTP client setup... how to set DB_DIRECTORY in config.h?
#5140
Author: Heiko W.Rupp
Date: Mon, 06 Dec 1993 10:52
21 lines
1662 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?

>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 :)

This database can be imported read-only via NFS, as the clients only
read it.

>You have to give the directory on your own machine where this database
>is supposed to be, and run nnmaster.

nnmaster only needs to run on the server.

-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661521
"That is one of the Laws of USENET, up there with `You can tell when a USENET
 discussion is getting old when someone drags out Hitler and the Nazis.'"
					    -- David Goldfarb
Re: NNTP client setup... how to set DB_DIRECTORY in config.h?
#5143
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads