[rancid] Rancid Hung

Ho Siew Fah hoswfh at gmail.com
Tue Jul 3 01:43:21 UTC 2007


Hi,

I encountered rancid hung after running the following command. I need to
kill the rancid process in order to exit from this process.
When I put this switch in router.db, I received many rancid hung emails from
rancid. Upon checking, I found that the process of this switch hanged which
caused my rancid could not be processed properly. I have to remove a lock
file from /tmp folder and also this switch from router.db in order not to
cause any processing problem for other routers.

I am using expect-5.43.0_3 and rancid-2.3.1_2.

Can anybody advise how to stop this process for being hung? I think this
process should abort if there is any problem instead of hanging there.

Thank you.

[rancid at rcd ~]$ /usr/local/libexec/rancid/xrancid -d sngc3-as2.com
executing clogin -t 90 -c "show version;show memory;show diag;show
switch;show slot;show configuration detail;show configuration" sngc3-as2.com

sngc3-as2.com clogin error: Error: TIMEOUT reached
sngc3-as2.com clogin error: Error: TIMEOUT reached
can not find channel named "exp4"
    while executing
"close"
    ("foreach" body line 117)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # Figure out prompt.
    # Since autoena..."
    (file "/usr/sbin/clogin" line 616)

^Csngc3-as2.com <http://csngc3-as2.com/>: missed cmd(s): show configuration
detail,show slot,show configuration,show version,show diag,show memory,show
switch
sngc3-as2.com : missed cmd(s): show configuration detail,show slot,show
configuration,show version,show diag,show memory,show switch
sngc3-as2.com: End of run not found
sngc3-as2.com: End of run not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070703/f725c584/attachment.html 


More information about the Rancid-discuss mailing list