<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi Hugo,<BR>
<BR>
did you get the exit once you run /usr/lib/rancid/clogin -c "show clock" sw ? (It should run show clock, and then exit)<BR>
For debug, i was looking for information, and ended using (as should be in your case) "expect -d /usr/lib/rancid/clogin -c "show clock" sw " . This should help you to check what is happening when running the commands.<BR>
<BR>
Hope this help you.<BR>
Regards.<BR><BR> <BR>
<DIV>
> Date: Thu, 3 Nov 2011 15:03:53 +0100<BR>> From: hugo.deprez@gmail.com<BR>> To: rancid-discuss@shrubbery.net<BR>> Subject: [rancid] missed cmd(s): write term<BR>> <BR>> Dear community,<BR>> <BR>> I am trying to backup an equipment, but I encounter some trouble :<BR>> <BR>> The log file is reporting :<BR>> <BR>> <BR>> Trying to get all of the configs.<BR>> sw: missed cmd(s): write term<BR>> =====================================<BR>> Getting missed routers: round 1.<BR>> sw: missed cmd(s): write term<BR>> =====================================<BR>> Getting missed routers: round 2.<BR>> sw: missed cmd(s): write term<BR>> =====================================<BR>> Getting missed routers: round 3.<BR>> sw: missed cmd(s): write term<BR>> =====================================<BR>> Getting missed routers: round 4.<BR>> sw: missed cmd(s): write term<BR>> <BR>> So I checked that rancid was able to log on with the following command :<BR>> <BR>> /usr/lib/rancid/clogin -c "show clock" sw<BR>> <BR>> => It works. So no clogin issue.<BR>> <BR>> The equipement is a cisco 2960.<BR>> <BR>> I would like to enable debug mode for rancid-run in order to find what<BR>> is the problem.<BR>> <BR>> Any tips ?<BR>> <BR>> Regards<BR>> <BR>> Hugo<BR>> _______________________________________________<BR>> Rancid-discuss mailing list<BR>> Rancid-discuss@shrubbery.net<BR>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<BR></DIV>                                            </div></body>
</html>