Discussion:
[rancid] Cisco FWSM Upgrade - Broke rancid; Need your Advice ...
Wilkinson, Alex
2013-08-19 02:00:29 UTC
Permalink
Hi all,

After an FWSM OS upgrade (to 3.2(26)) rancid is now broke for our FWSM(s) e.g.

Trying to get all of the configs.
fwsmfw: missed cmd(s): write term
fwsmfw: End of run not found
Error: TIMEOUT reached

Running rancid in debug mode gives me:

$ /usr/local/libexec/rancid/rancid -d fwsmfw
executing clogin -t 90 -c"show version;show redundancy secondary;show idprom backplane;show install active;show env all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show boot;show bootvar;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-bootdisk:;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;show diag;show capture;show module;show spe version;show c7200;show inventory raw;show vtp status;show vlan;show vlan-switch;show debug;show shun;more system:running-config;show running-config view full;show running-config;write term" fwsmfw
clogin: not found
fwsmfw: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config view full,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,show shun,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,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,show redundancy secondary,show running-config,show c7200,dir /all slot1:
fwsmfw: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config view full,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,show shun,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,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,show redundancy secondary,show running-config,show c7200,dir /all slot1:
fwsmfw: End of run not found
fwsmfw: End of run not found
!
$

How does one know exactly which of the aforementioned commands failed ? And once
this is known, where does one change (remove) the offending commands ?

Thanks!

-Alex


************** IMPORTANT MESSAGE *****************************
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential.
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
We can be contacted through our web site: commbank.com.au.
If you no longer wish to receive commercial electronic messages from us, please reply to this
e-mail by typing Unsubscribe in the subject line.
**************************************************************
Lee
2013-08-19 03:20:47 UTC
Permalink
That
clogin: not found
looks like a problem, but to answer your question about knowing which
command failed
set NOPIPE=YES in your environment and run rancid -d hostname. look
in hostname.raw for the commands and their output.

Regards,
Lee
Post by Wilkinson, Alex
Hi all,
After an FWSM OS upgrade (to 3.2(26)) rancid is now broke for our FWSM(s) e.g.
Trying to get all of the configs.
fwsmfw: missed cmd(s): write term
fwsmfw: End of run not found
Error: TIMEOUT reached
$ /usr/local/libexec/rancid/rancid -d fwsmfw
executing clogin -t 90 -c"show version;show redundancy secondary;show idprom
backplane;show install active;show env all;show rsp chassis-info;show gsr
chassis;show diag chassis-info;show boot;show bootvar;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-bootdisk:;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;show
diag;show capture;show module;show spe version;show c7200;show inventory
raw;s
how vtp status;show vlan;show vlan-switch;show debug;show shun;more
system:running-config;show running-config view full;show
running-config;write term" fwsmfw
clogin: not found
fwsmfw: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show
capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir
/all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config
view full,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,show shun,show controllers,show
diagbus,more system:running-config,dir /all slavedisk0:,show debug,show
idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,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 controlle
rs cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,show redundancy secondary,show running-config,show c7200,dir
fwsmfw: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show
capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir
/all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config
view full,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,show shun,show controllers,show
diagbus,more system:running-config,dir /all slavedisk0:,show debug,show
idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,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 controlle
rs cbus,dir /all slaveslot1:,dir /all nvram:,show version,show
vlan-switch,show redundancy secondary,show running-config,show c7200,dir
fwsmfw: End of run not found
fwsmfw: End of run not found
!
$
How does one know exactly which of the aforementioned commands failed ? And once
this is known, where does one change (remove) the offending commands ?
Thanks!
-Alex
************** IMPORTANT MESSAGE *****************************
This e-mail message is intended only for the addressee(s) and contains
information which may be
confidential.
If you are not the intended recipient please advise the sender by return
email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
We can be contacted through our web site: commbank.com.au.
If you no longer wish to receive commercial electronic messages from us,
please reply to this
e-mail by typing Unsubscribe in the subject line.
**************************************************************
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2013-08-19 13:28:54 UTC
Permalink
Post by Wilkinson, Alex
That
clogin: not found
clogin must be in your path; like PATH set in your rancid.conf

Loading...