[rancid] Rancid - clogin -hangs on a cisco router

Lourdes Llorente lllorente at amadeus.com
Mon Jan 22 11:48:55 UTC 2007


Hi All...

Getting a problem with Rancid.
Rancid doesn't dowload the configurations. It hangs with "show running 
config"

Any ideas ? 
Rancid is: rancid-2.3.2a6
TCL is 8.5a4
Expect is 5.43
Solaris 8

Thanks for your help,
Cheers,



bash-3.00$ ./rancid -d atlrtp02
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" atlrtp02
PROMPT MATCH: ATLRTP02#
HIT COMMAND:ATLRTP02#admin show version
    In ShowVersion: ATLRTP02#admin show version
HIT COMMAND:ATLRTP02#show version
    In ShowVersion: ATLRTP02#show version
TYPE = 7200
HIT COMMAND:ATLRTP02#show redundancy secondary
    In ShowRedundancy: ATLRTP02#show redundancy secondary
HIT COMMAND:ATLRTP02#show idprom backplane
    In ShowIDprom: ATLRTP02#show idprom backplane
HIT COMMAND:ATLRTP02#show install active
    In ShowInstallActive: ATLRTP02#show install active
HIT COMMAND:ATLRTP02#admin show env all
    In ShowEnv: ATLRTP02#admin show env all
HIT COMMAND:ATLRTP02#show env all
    In ShowEnv: ATLRTP02#show env all
HIT COMMAND:ATLRTP02#show rsp chassis-info
    In ShowRSP: ATLRTP02#show rsp chassis-info
HIT COMMAND:ATLRTP02#show gsr chassis
    In ShowGSR: ATLRTP02#show gsr chassis
HIT COMMAND:ATLRTP02#show diag chassis-info
    In ShowGSR: ATLRTP02#show diag chassis-info
HIT COMMAND:ATLRTP02#show boot
    In ShowBoot: ATLRTP02#show boot
HIT COMMAND:ATLRTP02#show bootvar
    In ShowBoot: ATLRTP02#show bootvar
HIT COMMAND:ATLRTP02#admin show variables boot
    In ShowBoot: ATLRTP02#admin show variables boot
HIT COMMAND:ATLRTP02#show variables boot
    In ShowBoot: ATLRTP02#show variables boot
HIT COMMAND:ATLRTP02#show flash
    In ShowFlash: ATLRTP02#show flash
HIT COMMAND:ATLRTP02#dir /all nvram:
    In DirSlotN: ATLRTP02#dir /all nvram:
HIT COMMAND:ATLRTP02#dir /all bootflash:
    In DirSlotN: ATLRTP02#dir /all bootflash:
HIT COMMAND:ATLRTP02#dir /all slot0:
    In DirSlotN: ATLRTP02#dir /all slot0:
HIT COMMAND:ATLRTP02#dir /all disk0:
    In DirSlotN: ATLRTP02#dir /all disk0:
HIT COMMAND:ATLRTP02#dir /all slot1:
    In DirSlotN: ATLRTP02#dir /all slot1:
HIT COMMAND:ATLRTP02#dir /all disk1:
    In DirSlotN: ATLRTP02#dir /all disk1:
HIT COMMAND:ATLRTP02#dir /all slot2:
    In DirSlotN: ATLRTP02#dir /all slot2:
HIT COMMAND:ATLRTP02#dir /all disk2:
    In DirSlotN: ATLRTP02#dir /all disk2:
HIT COMMAND:ATLRTP02#dir /all harddisk:
    In DirSlotN: ATLRTP02#dir /all harddisk:
HIT COMMAND:ATLRTP02#dir /all harddiska:
    In DirSlotN: ATLRTP02#dir /all harddiska:
HIT COMMAND:ATLRTP02#dir /all harddiskb:
    In DirSlotN: ATLRTP02#dir /all harddiskb:
HIT COMMAND:ATLRTP02#dir /all sup-bootflash:
    In DirSlotN: ATLRTP02#dir /all sup-bootflash:
HIT COMMAND:ATLRTP02#dir /all sup-microcode:
    In DirSlotN: ATLRTP02#dir /all sup-microcode:
HIT COMMAND:ATLRTP02#dir /all slavenvram:
    In DirSlotN: ATLRTP02#dir /all slavenvram:
HIT COMMAND:ATLRTP02#dir /all slavebootflash:
    In DirSlotN: ATLRTP02#dir /all slavebootflash:
HIT COMMAND:ATLRTP02#dir /all slaveslot0:
    In DirSlotN: ATLRTP02#dir /all slaveslot0:
HIT COMMAND:ATLRTP02#dir /all slavedisk0:
    In DirSlotN: ATLRTP02#dir /all slavedisk0:
HIT COMMAND:ATLRTP02#dir /all slaveslot1:
    In DirSlotN: ATLRTP02#dir /all slaveslot1:
HIT COMMAND:ATLRTP02#dir /all slavedisk1:
    In DirSlotN: ATLRTP02#dir /all slavedisk1:
HIT COMMAND:ATLRTP02#dir /all slaveslot2:
    In DirSlotN: ATLRTP02#dir /all slaveslot2:
