[rancid] clogin and rancid good, rancid-run fails
Ken Celenza
ken.celenza at mail.com
Mon Oct 26 13:18:12 UTC 2015
I have been running rancid for a little over a year, and over the last month about 20 devices out of a few hundred stopped working. These are cisco devices, most of which have not been upgraded or rebooted in years. So I went through the normal debugging procedures that I know about. clogin works, rancid with debug "HIT"s all of the commands, but when I run it via "rancid-run -r <device>" it does not work.
>From the logs:
-------------------------------------------
Trying to get all of the configs.
<device>: missed cmd(s): all commands
<device> clogin error: Error: Connection closed (ssh): <device>
<device>: End of run not found
!
=====================================
Getting missed routers: round 1.
<device>: missed cmd(s): all commands
<device> clogin error: Error: Connection closed (ssh): <device>
<device>: End of run not found
!
=====================================
Getting missed routers: round 2.
<device>: missed cmd(s): all commands
<device> clogin error: Error: Connection closed (ssh): <device>
<device>: End of run not found
-------------------------------------------
Is there any way to get the raw clogin output when running rancid-run sent to the log as well?
To recap, it works for most devices, but a few stopped working about a month ago and even though they work fine with clogin and rancid, cannot get it to work with rancid-run.
More information about the Rancid-discuss
mailing list