[rancid] Unable to figure out "end of run not found"

john heasley heas at shrubbery.net
Wed Jul 3 17:12:10 UTC 2019


Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:
> Hello!,
> 
> How I can fix the problem when I run rancid for ZTE Router?. I get this
> error: *End of run not found*
> 
> the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.
> 
> NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
> 
> loadtype: device type cisco
> loadtype: found device type cisco in /usr/local/rancid/etc/rancid.types.base
> executing clogin -t 90 -c"show version;show install active;show vlan;show
> running-config" 172.17.1.6
> PROMPT MATCH: RT-ZTE#
> HIT COMMAND: RT-ZTE  #show version
>     In ShowVersion:  RT-ZTE  #show version
> HIT COMMAND: RT-ZTE  #show install active
>     In ShowInstallActive:  RT-ZTE  #show install active
> HIT COMMAND: RT-ZTE  #show vlan
>     In ShowVLAN:  RT-ZTE  #show vlan
> HIT COMMAND: RT-ZTE  #show running-config
>     In WriteTerm:  RT-ZTE  #show running-config
> *172.17.1.6 <http://172.17.1.6>: End of run not found*
> 172.17.1.6: clean_run is false
> 172.17.1.6: found_end is false
> !</isis>

found end means that it found the end of the config; for type cisco,
that means "^end".

clean run means that it found the cli logout; for type cisco, that
means "prompt[>#] exit$"



More information about the Rancid-discuss mailing list