Discussion:
[rancid] issue with missed cmd(s)
Luke Arntz
2014-10-03 18:34:40 UTC
Permalink
Hi everyone!

I'm trying to resolve an issue with missed commands. We have many devices that work properly with no errors. We are using version 2.3.6. I've tried a separate install of 3.1 and it has the same issue. I did copy the cvs repository for use with 3.1.

The device is a Cisco 2921. I've searched through the message boards as thoroughly as I could, but I haven't come up with an answer that works. Originally the missed command was write term. I commented that out in the rancid and cat5command files. Now I just get the same error with show running-config.

Any help would be greatly appreciated! Thank you.

Here are the logs....

Trying to get all of the configs.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 1.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 2.
xx.xx.xx.net: missed cmd(s): show running-config
Alan McKinnon
2014-10-03 19:27:28 UTC
Permalink
Post by Luke Arntz
Hi everyone!
I’m trying to resolve an issue with missed commands. We have many
devices that work properly with no errors. We are using version 2.3.6.
I’ve tried a separate install of 3.1 and it has the same issue. I did
copy the cvs repository for use with 3.1.
The device is a Cisco 2921. I’ve searched through the message boards as
thoroughly as I could, but I haven’t come up with an answer that works.
Originally the missed command was write term. I commented that out in
the rancid and cat5command files. Now I just get the same error with
show running-config.
Any help would be greatly appreciated! Thank you.
Here are the logs….
Trying to get all of the configs.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 1.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 2.
xx.xx.xx.net: missed cmd(s): show running-config
That's a common catch-all error, what it means is that rancid knows it
fired off the command but can't find the point in the output where it
starts. That's all the script knows so it can't give a more specific
error message. There are quite a few reasons I've seen why this can
happen, they all require manual intervention and eyeballs.

Assuming your 2921 is configured as a cisco run

rancid -d <device_name>

and read the output closely. Also run the exact clogin command that
rancid launches and look at the result closely. It's very likely you
will have a "#" or ">" in your banner, that really messes up the works
as rancid can't reliably find the command prompt.
--
Alan McKinnon
***@gmail.com
Luke Arntz
2014-10-03 20:24:32 UTC
Permalink
Thank you Alan! You are a God among men!

There was a cisco password expiration warning upon login that contained a few '>' characters.

Problem resolved! Have a great weekend.



-----Original Message-----
From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Alan McKinnon
Sent: Friday, October 03, 2014 3:27 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] issue with missed cmd(s)
Post by Luke Arntz
Hi everyone!
I'm trying to resolve an issue with missed commands. We have many
devices that work properly with no errors. We are using version 2.3.6.
I've tried a separate install of 3.1 and it has the same issue. I did
copy the cvs repository for use with 3.1.
The device is a Cisco 2921. I've searched through the message boards as
thoroughly as I could, but I haven't come up with an answer that works.
Originally the missed command was write term. I commented that out in
the rancid and cat5command files. Now I just get the same error with
show running-config.
Any help would be greatly appreciated! Thank you.
Here are the logs....
Trying to get all of the configs.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 1.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 2.
xx.xx.xx.net: missed cmd(s): show running-config
That's a common catch-all error, what it means is that rancid knows it
fired off the command but can't find the point in the output where it
starts. That's all the script knows so it can't give a more specific
error message. There are quite a few reasons I've seen why this can
happen, they all require manual intervention and eyeballs.

Assuming your 2921 is configured as a cisco run

rancid -d <device_name>

and read the output closely. Also run the exact clogin command that
rancid launches and look at the result closely. It's very likely you
will have a "#" or ">" in your banner, that really messes up the works
as rancid can't reliably find the command prompt.
--
Alan McKinnon
***@gmail.com
Alan McKinnon
2014-10-05 16:49:55 UTC
Permalink
Post by Luke Arntz
Thank you Alan! You are a God among men!
There was a cisco password expiration warning upon login that contained a few '>' characters.
Problem resolved! Have a great weekend.
:-)

Thanks for the vote of confidence but I'm just a regular guy who's had
to deal with networking kit for a while, some of it sunk in eventually.

Unfortunately, it's things like this that rancid can't reliably detect
so in the real world you'll find you need your eyeballs and brains every
now and then.
Post by Luke Arntz
-----Original Message-----
Sent: Friday, October 03, 2014 3:27 PM
Subject: Re: [rancid] issue with missed cmd(s)
Post by Luke Arntz
Hi everyone!
I'm trying to resolve an issue with missed commands. We have many
devices that work properly with no errors. We are using version 2.3.6.
I've tried a separate install of 3.1 and it has the same issue. I did
copy the cvs repository for use with 3.1.
The device is a Cisco 2921. I've searched through the message boards as
thoroughly as I could, but I haven't come up with an answer that works.
Originally the missed command was write term. I commented that out in
the rancid and cat5command files. Now I just get the same error with
show running-config.
Any help would be greatly appreciated! Thank you.
Here are the logs....
Trying to get all of the configs.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 1.
xx.xx.xx.net: missed cmd(s): show running-config
=====================================
Getting missed routers: round 2.
xx.xx.xx.net: missed cmd(s): show running-config
That's a common catch-all error, what it means is that rancid knows it
fired off the command but can't find the point in the output where it
starts. That's all the script knows so it can't give a more specific
error message. There are quite a few reasons I've seen why this can
happen, they all require manual intervention and eyeballs.
Assuming your 2921 is configured as a cisco run
rancid -d <device_name>
and read the output closely. Also run the exact clogin command that
rancid launches and look at the result closely. It's very likely you
will have a "#" or ">" in your banner, that really messes up the works
as rancid can't reliably find the command prompt.
--
Alan McKinnon
***@gmail.com
Loading...