[rancid] Rancid refusing to collect configuration from two LNS

Youssef Bengelloun-Zahr youssef at 720.fr
Fri Jul 10 12:33:37 UTC 2009


Hello all,

I have been using rancd for quite some time now and it's a real good soft,
very useful and handy.

But I have been encoutering a strange problem for some days now.

I'm using it to collect configs from routers (Cisco), switchs (Cisco) and
firewalls (juniper) and it's working great exept for two Cisco 7204 LNS.


Here is what the logs say :

lns3.ix1 clogin error: Error: Couldn't login: lns3.ix1
lns3.ix1: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp
chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr
chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show
spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show
bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir
/all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all se
c-disk0:,dir /all harddiskb:,show variables boot,show boot,show inventory
raw,dir /all slavedisk1:,show env all,show module,admin show env all,show
controllers,admin show version,show diagbus,dir /all slavedisk0:,show
debug,show idprom
 backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write
term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all
harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all
slavebootflash:,sho
w controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,admin show variables boot,show redundancy secondary,show
running-config,show c7200,dir /all slot1:
lns3.ix1: End of run not found!lns4.ix1 clogin error: Error: Couldn't login:
lns4.ix1lns4.ix1: missed cmd(s): admin show diag,dir /all slavedisk2:,show
rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr
chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show
install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir
/all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all se
c-disk0:,dir /all harddiskb:,show variables boot,show boot,show inventory
raw,dir /all slavedisk1:,show env all,show module,admin show env all,show
controllers,admin show version,show diagbus,dir /all slavedisk0:,show
debug,show idprom
 backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write
term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all
harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all
slavebootflash:,sho
w controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,admin show variables boot,show redundancy secondary,show
running-config,show c7200,dir /all slot1:
lns4.ix1: End of run not found!


I have tried to debug this using the FAQ available on the web site but
nothing.

The weirdest thing is that :

- rancid is able to login to this devices when I launch manually the clogin
script.

- It's also able to display the configuration when using the *clogin -c
'show version; show diag' cisco_router.*

- It is still working great with other identical equipments (identical
hardware and software).


Here is the output of a rancid script run manually :

rancid at sup0:/home/rancid$ /home/rancid/bin/rancid -d lns3
executing clogin -t 90 -c"admin show version;show version;show redundancy
secondary;show idprom backplane;show install active;admin show env all;show
env all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show
boot;show bootvar;admin show variables boot;show variables boot;show
flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all
disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir
/all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all
sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all
slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all
slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all
slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all
sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all
sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-disk2:;show
controllers;show controllers cbus;show diagbus;admin show diag;show
diag;show module;show spe version;show c7200;show inventory raw;show vtp
status;show vlan;show vlan-switch;show debug;show running-config;write term"
lns3
sh: clogin: not found
lns3: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp
chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr
chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show
install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir
/all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables
boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show
module,admin show env all,show controllers,admin show version,show
diagbus,dir /all slavedisk0:,show debug,show idprom backplane,dir /all
bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp
status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all
slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,admin show variables boot,show redundancy secondary,show
running-config,show c7200,dir /all slot1:
lns3: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp
chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr
chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show
install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir
/all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables
boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show
module,admin show env all,show controllers,admin show version,show
diagbus,dir /all slavedisk0:,show debug,show idprom backplane,dir /all
bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp
status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all
slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,admin show variables boot,show redundancy secondary,show
running-config,show c7200,dir /all slot1:
lns3: End of run not found
lns3: End of run not found
!

Any ideas ?!?

Thanks you rancid community.

Regards.

-- 
Youssef BENGELLOUN-ZAHR ………………………………………………
Ingénieur Réseaux et Télécoms


Technopole de l'Aube  en Champagne - BP 601 - 10901 TROYES  Cedex 9
Agence Paris : 6, rue Charles Floquet - 92120 MONTROUGE
Tel                 +33 (0) 825 000 720
Tel. direct      +33 (0) 1 77 35 59 14
Tel. portable  +33 (0) 6 22 42 63 80
Email            ybz at 720.fr
……………………………………………………………………………….....www.720.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090710/6cb907c8/attachment.html 


More information about the Rancid-discuss mailing list