[rancid] missed cmd(s): write term
Sutherland, James
jamess at newedgenetworks.com
Fri Dec 4 16:47:13 UTC 2009
Suddenly rancid cannot talk to one of my routers. Router is a 7206,
just like many others. clogin against this router works fine. A packet
trace shows that all the data gets sent to rancid, even on write term
the routers sends it whole config and rancid sends "exit" after that.
Here is what the logs show. Anyone have any ideas?
The router that doesn't work is called "van-priv1" look for that string
in the logs below.
--log output-
starting: Fri Dec 4 08:17:39 PST 2009
Trying to get all of the configs.
write(spawn_id=4): invalid argument
while executing
"send -h "exit\r""
invoked from within
"expect -nobrace -re {^[^
^M *]*van-priv1([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {
# the Cisco CE and Jnx
ERX
# return to
non-enabled mode
..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" {
# the Cisco CE and Jnx
ERX
# return to
non-enabled mode
# on exit in enabled
mode.
..."
(procedure "run_commands" line 110)
invoked from within
"run_commands $prompt $command"
("foreach" body line 152)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/opt/rancid/bin/clogin" line 734)
van-priv1.net.newedgenetworks.com: missed cmd(s): write term
=====================================
Getting missed routers: round 1.
write(spawn_id=4): invalid argument
while executing
"send -h "exit\r""
invoked from within
"expect -nobrace -re {^[^
^M *]*van-priv1([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {
# the Cisco CE and Jnx
ERX
# return to
non-enabled mode
..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" {
# the Cisco CE and Jnx
ERX
# return to
non-enabled mode
# on exit in enabled
mode.
..."
(procedure "run_commands" line 110)
invoked from within
"run_commands $prompt $command"
("foreach" body line 152)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/opt/rancid/bin/clogin" line 734)
van-priv1.net.newedgenetworks.com: missed cmd(s): write term
cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs
ending: Fri Dec 4 08:18:15 PST 2009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091204/8df47056/attachment.html
More information about the Rancid-discuss
mailing list