[rancid] Re: Error in logs after new install

Mike Ashcraft mashcraft at omniture.com
Mon Nov 5 16:31:54 UTC 2007


Chris,

This indicates that CVS does not think that
/home/rancid/var/"mygroup"/configs/"device-ip" has the same origin as
the copy in the repository.  The easiest way to fix this is to remove
this file and then run `cvs update` within the
/home/rancid/var/"mygroup"/configs/ to check out the file.  This will
establish consistency with the repository.  

$ cd /home/rancid/var/"mygroup"/configs/
$ rm "device-ip"
 (repeat for all devices causing this error)
$ cvs update

If there are errors when running `cvs update` you will need to
investigate and resolve these as well.

To prevent problems like this, never move or delete files in the configs
or CVS directories.  Instead, modify the router.db file and let rancid
manage these files.  rancid will clean up configs for devices removed
from the router.db file and create the appropriate files for new
devices.  

Good luck,

Mike

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Chris Bell
Sent: Monday, November 05, 2007 5:16 AM
To: 'Rancid-discuss at shrubbery.net'
Subject: [rancid] Error in logs after new install

Hello,

I'm running Rancid 2.3.2a6 on Ubuntu LTS 7.04.  This is a first time
install
for me and I've been able to fight my way through most of it (Linux is
fairly new to me). I've got Rancid up and running, and it logs into the
devices correctly (save one but I'll figure that out).  

It does not, however, write the configs to the
/home/rancid/var/"mygroup"/configs/"device-ip" folder as expected.  When
I
view the logs at /home/rancid/var/logs/, I get:

cvs status: move away `10.1.0.32'; it is in the way
cvs status: move away `10.1.0.33'; it is in the way
etc...

There are about 20 HP switches I have listed in the router.db.  I've
deleted
the files and used rancid-run again, but it errors out the same way each
time.  When I view the CVS repository, there is no config.  The
directory
and file name for the switch is there, but when checking "Head", it's
blank
:(.

I know I'm missing something stupid but I can't figure out what it is.
Permissions?  I've done the chmod 600 /home/rancid/.cloginrc and chown:
-R
rancid:rancid /home/rancid.

Thanks in advance for helping a newb.

Christopher Bell
Network Administrator
Tower Hill Insurance Group
352-333-1734
ext 1734




CONFIDENTIAL NOTICE: This email including any attachments, contains 
confidential information belonging to the sender. It may also be 
privileged or otherwise protected by work product immunity or other 
legal rules. This information is intended only for the use of the 
individual or entity named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the taking of any action in reliance on the contents 
of this emailed information is strictly prohibited.  If you have 
received this email in error, please immediately notify us by 
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list