[rancid] Re: FW: ERROR in rancid.......PLZ...Help..............................

john heasley heas at shrubbery.net
Fri May 14 15:19:33 UTC 2010


Fri, May 14, 2010 at 05:15:02PM +0200, Drikus Brits:
> HI,
> 
> Using the clogin command will only log you into the router, and won't retrieve and store the configs by itself. That is what the rancid portion does.
> 
> Looking below, you need to remove the priviledge level 15 from your user and let rancid log in using the enable command, if not this way , then you need to set your router to autoenable in the .cloginrc file.
> 
> Configure your rancid portion next......this will then automagically retrieve and store your configs....
> 
> Try this using "rancid-run" once you have set it up......
> 
> Regards,
> 
> Drikus
> 
> 
> 
> 
> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Smokeping slt
> Sent: Friday, May 14, 2010 2:17 PM
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] FW: ERROR in rancid.......PLZ...Help..............................
> 
> 
> hi
> 
> im having problem when connecting to the cisco 1841 router.I configured AAA in this and ssh enable.
> 
> i created local user account of priviledge level 15 and password configured.
> 
> then i configuerd the  vi .cloginrc file like following
> 
> add user          192.168.1.1     testuser
> add password   192.168.1.1     testpassword       testenablepassword
> add method      192.168.1.1     telnet

you need autoenable set; see cloginrc(5).

> then i test the connection
> 
> RANCID#bin/clogin 192.168.1.1
> 192.168.1.1
> spawn telnet 192.168.1.1
> Trying 10.96.140.1...
> Connected to 192.168.1.1 (192.168.1.1).
> Escape character is '^]'.
> 
> User Access Verification
> Username: test
> Password:
> TestRouter#
            ^

> then i check the config file. but i saw empty file called 192.168.1.1 . no any config inculded with the file .
> 
> herewith i attach my log file . plz be kind enough to help me
> 
> vi networking.20100514.172830
> 
> starting: Fri May 14 17:44:23 IST 2010
> hourly config diffs failed: /tmp/.networking.run.lock exists
> -rw-r----- 1 rancid netadm 0 May 14 17:28 /tmp/.networking.run.lock
> ending: Fri May 14 17:44:23 IST 2010
> 
> 
> tnx
> ________________________________
> Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up now.<https://signup.live.com/signup.aspx?id=60969>
> 
> “This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "

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


More information about the Rancid-discuss mailing list