[rancid] Setup issue

heasley heas at shrubbery.net
Sat May 3 14:44:03 UTC 2014


Sat, May 03, 2014 at 07:45:40AM -0400, Michael T. Voity:
> Alan,
> 
> I ran the xrancid and was given this -

sorry, i didnt notice this detail in Alan's mail; xrrancid does not exist
enymore in 3.0.  run rancid -t cisco-xr -d watt-uvm-gw3-200.3.uvm.edu

clogin -c "`rancid -C -t cisco-xr`" watt-uvm-gw3-200.3.uvm.edu

> [rancid at netwatch bin]$ ./xrancid -d watt-uvm-gw3-200.3.uvm.edu
> executing clogin -t 90 -c "show version;show memory;show diag;show 
> switch;show slot;show configuration detail;show configuration" 
> watt-uvm-gw3-200.3.uvm.edu
> sh: clogin: command not found
> watt-uvm-gw3-200.3.uvm.edu: missed cmd(s): all commands
> watt-uvm-gw3-200.3.uvm.edu: End of run not found
> watt-uvm-gw3-200.3.uvm.edu: End of run not found
> 
> Then I ran just -
> 
> ./clogin -t 90 -c "show version;show memory;show diag;show switch;show 
> slot;show configuration detail;show configuration" 
> watt-uvm-gw3-200.3.uvm.edu
> 
> And determined that-  show switch;show slot;show configuration 
> detail;show configuration did not run.
> 
> 
> Ideas?
> 
> -Mike
> 
> 
> Michael T. Voity
> Network Engineer
> University of Vermont
> 
> On 5/3/14, 2:43 AM, Alan McKinnon wrote:
> > That's the standard log message you posted; for debugging purposes it's
> > not especially useful. It's telling you that stuff didn't work and then
> > lists all the stuff that didn't work. It doesn't indicate why.
> >
> > Run the parser script directly in debug mode to find out what's really
> > going on.
> >
> > xrrancid -d <hostname>
> >
> >
> > This might not give you the real failure yet, but it will narrow it down
> > to which area the problem happens in.
> >
> >
> > On 02/05/2014 21:11, Michael T. Voity wrote:
> >> Hello,
> >>
> >> I'm new to the RANCID realm.   Before posting to this list I have done
> >> my research and cannot quite seem to get the right answer to my issue.
> >>
> >> I'm trying to get RANCID to work with my Cisco ASR9001 which has ios-xr -
> >>
> >> In the log file i get these messages -
> >>
> >> Trying to get all of the configs.
> >> swick-uvm-gw2: missed cmd(s): dir /all disk1a:,admin show diag,dir /all
> >> slavedisk2:,dir /all sec-slot2:,dir /all disk1:,dir /all sec-nvram:,dir
> >> /all disk2:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all
> >> disk0:,dir /all compactflasha:,dir /all slaveslot0:,dir /all
> >> sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all
> >> sec-disk2:,dir /all sec-disk0:,dir /all harddiskb:,dir /all
> >> slavedisk1:,show controllers,show rpl maximum,dir /all slavedisk0:,show
> >> debug,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,dir
> >> /all disk0a:,dir /all slot2:,dir /all compactflash:,dir /all
> >> harddisk:,dir /all slot0:,admin show running,show vlan,dir /all
> >> slavebootflash:,dir /all slaveslot1:,dir /all nvram:,admin show
> >> inventory raw,show running-config,dir /all slot1:
> >> swick-uvm-gw2: End of run not found
> >> !
> >> watt-uvm-gw3: missed cmd(s): dir /all disk1a:,admin show diag,dir /all
> >> slavedisk2:,dir /all sec-slot2:,dir /all disk1:,dir /all sec-nvram:,dir
> >> /all disk2:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all
> >> disk0:,dir /all compactflasha:,dir /all slaveslot0:,dir /all
> >> sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all
> >> sec-disk2:,dir /all sec-disk0:,dir /all harddiskb:,dir /all
> >> slavedisk1:,show controllers,show rpl maximum,dir /all slavedisk0:,show
> >> debug,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,dir
> >> /all disk0a:,dir /all slot2:,dir /all compactflash:,dir /all
> >> harddisk:,dir /all slot0:,admin show running,show vlan,dir /all
> >> slavebootflash:,dir /all slaveslot1:,dir /all nvram:,admin show
> >> inventory raw,show running-config,dir /all slot1:
> >> watt-uvm-gw3: End of run not found
> >> !
> >>
> >>
> >> When i switch it from ios-xr to ios in the router.db file, it works, but
> >> every time I run the rancid-run it gives me a huge diff of the ios-xr
> >> routers.
> >>
> >> I have also un-commented  NOPIPE=YES; export NOPIPE
> >>
> >> I have setup my ios-xr routers in a separate group.
> >>
> >> Still no dice.
> >>
> >> I have a separate group for my ios devices that is working fine.
> >>
> >> ideas?
> >>
> >> -Mike
> >>
> >
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss


More information about the Rancid-discuss mailing list