[rancid] undefined function - "ios::ShowRun"

heasley heas at shrubbery.net
Thu Sep 29 17:44:47 UTC 2016


Thu, Sep 29, 2016 at 01:07:34PM +0200, Artur D:
> I recently upgraded to the last version of rancid and i started having this
> issue:
> 
> *rancid at rancid-srv:~$ rancid -d -t cisco cisco_switch_and_stuff7loadtype:
> device type ciscoloadtype: found device type cisco in
> /etc/rancid/rancid.types.baseexecuting clogin -t 90 -c"show running-config"
> cisco_switch_and_stuff7PROMPT MATCH: *
> *cisco_switch_and_stuff7#HIT COMMAND:*

It is running only one command there, so I presume that you have altered
rancid.types.base.  restore it to the original.

> *cisco_switch_and_stuff7#show running-configcisco_switch_and_stuff7:
> undefined function - "ios::ShowRun"cisco_switch_and_stuff7: missed cmd(s):
> all commandscisco_switch_and_stuff7: End of run not
> foundcisco_switch_and_stuff7: End of run not found!*
> 
> I checked the ios.pm and in fact that function was missing. Any ideas why
> that library is missing that particular function ?

It does not exist in the original.



More information about the Rancid-discuss mailing list