[rancid] svn: Out of date: , On very first run .

Mr. James W. Laferriere babydr at baby-dragons.com
Fri Feb 2 23:25:15 UTC 2007


 	Hello All ,  I've done a tad bit of googling on the error(warning) 
mentioned in the Subject and have essentially come up rather empty handed .
 	Particularly where it concerns references for 'rancid AND svn' and that 
error .  Someone mentioned they 'Removed update from rancid-run & 
control_rancid' and they no longer had this error beating them over the head .
 	Tho no patch or mention of what to remove .  I've done a grep for update 
in both of the mentioned files & only control_rancid had any 'update*' entries , 
tho none of them looked like candidates for being removed .

 	The message (cat'd) in below is repeated every time I do a rancid-run & 
I have even totally removed the rancid user directory & started over .

 	Below is the history of what actions I've performed .
 	attached is my rancid.conf
 		Tia ,  JimL

<---->

   # as root .

   useradd -c"rancid user" rancid
   cd rancid-2.3.2a7

   make install  <<< using /home/rancid for --prefix.. >>>

   # add the groups aliases .
   nano -zw /etc/aliases
   newaliases


   # as rancid user .

   cp share/rancid/cloginrc.sample .cloginrc
   nano -zw .cloginrc
   chmod a-rwx,u+rw .cloginrc
   clogin ourouter.ourdomain.com
   # Everything to here a OK .

   cp -i rancid.conf etc/rancid.conf 	<<< see attached >>>
   rancid-cvs

   cp nyc1-router.db var/nyc1/router.db
   cp sjc1-router.db var/sjc1/router.db
   cp office1-router.db var/office1/router.db

   # had to do a run or two to remember I had to do this .
   mkdir var/tmp

   rancid-run nyc1

   cat var/logs/nyc1.20070202.234735 
starting: Fri Feb 2 23:47:35 GMT 2007

property 'svn:ignore' set on '.'
A         ourouter.nyc1.ourdomain.com
Adding         ourouter.nyc1.ourdomain.com
Transmitting file data .
Committed revision 10.
Added ourouter.nyc1.ourdomain.com



Trying to get all of the configs.
All routers sucessfully completed.

svn: Commit failed (details follow):
svn: Out of date: '/nyc1' in transaction 'b'
Sending        .

ending: Fri Feb 2 23:47:55 GMT 2007
<---->


-- 
+-----------------------------------------------------------------+
| James   W.   Laferriere | System   Techniques | Give me VMS     |
| Network        Engineer | 663  Beaumont  Blvd |  Give me Linux  |
| babydr at baby-dragons.com | Pacifica, CA. 94044 |   only  on  AXP |
+-----------------------------------------------------------------+
-------------- next part --------------
# rancid 2.3.2a7
# This file sets up the environment used for rancid.  see rancid.conf(5)
#
# This will be site specific
#
TERM=network;export TERM

#
# Create files w/o world read/write/exec permissions, but read/exec permissions
# for group.
umask 027

#
# Under BASEDIR (i.e.: --localstatedir), there will be a "logs" directory for
# the logs from rancid and a directory for each group of routers defined in
# LIST_OF_GROUPS (below).  In addition to these, there will be a "CVS"
# directory which is the cvs (or Subversion) repository.
#
# Use a full path (no sym-links) for BASEDIR.
# Be careful changing this, it affects CVSROOT below.
BASEDIR=/home/rancid/var; export BASEDIR
PATH=/home/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin; export PATH

#
TMPDIR=$BASEDIR/tmp; export TMPDIR

# Location of the CVS/SVN repository.  Be careful changing this.
CVSROOT=$BASEDIR/CVS; export CVSROOT

# Location of log files produced by rancid-run(1).
LOGDIR=$BASEDIR/logs; export LOGDIR

#
# Select which RCS system to use, "cvs" (default) or "svn".  Do not change
# this after CVSROOT has been created with rancid-cvs.  Changing between these
# requires manual conversions.
RCSSYS=svn; export RCSSYS

#
# if NOPIPE is set, temp files will be used instead of a cmd pipe during
# collection from the router(s).
NOPIPE=YES; export NOPIPE

#
# FILTER_PWDS determines which passwords are filtered from configs by the
# value set (NO | YES | ALL).  see rancid.conf(5).
FILTER_PWDS=ALL; export FILTER_PWDS

#
# if NOCOMMSTR is set, snmp community strings will be stripped from the configs
NOCOMMSTR=YES; export NOCOMMSTR

#
# How many times failed collections are retried (for each run) before
# giving up.  Minimum: 1
#MAX_ROUNDS=4; export MAX_ROUNDS

#
# How many hours should pass before complaining about routers that
# can not be reached.  The value should be greater than the number
# of hours between your rancid-run cron job.
OLDTIME=25; export OLDTIME

#
# How many hours should pass before complaining that a group's collection
# (the age of it's lock file) is hung.
#LOCKTIME=4; export LOCKTIME

#
# The number of devices to collect simultaneously.
#PAR_COUNT=5; export PAR_COUNT

#
# list of rancid groups
#LIST_OF_GROUPS="sl joebobisp"
# more groups...
#LIST_OF_GROUPS="$LIST_OF_GROUPS noc billybobisp"
LIST_OF_GROUPS="sjc1 nyc1 office1"

#
# For each group, define a list of people to receive the diffs.
# in sendmail's /etc/aliases.
#   rancid-group:	joe,moe at foo
#   rancid-admin-group:	hostmaster
# be sure to read ../README regarding aliases.
#
# If your MTA configuration is broken or you want mail to be forwarded to a
# domain not the same the local one, define that domain here.  "@" must be
# included, as this is simply appended to the usual recipients.  It is NOT
# appended to recipients specified in rancid-run's -m option.
#MAILDOMAIN="@example.com"; export MAILDOMAIN

#
# By default, rancid mail is marked with precedence "bulk".  This may be
# changed by setting the MAILHEADERS variable; for example no header by setting
# it to "" or adding X- style headers.  Individual headers must be separated
# by a \n.
#MAILHEADERS="Precedence: bulk"; export MAILHEADERS


More information about the Rancid-discuss mailing list