you would need to run the rancid script with the debug flag set. don't run rancid-run.<br><br>jrancid -d<br>or <br>jlogin -d<br><br>Assuming those scripts support that.<br><br><div class="gmail_quote">On Mon, Apr 14, 2008 at 1:09 PM, Scott Huffman <<a href="mailto:wshuffman2@gmail.com">wshuffman2@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is there a way to get more detailed logs out of rancid-run? <br><br>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. <br>
<br>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:<br><br><br>Rancid:~ $ ps -A | grep rancid<br> 237 p0 S+ 0:00.02 /bin/sh /opt/local/bin/rancid-run<br>
238 p0 S+ 0:00.01 /bin/sh /opt/local/bin/rancid-run<br> 242 p0 S+ 0:00.11 /bin/sh /opt/local/libexec/rancid/control_rancid jrou<br> 353 p0 S+ 0:00.03 /opt/local/bin/perl /opt/local/libexec/rancid/par -q <br>
354 p0 S+ 0:00.01 sh -c (rancid-fe \Accent-m20-re1:juniper)<br> 355 p0 S+ 0:00.01 sh -c (rancid-fe \Barracuda-m40e-re1:juniper)<br> 356 p0 S+ 0:00.01 sh -c (rancid-fe \Barracuda-m7i-backup:juniper)<br>
357 p0 S+ 0:00.01 sh -c (rancid-fe \Barracuda-t320:juniper)<br> 358 p0 S+ 0:00.01 sh -c (rancid-fe \Mustang-m7i:juniper)<br> 359 p0 S+ 0:00.01 sh /opt/local/libexec/rancid/jrancid Accent-m20-re1<br>
360 p0 S+ 0:00.01 sh /opt/local/libexec/rancid/jrancid Barracuda-m40e-re1<br>
361 p0 S+ 0:00.01 sh /opt/local/libexec/rancid/jrancid Barracuda-m7i-backup<br> 362 p0 S+ 0:00.01 sh /opt/local/libexec/rancid/jrancid Barracuda-t320<br> 363 p0 S+ 0:00.01 sh /opt/local/libexec/rancid/jrancid Mustang-m7i<br>
408 p1 R+ 0:00.00 grep rancid<br>Rancid:~ $ <br><br>And this for logs:<br><br><br>Rancid:~ $ cat /opt/local/var/rancid/logs/jrouters.20080414.151921 <br>starting: Mon Apr 14 15:19:21 EDT 2008<br><br><br><br>Trying to get all of the configs.<br>
Rancid:~ $ <br><br>Any suggestions would be greatly appreciated<br>Thanks<br><font color="#888888">Scott<br><br><br>
</font><br>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br></blockquote></div><br>