[rancid] hlogin works, clogin fails: Why is clogin running?

Dave Ewart davee at ceu.ox.ac.uk
Tue Mar 3 09:34:11 UTC 2015


On Monday, 02.03.2015 at 14:35 -0800, Aaron C. de Bruyn wrote:

> I have a handful of Procurve switches that need to be backed up.
> 
> My router.db looks like this:
> 
> usancddswt01;hp;up
> usancssswt01;hp;up
> uscmdprswt01;hp;up
> useugofswt01;hp;up
> usggzsdswt01;hp;up
> ushqzofswt01;hp;up
> uslog00swt01;hp;up
> usloginswt01;hp;up
> uslogofswt01;hp;up
> ...etc...snip...
> 
> I can run:
> hlogin -c "show run" usancddswt01
> 
> ...and it connects, logs in, executes 'show run', and logs off...perfect.
> 
> When I run rancid-run however, it seems to be running clogin instead of hlogin.
> 
> Am I correct in thinking that hlogin should be running because
> router.db lists the switch type as 'hp'?
> 
> Am I missing something?

The separator characters in router.db should be ':' not ';' ... ?

Dave.

-- 
Dave Ewart
davee at ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
University of Oxford
N 51.7516, W 1.2152
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1530 bytes
Desc: Digital signature
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150303/959f02e2/attachment.sig>


More information about the Rancid-discuss mailing list