2.4. Operations Guide

The following sections provide a guide to the operation of the system.

2.4.1. Standard Operation

In the bin directory, you will find the start, stop, restart, rotate, and statsnow command scripts. These scripts control the cycloned binary contained in that directory. By default, Cyclone should be started by having the "root" user run the start command script.

Cyclone will bind to the privileged NNTP port and become the user "news" (Cyclone will refuse to continue if it cannot relinquish its "root" privileges). You can easily modify the way Cyclone operates by modifying these command scripts. Every Cyclone binary provides the -help option which explains program options.

2.4.1.5. Adding/Removing Groups

When using the -active mechanism to run Cyclone with an active file, it is useful to be able to add groups to and remove groups from the active file of a running system.

To add or remove a group on a running system, create a file in the same directory as the active file called active.control. In this file, list the changes you wish to make to the active file.

To remove a group, add a line to active.control consisting of the group name preceded by a dash ('-').

To modify an existing group, add an active file entry line preceded by an equals sign ('=').

To add a group only if it doesn't already exist, prepend a plus ('+') character to the active file entry line. To add a group if it doesn't exist or to modify its bounds if it does, simply place the active file entry line for this group in active.control as you would in the active.

When using the equals sign ('='), specifying zero ('0') for one of the article bounds leaves the existing bound unchanged.

For instance, the following lines would:

After creating the active.control file, tell the server to process the file by running the bin/reload command script.

2.4.1.7. Usenet Top 1000

The very generous folks at Freenix provide a monthly service that tracks the "Top 1000" sites on Usenet. As a part of this service, they provide the source code to a program you can use to prepare data from your site for submission to their service.

To send your contribution to the Usenet Top 1000, visit the Top 1000 site at http://www.freenix.org/reseau/top1000/, download and compile their inpaths.c program, and add the -paths ../log/paths option to cycloned inside the start command script. This option instructs Cyclone to save the Path: field of every message it routes to the argument filename.

Once a month, use the UNIX mv(2) command to move ../log/paths aside and run the bin/restart command script. Finally, run the compiled Freenix program (with the -p option) against the saved ../log/paths file and mail the results off to Freenix .

Highwinds Software is committed to submitting ACCURATE Top 1000 reports. If for any reason you think your Cyclone data is inaccurate, contact Highwinds Software Support.

2.4.2. Monitoring the System

Cyclone uses the UNIX syslog system to report system status. Cyclone logs all system alerts with the LOG_NEWS facility and the severity levels detailed below. By default, most operating systems send LOG_ERR (and higher) severity levels to the system console. Keeping this default is recommended.

If you wish to obtain additional information about the running system, you should add the -detailed option to the start command script. In addition, you should modify your syslog configuration file to record LOG_INFO severity levels. Refer to your UNIX documentation regarding syslog.conf(4) for more details.

2.4.3. A Day in the Life of an Article

What follows is a high level summary of the path an article takes through Cyclone meant to give you a brief look into some of the things Cyclone does while processing articles.

2.4.4. Emergency Guide

Turn on Detailed Logging

By adding the -log option, you will see more details of the system's operation. You may wish to use the -log option to have Cyclone log the article ids of every message processed. Be sure to refer to Monitoring the System for more details.

Look at the Statistics

Statistics reports and Checkpoints detail article and connection statistics. This data is a great starting point for all debugging. If you are having trouble, you may wish to use the checkpoint and statsnow command scripts to get data out of the system more frequently.

Turn off DNS

If you have an unreliable DNS, modify the bin/start command script to use the -nodns option. This will require you to modify the feeds.conf file to use ONLY numeric IP addresses for all host values. After making the modifications, run the bin/restart command script.