[rancid] rancid log file virtually empty ?

Antonio Quesada antonio.quesada at usan.com
Fri Nov 21 18:53:04 UTC 2014


Rancid 3.1…. replace the colons in router.db with semi-colons


Antonio Quesada

From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Gregg Douglas
Sent: Friday, November 21, 2014 6:34 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] rancid log file virtually empty ?

Hi,
I am trying to get Rancid to backup the config of a test cisco router, but I can't get it working.
I am running rancid 3.1 on OpenSuSE 13.2

When I run "rancid-run", all the log file shows:
starting: Fri Nov 21 08:04:28 SAST 2014



ending: Fri Nov 21 08:04:28 SAST 2014

My .cloginrc looks like this:
add method x.x.x.x ssh
add user x.x.x.x gregg
add password x.x.x.x gregg gregg
add autoenable x.x.x.x 0

My router.db looks like this:
172.17.144.50:cisco:up

I can run "clogin -f .cloginrc x.x.x.x" successfully:
x.x.x.x
spawn ssh -c 3des -x -l gregg x.x.x.x
gregg at x.x.x.x's<mailto:gregg at x.x.x.x's> password:
Type help or '?' for a list of available commands.
ciscoasa> enable
Password: *****
ciscoasa#
ciscoasa#

It looks like "rancid -d -t cisco x.x.x.x" is also successful:
rancid -d -t cisco x.x.x.x
loadtype: device type cisco
loadtype: found device type cisco in /usr/local/rancid/etc/rancid.types.base
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 switch detail;show sdm prefer;show system mtu;show debug;show shun;more system:running-config;show running-config view full;show running-config;write term" x.x.x.x
PROMPT MATCH: ciscoasa#
HIT COMMAND:ciscoasa#  show version
    In ShowVersion: ciscoasa#  show version
HIT COMMAND:ciscoasa# show redundancy secondary
    In ShowRedundancy: ciscoasa# show redundancy secondary
HIT COMMAND:ciscoasa# show idprom backplane
    In ShowIDprom: ciscoasa# show idprom backplane
HIT COMMAND:ciscoasa# show install active
    In ShowInstallActive: ciscoasa# show install active
HIT COMMAND:ciscoasa# show env all
    In ShowEnv: ciscoasa# show env all
HIT COMMAND:ciscoasa# show rsp chassis-info
    In ShowRSP: ciscoasa# show rsp chassis-info
HIT COMMAND:ciscoasa# show gsr chassis
    In ShowGSR: ciscoasa# show gsr chassis
HIT COMMAND:ciscoasa# show diag chassis-info
    In ShowGSR: ciscoasa# show diag chassis-info
HIT COMMAND:ciscoasa# show boot
    In ShowBoot: ciscoasa# show boot
HIT COMMAND:ciscoasa# show bootvar
    In ShowBoot: ciscoasa# show bootvar
HIT COMMAND:ciscoasa# show variables boot
    In ShowBoot: ciscoasa# show variables boot
HIT COMMAND:ciscoasa# show flash
    In ShowFlash: ciscoasa# show flash
HIT COMMAND:ciscoasa# dir /all nvram:
    In DirSlotN: ciscoasa# dir /all nvram:
HIT COMMAND:ciscoasa# dir /all bootflash:
    In DirSlotN: ciscoasa# dir /all bootflash:
HIT COMMAND:ciscoasa# dir /all slot0:
    In DirSlotN: ciscoasa# dir /all slot0:
HIT COMMAND:ciscoasa# dir /all disk0:
    In DirSlotN: ciscoasa# dir /all disk0:
HIT COMMAND:ciscoasa# dir /all slot1:
    In DirSlotN: ciscoasa# dir /all slot1:
HIT COMMAND:ciscoasa# dir /all disk1:
    In DirSlotN: ciscoasa# dir /all disk1:
HIT COMMAND:ciscoasa# dir /all slot2:
    In DirSlotN: ciscoasa# dir /all slot2:
HIT COMMAND:ciscoasa# dir /all disk2:
    In DirSlotN: ciscoasa# dir /all disk2:
HIT COMMAND:ciscoasa# dir /all harddisk:
    In DirSlotN: ciscoasa# dir /all harddisk:
HIT COMMAND:ciscoasa# dir /all harddiska:
    In DirSlotN: ciscoasa# dir /all harddiska:
HIT COMMAND:ciscoasa# dir /all harddiskb:
    In DirSlotN: ciscoasa# dir /all harddiskb:
HIT COMMAND:ciscoasa# dir /all sup-bootdisk:
    In DirSlotN: ciscoasa# dir /all sup-bootdisk:
HIT COMMAND:ciscoasa# dir /all sup-bootflash:
    In DirSlotN: ciscoasa# dir /all sup-bootflash:
HIT COMMAND:ciscoasa# dir /all sup-microcode:
    In DirSlotN: ciscoasa# dir /all sup-microcode:
HIT COMMAND:ciscoasa# dir /all slavenvram:
    In DirSlotN: ciscoasa# dir /all slavenvram:
