Problem with RANCID on RH 9.0
Shrimpton, Craig
CShrimpt at INTERGEN.com
Wed Nov 12 14:09:17 UTC 2003
Folks,
I've set up RANCID on a RH 9.0 machine and everything appears to work with
the exception of writing the configs it retrieves. I'm thinking it has
something to do with creating the temp files but I'm not sure. I can use
clogin to access my router and enter commands. I can also run rancid
directly and it will create a ".new" file in the rancid/bin directory.
However, running do-diffs produces no output.
While do-diffs is running, I can see the logon process at the router, but I
don't see any temp files created and my config file in CVS remains at zero
bytes. If anyone has some ideas on how to trouble shoot this, I'd
appreciate it.
I've include to logs below. The first is created from do-diffs and the
second from running rancid directly. Note that running rancid directly will
create a "burcr05.intergen.com.new" file in the bin directory.
Thanks,
Craig
-----------------------------------------------
Here are the results from "do-diffs." Notice it contains references to
missed commands. I can run those commands directly from clogin so I'm not
sure about the significance of that error.
::::::::::::::
routers.20031111.200642
::::::::::::::
starting: Tue Nov 11 20:06:42 EST 2003
Trying to get all of the configs.
Starting rancid-fe \burcr05.intergen.com:cisco: process id=12126
logfile=running.0
0/5: burcr05.intergen.com:cisco: id=12126, log=running.0
All work assigned. Waiting for remaining processes.
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
12126 finished (logfile running.0)
Complete
=====================================
Getting missed routers: round 1.
Starting rancid-fe \burcr05.intergen.com:cisco: process id=12136
logfile=running.0
0/5: burcr05.intergen.com:cisco: id=12136, log=running.0
All work assigned. Waiting for remaining processes.
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
12136 finished (logfile running.0)
Complete
=====================================
Getting missed routers: round 2.
Starting rancid-fe \burcr05.intergen.com:cisco: process id=12148
logfile=running.0
0/5: burcr05.intergen.com:cisco: id=12148, log=running.0
All work assigned. Waiting for remaining processes.
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
12148 finished (logfile running.0)
Complete
=====================================
Getting missed routers: round 3.
Starting rancid-fe \burcr05.intergen.com:cisco: process id=12160
logfile=running.0
0/5: burcr05.intergen.com:cisco: id=12160, log=running.0
All work assigned. Waiting for remaining processes.
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
12160 finished (logfile running.0)
Complete
=====================================
Getting missed routers: round 4.
Starting rancid-fe \burcr05.intergen.com:cisco: process id=12172
logfile=running.0
0/5: burcr05.intergen.com:cisco: id=12172, log=running.0
All work assigned. Waiting for remaining processes.
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
12172 finished (logfile running.0)
Complete
/usr/local/rancid/bin/rename: *.new: No such file or directory
cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs
Checking in router.db;
/usr/local/rancid/CVS/routers/router.db,v <-- router.db
new revision: 1.3; previous revision: 1.2
done
/home/rancid/dead.letter... Saved message in /home/rancid/dead.letter
ending: Tue Nov 11 20:07:23 EST 2003
-------------------------------------------------------------
Here are the results from "rancid -d -l burcr05.intergen.com"
executing clogin -t 90 -c"show version;show install active;show env all;show
gsr chassis;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
sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers
cbus;show diagbus;show diag;show module;show c7200;show vtp status;show
vlan;write term" burcr05.intergen.com
executing clogin -t 90 -c"show version;show install active;show env all;show
gsr chassis;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
sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers
cbus;show diagbus;show diag;show module;show c7200;show vtp status;show
vlan;write term" burcr05.intergen.com
HIT COMMAND:BURCR05#show version
In ShowVersion: BURCR05#show version
TYPE = 3600
HIT COMMAND:BURCR05#show env all
In ShowEnv: BURCR05#show env all
HIT COMMAND:BURCR05#show gsr chassis
In ShowGSR: BURCR05#show gsr chassis
HIT COMMAND:BURCR05#show boot
In ShowBoot: BURCR05#show boot
HIT COMMAND:BURCR05#show bootvar
In ShowBoot: BURCR05#show bootvar
HIT COMMAND:BURCR05#show variables boot
In ShowBoot: BURCR05#show variables boot
HIT COMMAND:BURCR05#show flash
In ShowFlash: BURCR05#show flash
HIT COMMAND:BURCR05#dir /all nvram:
In DirSlotN: BURCR05#dir /all nvram:
HIT COMMAND:BURCR05#dir /all bootflash:
In DirSlotN: BURCR05#dir /all bootflash:
HIT COMMAND:BURCR05#dir /all slot0:
In DirSlotN: BURCR05#dir /all slot0:
HIT COMMAND:BURCR05#dir /all disk0:
In DirSlotN: BURCR05#dir /all disk0:
HIT COMMAND:BURCR05#dir /all slot1:
In DirSlotN: BURCR05#dir /all slot1:
HIT COMMAND:BURCR05#dir /all disk1:
In DirSlotN: BURCR05#dir /all disk1:
HIT COMMAND:BURCR05#dir /all slot2:
In DirSlotN: BURCR05#dir /all slot2:
HIT COMMAND:BURCR05#dir /all disk2:
In DirSlotN: BURCR05#dir /all disk2:
HIT COMMAND:BURCR05#dir /all sup-bootflash:
In DirSlotN: BURCR05#dir /all sup-bootflash:
HIT COMMAND:BURCR05#dir /all sup-microcode:
In DirSlotN: BURCR05#dir /all sup-microcode:
HIT COMMAND:BURCR05#show controllers
In ShowContAll: BURCR05#show controllers
HIT COMMAND:BURCR05#show diagbus
In ShowDiagbus: BURCR05#show diagbus
HIT COMMAND:BURCR05#show module
In ShowModule: BURCR05#show module
HIT COMMAND:BURCR05#show c7200
In ShowC7200: BURCR05#show c7200
HIT COMMAND:BURCR05#show vtp status
In ShowVTP: BURCR05#show vtp status
HIT COMMAND:BURCR05#show vlan
In ShowVLAN: BURCR05#show vlan
HIT COMMAND:BURCR05#write term
In WriteTerm: BURCR05#write term
Done : BURCR05#exit
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
burcr05.intergen.com: missed cmd(s): show diag,show install active,show
controllers cbus
More information about the Rancid-discuss
mailing list