Foundry Serviron load balancers

Justin Grote justin at grote.name
Tue Dec 20 22:21:53 UTC 2005


Patrick Topping wrote:

> Justin,
>
> Below is a snapshot of what was seen at 6:00 and then again at 7:00 
> a.m.  The diffs are identical.  What is the best way to clean this 
> up?  Any ideas?  Thanks.

 From the FAQ (http://www.shrubbery.net/rancid/FAQ)

Q. I keep receiving the same diff for a (or set of) devices, but I know the
   data is not changing repeatedly.  Why?
A. This is probably a CVS or filesystem permissions problem.  Check the log
   file from the last run for that group for clues first; it may provide the
   exact cause.

   Note: It is very important the following be done as the user who normally
         runs the rancid collection from cron.

   Check the cvs status of the device's file.  example:

   guelah [2704] cvs status rtr.shrubbery.net
   ===================================================================
   File: yogi.shrubbery.net        Status: Up-to-date

      Working revision:    1.197   Tue Jul 10 15:41:16 2001
      Repository revision: 1.197   /user/local/rancid/CVS/shrubbery/configs/rtr.shrubbery.net,v
      Sticky Tag:          (none)
      Sticky Date:         (none)
      Sticky Options:      (none)

   The Status: should be Up-to-date.  If the status is "Unknown", then somehow
   the file has been created without being cvs add'ed.  This should be
   corrected by removing that device's entry from the group's router.db file,
   run do-diffs, replace the entry in router.db, and run do-diffs again.

   If the Status is anything else, someone has most likely been touching the
   files manually.  Sane state can be achieved by removing the file and running
   cvs update <file> to get a fresh copy from the repository.

   Check the ownership and permissions of the file and directory and the
   directory and file in the cvs repository (/usr/local/rancid/CVS/).  They
   should be owned by the user who runs do-diffs from cron.  At the very least,
   the directory and files should be writable by the rancid user.  Group and
   world permissions will determined by the umask (default 027), which is set
   in /usr/local/rancid/bin/env.  Likely the easiest way to fix the ownership
   on the cvs repository is chown -R <rancid user> /usr/local/rancid/CVS



-- 
Justin Grote
Network Architect
JWG Networks




More information about the Rancid-discuss mailing list