[rancid] Re: Applying Expect Patch Manually

mv652 at softhome.net mv652 at softhome.net
Tue Dec 1 14:40:44 UTC 2009


Scratch the post below, I just read a reply to someone else's post and the 
solution was there (I had to autoenable <device name>). 


Regards and thanks, 

 

mv652 at softhome.net writes: 

> Thanks.  
> 
> Ok, I couldn't work out how to correctly patch the already-installed expect 
> 5.43.0-5.1, so I uninstalled it and tcl 8.4.13-4.el5 and used the 
> pre-patched versions from your FTP site.  
> 
> They both seemed to compile and install fine.  
> 
> Unfortunately I am still have a 'freezing' with two CISCO 800 devices.  I 
> have 3 catalyst switches (4948 and 3750) and two routers (2811) which work 
> fine.  
> 
> The only difference with the CISCO 800 is that there is a <username> 
> <password> to login rather than simply a <password>.  
> 
> 
> The log file from rancid-run shows:
> clogin error: Error: TIMEOUT reached
> .....
> <cisco-800>: End of run not found  
> 
> 
> A clogin test shows:  
> 
> ./clogin <cisco-800>
> <cisco-800>  
> 
> spawn telnet <cisco-800>
> Trying 172.16.11.1...
> Connected to <cisco-800> (172.16.11.1).
> Escape character is '^]'.  
> 
> 
> User Access Verification  
> 
> Username: administrator
> Password:  
> 
> <cisco-800>#  
> 
> and then it just stays there.  I thought that maybe it was the expect bug 
> mentioned on your website, but it seems the freeze is still happening.  
> 
> 
> Could someone advise on what to check next?  
> 
> 
> Mario  
> 
>   
> 
> john heasley writes:  
> 
>> Fri, Nov 27, 2009 at 11:30:30AM -0700, mv652 at softhome.net:
>>> Hello,   
>>> 
>>> Please excuse this mail if this has been answered before, but I have 
>>> completed a new rancid install and only need to apply the expect patch 
>>> (running on Linux).   
>>> 
>>> Could someone please provide the syntax to apply the patch manually? 
>> 
>> see patch(1).  
>> 
>>> I'm running expect 5.43 on CentOS.   
>>> 
>>>    
>>> 
>>> Thank you,
>>> Mario   
>>> 
>>> _______________________________________________
>>> Rancid-discuss mailing list
>>> Rancid-discuss at shrubbery.net
>>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>  
> _______________________________________________
> 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