running rancid manually works, but not via do-diffs

john heasley heas at shrubbery.net
Wed Sep 17 20:32:29 UTC 2003


Wed, Sep 17, 2003 at 01:15:09PM -0700, Rizzo, Joe:
> I am setting up RANCID on a new system.  When do-diffs is ran a device
> does not get polled.  The error in the log is:
> vpwan01_eatx clogin error: Error: Connection closed (ssh): vpwan01_eatx
> vpwan01_eatx: missed cmd(s): show env all,show module,show
> controllers,show diagbus,show diag,dir /all disk1:,show gsr ch
> assis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir
> /all sup-bootflash:,dir /all slot2:,dir /all slo
> t0:,dir /all sup-microcode:,dir /all disk0:,show install active,show
> bootvar,show vlan,show controllers cbus,dir /all nvr
> am:,show flash,show version,show variables boot,show c7200,show boot,dir
> /all slot1:
> vpwan01_eatx: End of run not found
> 
> However rancid -d vpwan01_eatx produces no errors and generates healthy
> looking .raw and .new files.
> 
> Why would clogin/rancid work manually but not when do-diffs calls
> rancid/clogin?

dumb q, but are both instances (cron and manual) using ssh?

next, I would suspect pty handling by ssh - or maybe the terminal type
it ends-up with might be affecting it?

what o/s?  expect/etc versions?



More information about the Rancid-discuss mailing list