[rancid] End of Run Not found [New device type]

Network Geni networkgeni at gmail.com
Mon Jan 24 12:25:14 UTC 2011


Dear Friends,

I have a device which has cisco like command syntax and format.   I have
tried to copy cisco login/scripts and created it as new device type.

however i am getting problem in fetching configuration with it. Its showing
following messages in logs

=====================================
Getting missed routers: round 4.
testrouter: End of run not found
Error: TIMEOUT reached


On running in Debugg mode i get the below pasted output. Which shows that
there is issue with --MORE-- comming and requiring to press SPACE bar.

Another thing i noticed is that Cisco running-config Ends with the Keyword
"end" where as this device ends with exclimation mark with end like "!end"



Can someone tell me how can i fix it???

-----------------------------

expect: does "---MORE---\r" (spawn_id exp6) match regular expression
"\u0008+"? no
"^[^\n\r *]*router([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? no
"^[^\n\r]*router([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? yes
expect: set expect_out(0,string) "\r"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "---MORE---\r"
expect: continuing expect
expect: does "" (spawn_id exp6) match regular expression "\u0008+"? no
"^[^\n\r *]*router([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? no
"^[^\n\r]*router([^#>\r\n]+)?[#>](\([^)\r\n]+\))?."? no
"^--More--[\r\n]+"? no
"[\n\r]+"? no
"[^\r\n]*Press <SPACE> to cont[^\r\n]*"? no
"^ *--More--[^\n\r]*"? no
"^<-+ More -+>[^\n\r]*"? no

expect: timed out
Error: TIMEOUT reached
write() failed to write anything - will sleep(1) and retry...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20110124/7f79a90f/attachment.html>


More information about the Rancid-discuss mailing list