[rancid] clogin gave error password

BigHorn bighorn5971 at yahoo.com
Wed May 18 04:54:34 UTC 2011


I’m using rancid-2.3.3 and freeradius-1.1.3-1.6.el5. Both installed at different machines. My problem is whenever I test rancid it gave error below….clientA is my cisco router...clogin seems can't get authentication from radius..

[rancid at mycompany bin]$ clogin clientA
spawn telnet clientA
Trying x.x.x.34...
telnet: connect to address x.x.x.34: Connection refused
telnet: Unable to connect to remote host: Connection refused spawn ssh -c 3des -x -l rancid clientA rancid@ clientA 's password:
Permission denied, please try again.

Error: Check your passwd for clientA

I’ve checked in my radius that the password is correct…in fact if I try ssh to clientA from my rancid machine everything is ok….

[rancid at mycompany bin]$ ssh rancid@ clientA rancid@ clientA 's password:

clientA -PE01>

Here are some rancid files for your reference.

# clientA
# these routers ask for a username and password.  we automatically get # enable access after successful authentication.
add user clientA               rancid
add password clientA     mypassword
#add autoenable clientA              1

# clientB
# these routers ask for a username and password.  we automatically get # enable access after successful authentication.
add user clientB                rancid
add password clientB     mypassword
#add autoenable clientB               1

Trying to get all of the configs.
clientA clogin error: Error: Check your passwd for clientA
clientA: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
 controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,admin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:
clientA: End of run not found

Some radius file for your checking….

rancid                     Auth-Type := System
                                 Service-Type = NAS-Prompt-User,
                                 cisco-avpair = "shell:priv-lvl=15"

client     x.x.x.x {
                secret = secret_pass
                shortname = clientA-PE01
                nastype = cisco

What could possibly cause the problem here?can anyone help me on this?


More information about the Rancid-discuss mailing list