Mailing List Archive

Having an install issue with Rancid
I am getting an error log everytime i try to run rancid. I get the
following:
x.x.x.x being the router ip

localhost$./rancid x.x.x.x
sh: line 1: clogin: command not found
x.x.x.x: missed cmd(s): show env all,show module,show controllers,show
diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all
bootflash:,write term,dir /all disk2:,show vtp status,dir /all
sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all
sup-microcode:,dir /all disk0:,show install active,show bootvar,show
vlan,show controllers cbus,dir /all nvram:,show flash,show version,show
variables boot,show c7200,show boot,dir /all slot1:
x.x.xx: End of run not found

clogin -c 'show version; show diag' x.x.x.x works fine and logs in as it
should seems that there is a path missing somewhere. Can someone please
help me. Thanks in advance.

--
Andrew Ellis
Having an install issue with Rancid [ In reply to ]
I believe that would happen if clogin is not in the path.

Try adding your rancid bin directory to your path.

Joe
Having an install issue with Rancid [ In reply to ]
Fri, Sep 19, 2003 at 07:20:44AM -0700, Rizzo, Joe:
> I believe that would happen if clogin is not in the path.
>
> Try adding your rancid bin directory to your path.

correct. the configure process adds the location of clogin in the
PATH enviroment variable within bin/env. this file is included by
bin/do-diffs.

if your shell is a bourne shell derivative, the following ought to
do it:
. /usr/local/rancid/bin/env
rancid x.x.x.x

the alternative, in the case below, is adding . to the end of your
path, though that is often dis-recommended by security folk.