<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'>
Maybe trying to run write term gives you an error.<BR>
Run it, and see what happens.<BR>
<BR>
Regards<BR>
Mario<BR> <BR>
<DIV>
> Date: Thu, 3 Nov 2011 18:29:25 +0100<BR>> Subject: Re: [rancid] missed cmd(s): write term<BR>> From: hugo.deprez@gmail.com<BR>> To: me_gogorza@hotmail.com<BR>> CC: rancid-discuss@shrubbery.net<BR>> <BR>> Hello,<BR>> <BR>> Yes I get the "show clock" and "exit" command when running the<BR>> /usr/lib/rancid/clogin -c "show clock" sw<BR>> <BR>> I did run the debug command, but as everything is fine I don't know<BR>> what I am looking for.<BR>> <BR>> Maybe the rancid-run command is trying to use an unknown command on my<BR>> equipment ?<BR>> <BR>> Is that possible ?<BR>> <BR>> Hugo<BR>> <BR>> On 3 November 2011 16:30, Marito ... <me_gogorza@hotmail.com> wrote:<BR>> > Hi Hugo,<BR>> ><BR>> > did you get the exit once you run /usr/lib/rancid/clogin -c "show clock" sw<BR>> > ? (It should run show clock, and then exit)<BR>> > For debug, i was looking for information, and ended using (as should be in<BR>> > your case) "expect -d /usr/lib/rancid/clogin -c "show clock" sw " . This<BR>> > should help you to check what is happening when running the commands.<BR>> ><BR>> > Hope this help you.<BR>> > Regards.<BR>> ><BR>> ><BR>> >> 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>> ><BR></DIV>                                            </div></body>
</html>