HIT COMMAND:ATLRTP02#dir /all slavedisk2:
    In DirSlotN: ATLRTP02#dir /all slavedisk2:
HIT COMMAND:ATLRTP02#dir /all slavesup-bootflash:
    In DirSlotN: ATLRTP02#dir /all slavesup-bootflash:
HIT COMMAND:ATLRTP02#dir /all sec-nvram:
    In DirSlotN: ATLRTP02#dir /all sec-nvram:
HIT COMMAND:ATLRTP02#dir /all sec-bootflash:
    In DirSlotN: ATLRTP02#dir /all sec-bootflash:
HIT COMMAND:ATLRTP02#dir /all sec-slot0:
    In DirSlotN: ATLRTP02#dir /all sec-slot0:
HIT COMMAND:ATLRTP02#dir /all sec-disk0:
    In DirSlotN: ATLRTP02#dir /all sec-disk0:
HIT COMMAND:ATLRTP02#dir /all sec-slot1:
    In DirSlotN: ATLRTP02#dir /all sec-slot1:
HIT COMMAND:ATLRTP02#dir /all sec-disk1:
    In DirSlotN: ATLRTP02#dir /all sec-disk1:
HIT COMMAND:ATLRTP02#dir /all sec-slot2:
    In DirSlotN: ATLRTP02#dir /all sec-slot2:
HIT COMMAND:ATLRTP02#dir /all sec-disk2:
    In DirSlotN: ATLRTP02#dir /all sec-disk2:
HIT COMMAND:ATLRTP02#show controllers
    In ShowContAll: ATLRTP02#show controllers
HIT COMMAND:ATLRTP02#show controllers cbus
    In ShowContCbus: ATLRTP02#show controllers cbus
HIT COMMAND:ATLRTP02#show diagbus
    In ShowDiagbus: ATLRTP02#show diagbus
HIT COMMAND:ATLRTP02#admin show diag
    In ShowDiag: ATLRTP02#admin show diag
HIT COMMAND:ATLRTP02#show diag
    In ShowDiag: ATLRTP02#show diag
HIT COMMAND:ATLRTP02#show module
    In ShowModule: ATLRTP02#show module
HIT COMMAND:ATLRTP02#show spe version
    In ShowSpeVersion: ATLRTP02#show spe version
HIT COMMAND:ATLRTP02#show c7200
    In ShowC7200: ATLRTP02#show c7200
HIT COMMAND:ATLRTP02#show inventory raw
    In ShowInventory: ATLRTP02#show inventory raw
HIT COMMAND:ATLRTP02#show vtp status
    In ShowVTP: ATLRTP02#show vtp status
HIT COMMAND:ATLRTP02#show vlan
    In ShowVLAN: ATLRTP02#show vlan
HIT COMMAND:ATLRTP02#show vlan-switch
    In ShowVLAN: ATLRTP02#show vlan-switch
HIT COMMAND:ATLRTP02#show debug
    In ShowDebug: ATLRTP02#show debug
HIT COMMAND:ATLRTP02#show running-config
    In WriteTerm: ATLRTP02#show running-config



The list of processes are:
bash-3.00$ ps -ef | grep rancid
  rancid  2675  2672  0 09:30:34 ?        0:01 /usr/local/sbin/sshd -R
  rancid  7356  7354  0 11:42:05 pts/4    0:00 telnet atlrtp02
  rancid  2678  2677  0 09:30:40 pts/1    0:00 /usr/local/bin/bash
  rancid  7352  7271 50 11:42:05 pts/8    6:03 /usr/bin/perl ./rancid -d 
atlrtp02
  rancid  2677  2675  0 09:30:35 pts/1    0:00 -sh
  rancid  7370  7351  0 11:48:24 pts/7    0:00 grep rancid
  rancid  7351  7350  0 11:41:16 pts/7    0:00 /usr/local/bin/bash
  rancid  7353  7352  0 11:42:05 pts/8    0:00 sh -c clogin -t 90 -c 
"admin show version;show version;show redundancy secondar
  rancid  7350  7348  0 11:41:13 pts/7    0:00 -sh
  rancid  2691  2689  0 09:34:03 pts/2    0:00 -sh
  rancid  7354  7353  0 11:42:05 pts/8    0:01 /usr/local/bin/expect -- 
/usr/local/rancid/bin/clogin -t 90 -c admin show versi
  rancid  7270  7268  0 11:10:19 pts/8    0:00 -sh
  rancid  7271  7270  0 11:10:23 pts/8    0:00 /usr/local/bin/bash
  rancid  2689  2686  0 09:34:03 ?        0:02 /usr/local/sbin/sshd -R
  rancid  7348  7345  0 11:41:12 ?        0:00 /usr/local/sbin/sshd -R
  rancid  7268  7265  0 11:10:19 ?        0:01 /usr/local/sbin/sshd -R
  rancid  2702  2691  0 09:44:25 pts/2    0:00 /usr/local/bin/bash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070122/9c6f1b4c/attachment.html 


More information about the Rancid-discuss mailing list