EnglishFrenchSpanish

OnWorks favicon

rancid-run - Online in the Cloud

Run rancid-run in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rancid-run that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rancid-run - run rancid for each of the groups

SYNOPSIS


rancid-run [-V] [-f rancid.conf] [-f rancid.conf] [-m mail_rcpt] [-r device_name] [group
[group ...]]

DESCRIPTION


rancid-run is a sh(1) script to run rancid(1) for a set of rancid group(s).

rancid-run reads rancid.conf(5) to configure itself, then uses control_rancid(1) to run
rancid(1) for each rancid group. The set of rancid groups can either be provided as
command-line arguments or via the LIST_OF_GROUPS variable in rancid.conf(5), if the group
argument is omitted.

A lock file is maintained per-group to prevent simultaneous runs for a given group by
rancid-run(1). The lock file will be named .<group>.run.lock and will be located in
/var/lib/rancid.

A log file is produced under $LOGDIR/logs for each rancid group processed. The file name
will be <group>.YYYYMMDD.HHMMSS (year month day . hour minute second).

rancid-run is normally used to run rancid from cron(8). For example:

0 * * * * /usr/local/rancid/bin/rancid-run

The command-line options are as follows:

-V Prints package name and version strings.

-f rancid.conf
Specify an alternate configuration file.

-m mail_rcpt
Specify the recipient of diff mail, which is normally rancid-<group>. The argument
may be a single address, multiple comma separated addresses, or -m may be specified
multiple times.

-r device_name
Run rancid for a single device, device_name. device_name should be name, as it
appears in a group's router.db. The device must be marked "up". If a group is not
specified on the command-line, rancid will be run against any group in which the
device_name appears.

The -r option alters the subject line of the diff mail. It will begin with <group
name>/<device name> rather than just the group name alone.

ENVIRONMENT


rancid-run utilizes the following environment variables from rancid.conf(5).

BASEDIR
Location of group directories, etc. This is set to the "localstatedir" by the
configure script at installation time.

LIST_OF_GROUPS
List of rancid groups to collect.

PATH Search path for utilities.

TMPDIR Directory to hold temporary files.

ERRORS


If rancid fails to run or collect a device's configuration, the particular group's log
file (mentioned above) should be consulted. Any errors produced by the revision control
system (CVS, Subversion, or git) or any of the rancid scripts should be included there,
whether they be a botched cvs tree, login authentication failure, rancid configuration
error, etc. If the log file produces no clues, the next debugging step should be run the
commands manually. For example, can the user who runs rancid login to the device with
'clogin hostname', and so on.

Use rancid-run online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

Ad