I am trying to backup an equipment, but I encounter some trouble :
The log file is reporting :
Trying to get all of the configs.
sw: missed cmd(s): write term
=====================================
Getting missed routers: round 1.
sw: missed cmd(s): write term
=====================================
Getting missed routers: round 2.
sw: missed cmd(s): write term
=====================================
Getting missed routers: round 3.
sw: missed cmd(s): write term
=====================================
Getting missed routers: round 4.
sw: missed cmd(s): write term
So I checked that rancid was able to log on with the following command :
/usr/lib/rancid/clogin -c "show clock" sw
=> It works. So no clogin issue.
The equipement is a cisco 2960.
I would like to enable debug mode for rancid-run in order to find what
is the problem.
Any tips ?
Regards
Hugo
_______________________________________________
Rancid-discuss mailing list
Rancid-...@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Yes I get the "show clock" and "exit" command when running the
/usr/lib/rancid/clogin -c "show clock" sw
I did run the debug command, but as everything is fine I don't know
what I am looking for.
Maybe the rancid-run command is trying to use an unknown command on my
equipment ?
Is that possible ?
Hugo
On 3 November 2011 16:30, Marito ... <me_go...@hotmail.com> wrote:
the command works.
In fact, I really have a weird behaviour. Hosts regurarly failed to
backup quite randomly with :
sw : missed cmd(s): write term
or
sw clogin error: Error: TIMEOUT reached
Now the host backup is working for the original equipments.
I do have a certain number of equipments to backup (arround 200).
Could that be the source of the issue ?
Regards,
Hugo
I'm seeing the same problem with Cisco uBR10k boxes. They often need
multiple attempts until RANCID finally is OK with the "write term"
output. Using ssh here. I've once troubleshooted it down to RANCID
having difficulty recognizing the end of the config (prompt) due to
inflexible blank character recognition (or lack thereof) of the
following command prompt. I tried fixing it but it only made things less
bad, not finally fixed it. Lost time+nerve troubleshooting further.
Best regards,
Daniel
--
CLUE-RIPE -- Jabber: d...@cluenet.de -- dr@IRCnet -- PGP: 0xA85C8AA0
I am using SSH too.
I mainly backup 2960G equipments.
Is there a bug tracker for rancid ?
regards,
Hugo