CKCONFIG(1)

NAME
ckconfig - check the rkive configuration file setup

SYNOPSIS
ckconfig [ -V ] [ -f config_file ] [ -n newsgroup ]

DESCRIPTION
ckconfig is used to verify a new or modified USENET archiver configuration file.

The output is displayed as is shown in the sample below.
	Configuration Check for /usr/local/lib/rkive/rkive.cf
			Global Defines
News Directory:          /usr/spool/news
Problems Directory:      /usenet/problems
Global Logfile:          /usenet/archive.log
Global Index:            NO INDEXING
Logfile Format:          %B %a %T
Index Format:            NOT SPECIFIED
Mail Results To:         kent,rick,kent@uunet.uu.net
The following values are used if the administrator has
not set a value for a necessary configuration item(s).
Archive Type:            Volume-Issue
Patches Type:            Historical
Default Owner:           10 <src>
Default Group:           11 <archive>
Default Modes:           444
Compression:             NO COMPRESSION
Checkhash:               NO CHECKHASH
Archiving From:          LOCAL DISK
		Newsgroup Archive Configuration
comp.sources.unix newsgroup archived to /usenet/unix
	Archive Type:        Archive-Name
	Patches Type:        Package
	Owner:               10 <src>
	Group:               11 <archive>
	File Modes:          444
	Logfile:             /usenet/unix/log
	Index File:          /usenet/unix/index
	Logfile Format:      NOT SPECIFIED   (DEFAULT)
	Index Format:        %B %a %T
	Mail Results:        NO ONE          (DEFAULT)
	Compression:         NO COMPRESSION  (*NO* DEFAULT)
	Checksum:            /usr/local/bin/checknews -s
	Archiving From:      sparky.imd.sterling.com
sci.space newsgroup archived to /usenet/space
	Archive Type:        Chronological
	Patches Type:        Historical
	Owner:               10 <src>
	Group:               11 <archive>
	File Modes:          444
	Logfile:             /usenet/space/log
	Index File:          /usenet/space/index
	Logfile Format:      %O %S
	Index Format:        NOT SPECIFIED   (*NO* DEFAULT)
	Mail Results:        NO ONE          (DEFAULT)
	Compression:         /usr/ucb/compress -f
	Checksum:            NO CHECKHASH    (*NO* DEFAULT)
	Archiving From:      LOCAL DISK
comp.misc newsgroup archived to /usr/doc/news
	Archive Type:        External-Command
	Archive Command:     /usr/local/lib/rkive/update_netdocs $m $o $g $U
	Patches Type:        Historical
	Owner:               10 <src>
	Group:               11 <archive>
	File Modes:          444
	Logfile:             /usr/doc/.admin/log
	Index File:          /usr/doc/.admin/index
	.archived File:      /usr/doc/.admin/misc.archived
	.patchlog File:      /usr/doc/.admin/misc.patchlog
	Logfile Format:      %O %S
	Index Format:        NOT SPECIFIED   (*NO* DEFAULT)
	Mail Results:        NO ONE          (DEFAULT)
	Compression:         NO COMPRESSION  (DEFAULT)
	Checksum:            NO CHECKHASH    (*NO* DEFAULT)
	Archiving From:      LOCAL DISK

The "(DEFAULT)" indicates that the global value will be used since
the administrator did not specify a value specific to that newsgroup.
The "(*NO* DEFAULT)" indicates that there is no global value to
be substituted. In the entry for comp.sources.unix displayed above,
there was no compression routine specified in the newsgroups entry
and there is no globally defined compression routine.

OPTIONS

-V  Print the version number and patchlevel of the current executable.

-f config_file
    Execute ckconfig using the specified config_file as the input file to be checked.

-g  This option allows the global default values to be displayed in the newsgroup variables when there is nothing specified in the newsgroup entry of the configuration file. If the above example had been run using this option, the output would have been:
    comp.sources.unix newsgroup archived to /usenet/unix
    	Archive Type:   Archive-Name
    	Patches Type:   Package
    	Owner:          10 <src>
    	Group:          11 <archive>
    	File Modes:     444
    	Logfile:        /usenet/unix/log
    	Index File:     /usenet/unix/index
    	Logfile Format: %B %a	%T
    	Index Format:   %B %a %T
    	Mail Results:   kent,rick
    	Compression:    NO COMPRESSION  (*NO* DEFAULT)
    	Checknews:      /usr/local/bin/checknews -s
    	Archiving From: sparky.imd.sterling.com

-n newsgroup
    This option allows a newsgroup to be specified on the command line.
    Only one newsgroup can be specified in this manner. If only global
    information is requested, specify "-n none" on the command line.

FILES
/usr/local/lib/rkive/rkive.cf

SEE ALSO
article(1), rkive(1), rkive(5)

BUGS
None known.