HIT COMMAND:ciscoasa# dir /all slavebootflash:
    In DirSlotN: ciscoasa# dir /all slavebootflash:
HIT COMMAND:ciscoasa# dir /all slaveslot0:
    In DirSlotN: ciscoasa# dir /all slaveslot0:
HIT COMMAND:ciscoasa# dir /all slavedisk0:
    In DirSlotN: ciscoasa# dir /all slavedisk0:
HIT COMMAND:ciscoasa# dir /all slaveslot1:
    In DirSlotN: ciscoasa# dir /all slaveslot1:
HIT COMMAND:ciscoasa# dir /all slavedisk1:
    In DirSlotN: ciscoasa# dir /all slavedisk1:
HIT COMMAND:ciscoasa# dir /all slaveslot2:
    In DirSlotN: ciscoasa# dir /all slaveslot2:
HIT COMMAND:ciscoasa# dir /all slavedisk2:
    In DirSlotN: ciscoasa# dir /all slavedisk2:
HIT COMMAND:ciscoasa# dir /all slavesup-bootflash:
    In DirSlotN: ciscoasa# dir /all slavesup-bootflash:
HIT COMMAND:ciscoasa# dir /all sec-nvram:
    In DirSlotN: ciscoasa# dir /all sec-nvram:
HIT COMMAND:ciscoasa# dir /all sec-bootflash:
    In DirSlotN: ciscoasa# dir /all sec-bootflash:
HIT COMMAND:ciscoasa# dir /all sec-slot0:
    In DirSlotN: ciscoasa# dir /all sec-slot0:
HIT COMMAND:ciscoasa# dir /all sec-disk0:
    In DirSlotN: ciscoasa# dir /all sec-disk0:
HIT COMMAND:ciscoasa# dir /all sec-slot1:
    In DirSlotN: ciscoasa# dir /all sec-slot1:
HIT COMMAND:ciscoasa# dir /all sec-disk1:
    In DirSlotN: ciscoasa# dir /all sec-disk1:
HIT COMMAND:ciscoasa# dir /all sec-slot2:
    In DirSlotN: ciscoasa# dir /all sec-slot2:
HIT COMMAND:ciscoasa# dir /all sec-disk2:
    In DirSlotN: ciscoasa# dir /all sec-disk2:
HIT COMMAND:ciscoasa# show controllers
    In ShowContAll: ciscoasa# show controllers
HIT COMMAND:ciscoasa# show controllers cbus
    In ShowContCbus: ciscoasa# show controllers cbus
HIT COMMAND:ciscoasa# show diagbus
    In ShowDiagbus: ciscoasa# show diagbus
HIT COMMAND:ciscoasa# show diag
    In ShowDiag: ciscoasa# show diag
HIT COMMAND:ciscoasa# show capture
    In ShowCapture: ciscoasa# show capture
HIT COMMAND:ciscoasa# show module
    In ShowModule: ciscoasa# show module
HIT COMMAND:ciscoasa# show spe version
    In ShowSpeVersion: ciscoasa# show spe version
HIT COMMAND:ciscoasa# show c7200
    In ShowC7200: ciscoasa# show c7200
HIT COMMAND:ciscoasa# show inventory raw
    In ShowInventory: ciscoasa# show inventory raw
HIT COMMAND:ciscoasa# show vtp status
    In ShowVTP: ciscoasa# show vtp status
HIT COMMAND:ciscoasa# show vlan
    In ShowVLAN: ciscoasa# show vlan
HIT COMMAND:ciscoasa# show vlan-switch
    In ShowVLAN: ciscoasa# show vlan-switch
HIT COMMAND:ciscoasa# show switch detail
    In ShowDetail: ciscoasa# show switch detail
HIT COMMAND:ciscoasa# show sdm prefer
    In ShowSDM: ciscoasa# show sdm prefer
HIT COMMAND:ciscoasa# show system mtu
    In ShowMTU: ciscoasa# show system mtu
HIT COMMAND:ciscoasa# show debug
    In ShowDebug: ciscoasa# show debug
HIT COMMAND:ciscoasa# show shun
    In ShowShun: ciscoasa# show shun
HIT COMMAND:ciscoasa# more system:running-config
    In WriteTerm: ciscoasa# more system:running-config
HIT COMMAND:ciscoasa# show running-config view full
    In WriteTerm: ciscoasa# show running-config view full
HIT COMMAND:ciscoasa# show running-config
    In WriteTerm: ciscoasa# show running-config
HIT COMMAND:ciscoasa# write term
    In WriteTerm: ciscoasa# write term

Any help will be gladly appricated.
Thanks
Gregg
This communication, and any attachments, is intended solely for the use of the individual or entity to which it is addressed and contains information that is proprietary, privileged and confidential. If you are not the intended recipient or the person responsible for delivering this communication to the intended recipient, you are prohibited from retaining, using, disseminating, forwarding, printing or copying this communication. If you have received this communication in error, please immediately notify the sender via return e-mail or telephone and delete the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20141121/6b87da6d/attachment.html>


More information about the Rancid-discuss mailing list