[rancid] Debug Rancid

Scott Huffman wshuffman2 at gmail.com
Mon Apr 14 20:09:48 UTC 2008


Is there a way to get more detailed logs out of rancid-run?

I was trying to edit the jrancid file to add "show log messages" and now I
have rancid in a state where it won't run.  I have tried restoring
everything back to where I started but it doesn't seem to work.  Rancid-run
now just hangs when running it manually.

I have tried setting all the devices down in router.db, but it still tries
to access all the routers for some reason.  When I run it, I get this in my
processes:


Rancid:~ $ ps -A | grep rancid
  237  p0  S+     0:00.02 /bin/sh /opt/local/bin/rancid-run
  238  p0  S+     0:00.01 /bin/sh /opt/local/bin/rancid-run
  242  p0  S+     0:00.11 /bin/sh /opt/local/libexec/rancid/control_rancid
jrou
  353  p0  S+     0:00.03 /opt/local/bin/perl /opt/local/libexec/rancid/par
-q
  354  p0  S+     0:00.01 sh -c (rancid-fe \Accent-m20-re1:juniper)
  355  p0  S+     0:00.01 sh -c (rancid-fe \Barracuda-m40e-re1:juniper)
  356  p0  S+     0:00.01 sh -c (rancid-fe \Barracuda-m7i-backup:juniper)
  357  p0  S+     0:00.01 sh -c (rancid-fe \Barracuda-t320:juniper)
  358  p0  S+     0:00.01 sh -c (rancid-fe \Mustang-m7i:juniper)
  359  p0  S+     0:00.01 sh /opt/local/libexec/rancid/jrancid
Accent-m20-re1
  360  p0  S+     0:00.01 sh /opt/local/libexec/rancid/jrancid
Barracuda-m40e-re1
  361  p0  S+     0:00.01 sh /opt/local/libexec/rancid/jrancid
Barracuda-m7i-backup
  362  p0  S+     0:00.01 sh /opt/local/libexec/rancid/jrancid
Barracuda-t320
  363  p0  S+     0:00.01 sh /opt/local/libexec/rancid/jrancid Mustang-m7i
  408  p1  R+     0:00.00 grep rancid
Rancid:~ $

And this for logs:


Rancid:~ $ cat /opt/local/var/rancid/logs/jrouters.20080414.151921
starting: Mon Apr 14 15:19:21 EDT 2008



Trying to get all of the configs.
Rancid:~ $

Any suggestions would be greatly appreciated
Thanks
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080414/920cf54d/attachment.html 


More information about the Rancid-discuss mailing list