[rancid] Re: Broken pipes in rancid log

Todd Heide Todd at equivoice.com
Tue Feb 24 22:05:08 UTC 2009


Found the cause of the below problem, darned authorization, grr. I have
a new one that hopefully someone has an answer for.

 

I did a tail -f while I ran rancid-run Customer_Routers, and when the
log stopped scrolling, I did a ^C in the window I did the run and got, 

 

Received signal - ending run (1).

=====================================

Getting missed routers: round 1.

 

Then when it reached the last router in the list again that it couldn't
log into, I did ^C again and got,

 

Received signal - ending run (1).

 

cvs diff: Diffing .

cvs diff: Diffing configs

cvs commit: Examining .

cvs commit: Examining configs

Checking in router.db;

/usr/local/rancid/var/CVS/Customer_Routers/router.db,v  <--  router.db
new revision: 1.6; previous revision: 1.5 done Checking in
configs/trinity-421-1841;
/usr/local/rancid/var/CVS/Customer_Routers/configs/trinity-421-1841,v
<--  trinity-421-1841 new revision: 1.2; previous revision: 1.1 done
Checking in configs/trinity-532-1841;
/usr/local/rancid/var/CVS/Customer_Routers/configs/trinity-532-1841,v
<--  trinity-532-1841 new revision: 1.2; previous revision: 1.1 done

ls: default-2611-park: No such file or directory

ls: ave.hosts.equivoice.com: No such file or directory

 

 

It seems to be waiting for something for some reason before it continues
on. When I send control c it continues on again. It is only doing it for
this group, the other groups seem to be OK. Could it be the amount of
times it hits clogin error: Error: while running? 

 

When I do the ^C it has completed polling of all devices and I can see
updates for all of them. 

 

Thanks

Todd 

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Todd Heide
Sent: Tuesday, February 24, 2009 7:52 AM
To: Rancid-discuss at shrubbery.net
Subject: [rancid] Broken pipes in rancid log

 

I have been having some issues with the Customer_Routers group not
completing, and thought I had made headway when one actually completed
yesterday, but this morning I noticed it hasn't updated since then. I
reviewed the last log before the lock file occurred and found what
appears to be errors. 

 

write(spawn_id=1): broken pipe

    while executing

"send_user -- "$expect_out(buffer)""

    invoked from within

"expect -nobrace -re+ { exp_continue } -re {^[^

 *]*CBCountyFar([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"

                                                } -re {..."

    invoked from within

"expect {

            -re "\b+"                           { exp_continue }

            -re "^\[^\n\r *]*$reprompt"         { send_user --
"$expect_out(buffer)"

                                                }

            -re "^\[^\n\r]*$reprom..."

    (procedure "run_commands" line 41)

    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 "/usr/local/rancid/bin/clogin" line 715)

write(spawn_id=1): broken pipe

    while executing

"send_user -- "$expect_out(buffer)""

    invoked from within

"expect -nobrace -re+ { exp_continue } -re {^[^

 *]*CBWheaton-2([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"

                                                } -re {..."

    invoked from within

"expect {

            -re "\b+"                           { exp_continue }

            -re "^\[^\n\r *]*$reprompt"         { send_user --
"$expect_out(buffer)"

                                                }

            -re "^\[^\n\r]*$reprom..."

    (procedure "run_commands" line 41)

    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 "/usr/local/rancid/bin/clogin" line 715)

 

There are several more, not as much info as this, but pretty similar. 

 

Thanks

Todd 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090224/c3e47a26/attachment.html 


More information about the Rancid-discuss mailing list