makeactive man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



MAKEACTIVE(8)					    MAKEACTIVE(8)

NAME
       makeactive - tool to recover Usenet active file.

SYNOPSIS
       makeactive [ -m ] [ -o ]

DESCRIPTION
       Makeactive  invokes  find(1) to get a list of all directo-
       ries in the news spool  tree,  <patharticles in inn.conf>.
       It  discards directories named lost+found as well as those
       that have a period in them.  It scans all  other	 directo-
       ries  for all-numeric filenames and determines the highest
       and lowest number.  If you have turned on the storage man-
       ager  with  the	'storageapi'  in  inn.conf(5), makeactive
       reads .overview.index to determine the highest and  lowest
       number.	 The  program's output is a set of active(5) file
       lines.  Because there is no way to know if a group is mod-
       erated  or  disabled, the fourth field of all entries will
       be y.  Also, mid-level directories that aren't  newsgroups
       will also created as newsgroups with no entries (for exam-
       ple,  there  is	a  ``comp.sources.unix''  group,  but  no
       ``comp.sources'').

OPTIONS
       -m     If  the  ``-m'' flag is given, then makeactive will
	      attempt to adjust the highest  and  lowest  article
	      numbers  wherever	 possible.  If articles are found
	      in a newsgroup, the numbers will reflect what  what
	      was  found.   If	no  articles are found in a news-
	      group, the high number from the old  file	 will  be
	      kept,  and  the  low number will be set to one more
	      then the high number.  This flag may only	 be  used
	      if the ``-o'' flag is used.

       -o     If the ``-o'' flag is used, makeactive will read an
	      existing active file for the list	 of  group  names
	      and just renumber all groups.  It will preserve the
	      fourth field of the active file if one is	 present.
	      This  is	analogous  to the ctlinnd(8) ``renumber''
	      command, except that innd(8)  should  throttled  or
	      not  running.   Do  not  use  this flag with output
	      redirected to the standard active file!

EXIT STATUS
       Makeactive exits with  non-zero	status	if  any	 problems
       occurred.

EXAMPLES
       A  typical  way	to  use the program is with the following
       /bin/sh commands:
	      ctlinnd throttle "Rebuilding active file"
	      TEMP=${TMPDIR-<PATH specified with --with-tmp-path at configure>}/act$$
	      if [ -f <pathdb in inn.conf>/active ] ; then
		  if makeactive -o >${TEMP} ; then

								1

MAKEACTIVE(8)					    MAKEACTIVE(8)

		      mv ${TEMP} <pathdb in inn.conf>/active
		  fi
	      else
		  if makeactive >${TEMP} ; then
		      # Edit to restore moderated
		      # and aliased groups.
		      ...
		      mv ${TEMP} <pathdb in inn.conf>/active
		  fi
	      fi
	      ctlinnd reload active "New active file"
	      ctlinnd go ''

HISTORY
       Written by Rich $alz  <rsalz@uunet.uu.net>  for	InterNet-
       News.  This is revision 1.1.2.1, dated 1999/06/12.

SEE ALSO
       active(5),  ctlinnd(8),	dbz(3),	 filechan(8), history(5),
       inn.conf(5), innd(8), newsfeeds(5), makehistory(8),  news-
       requeue(8).

								2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net