Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

clogin gave error password

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


bighorn5971 at yahoo

May 17, 2011, 9:54 PM

Post #1 of 2 (699 views)
Permalink
clogin gave error password

Hi,

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] mycompan bin]$ clogin clientA
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] mycompan bin]$ ssh rancid@ clientA rancid@ clientA 's password:

clientA -PE01>

Here are some rancid files for your reference.
Router.db
clientA:cisco:up
clientB:cisco:up

.cloginrc
# 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

Log
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?


-Zul-

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


roger113447 at hotmail

May 19, 2011, 1:25 AM

Post #2 of 2 (669 views)
Permalink
clogin gave error password [In reply to]

salut,

tries with a hostname.
before, filled the hosts file.

@+


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.