for some reason I don't see that my message was posted, re-sending.<br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Yuval Ben Ari</b> <<a href="mailto:yuval.ben.ari@gmail.com">yuval.ben.ari@gmail.com</a>><br>Date: Nov 27, 2007 5:08 PM
<br>Subject: problem collecting config from ERX E320 ver 7.3.2<br>To: <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br><br><br>
<div>Hi,</div>
<div> </div>
<div>I am trying to add an ERX and it fails to fetch the config.</div>
<div>in the router.db I added it as:</div>
<div>erxhostname:erx:up</div>
<div> </div>
<div>but I am getting "config fetcher problems" for the device</div>
<div> </div>
<div>doing manuall test I am able to:</div>
<div>1. clogin erx</div>
<div>2. clogin -c 'show confi' erx</div>
<div>all looks ok</div>
<div> </div>
<div>but on var/logs I can see following:</div>
<div> </div>
<div>Trying to get all of the configs.<br>erx_name clogin error: Error: Connection closed (telnet): erx_name<br>erx_name: missed cmd(s): show environment all,show configuration,show redundancy,show version,show hardware,show boot,dir
<br>erx_name: End of run not found<br>!<br>=====================================<br>Getting missed routers: round 1.<br>write(spawn_id=1): broken pipe<br> while executing<br>"send_user -- "$expect_out(buffer)""
<br> invoked from within<br>"expect -nobrace -re ^H+ { exp_continue } -re {^[^<br>^M *]*MyPrompt([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- "$expect_out(buffer)"<br> } -re {^..."
<br> invoked from within<br>"expect {<br> -re "\b+" { exp_continue }<br> -re "^\[^\n\r *]*$reprompt" { send_user -- "$expect_out(buffer)"
<br> }<br> -re "^\[^\n\r]*$reprompt." { send..."<br> invoked from within<br>"if [ string match "*\;*" "$command" ] {
<br> set commands [split $command \;]<br> set num_commands [llength $commands]<br> # the pager can not be turned off on ..."<br> (procedure "run_commands" line 34)<br> invoked from within
<br>"run_commands $prompt $command"<br> ("foreach" body line 144)<br> invoked from within<br>"foreach router [lrange $argv $i end] {<br> set router [string tolower $router]<br> send_user "$router\n"
</div>
<div> # Figure out prompt.<br> # Since autoena..."<br> (file "/home/rancid/bin/clogin" line 616)^M<br>erx_name: missed cmd(s): show configuration,show hardware,dir<br>erx_name: End of run not found
<br>! srp redundancy: mode is high-availability, state active<br>=====================================<br></div>
<div>where should I check next?</div>
<div> </div>
<div>Thanks</div><font color="#888888">
<div>Yuval</div></font></div><br>