mod-active man page on BSDOS

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



MOD-ACTIVE(8)					    MOD-ACTIVE(8)

NAME
       mod-active    -	 batch	 processing   of   ctlinnd   new-
       group/rmgroup/changegroup

SYNOPSIS
       mod-active [ ctlinnd_command_file ]

DESCRIPTION
       mod-active is a perl script that updates the  active  file
       based  on its input lines of ctlinnd newgroup, rmgroup and
       changegroup commands.  It pauses the server briefly  while
       the  existing active file is read and rewritten, which not
       only keeps innd from updating the  active  file	but  also
       locks against other instances of mod-active.

       The  input  to mod-active can come either from one or more
       files named on the command  line,  or  from  the	 standard
       input.	Typically  its	input  is  the	output	from  the
       docheckgroups or actsync commands.  Every line which  con-
       tains  the string "ctlinnd newgroup", "ctlinnd rmgroup" or
       "ctlinnd changegroup", optionally preceded  by  whitespace
       and/or  the  path  to  ctlinnd,	is  noted for the update.
       Redundant commands, such as a  newgroup	directive  for	a
       group  that  already  exists,  are  silently ignored.  All
       other lines in the input are also silently ignored.

       After the new active file has been generated, the existing
       one is renamed to active.old and the new one is moved into
       place.  The script then displays the  differences  between
       the two files.

       Any  groups  that  were	added to the active file are also
       added to the active.times file  with  the  string  "check-
       groups-update".

BUGS
       Though  innd  is	 paused while mod-active works, it is not
       inconceivable that there could be a conflict if	something
       else tries to update the active file during the relatively
       short time that mod-active is working.  The two most real-
       istic ways I can think of for this to happen are either by
       an administrator concurrently doing a manual ctlinnd  com-
       mand,  or  by  innd receiving a control message, then mod-
       active pausing the server, then the control  message  han-
       dler  script that innd forked running its own ctlinnd com-
       mand while mod-active is working.  I've	been  using  mod-
       active  regularly for several years, though, and never had
       either problem.

HISTORY
       Written by David C Lawrence <tale@isc.org>.

SEE ALSO
       active(5), actsync(8), ctlinnd(8), innd(8).

								1

[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