[rancid] Intermittent Rancid Failures

Dan Mahoney (Gushi) danm at prime.gushi.org
Wed Jun 18 23:22:23 UTC 2025


Hey there all,

Something's driving me batty.

My ASR-1001-X is only able to be connected to intermittently.  Rancid (run 
as the rancid user) always works from the command line, but rancid-run 
fails for some reason.

When I watch rancid-run, I see several ssh processes start up, trying to 
shell to the router in question, but of course, the output of those aren't 
logged anywhwere?  Clogin works.  Running all the commands in rancid -d 
work (though of course there are many extra commands in there).

But every time I call rancid-run groupname, I get the "routers have not 
been contacted in over 24 hours" email.  And only intermittently.  (It's 
been a little over 24 hours with no changes now).

Rancid is rancid3-3.13_3 under FreeBSD 13.4

I notice that some of the commands that one might need to run these things 
from the command line get put into /usr/local/libexec/rancid/ which isn't 
in the default path, but this only breaks command-line testing, not 
actual production runs.  (Maybe the rancid-run script sets the right 
path?)

I'll also note that these routers need some special things in .ssh/config 
for some older ciphers, etc, but that would be an all-or-nothign type 
problem, I'd think.

-Dan


-- 

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
FB:  fb.com/DanielMahoneyIV
LI:   linkedin.com/in/gushi
Site:  http://www.gushi.org
---------------------------



More information about the Rancid-discuss mailing list