Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Rancid backup of 6509

Posted on 2011-03-19
8
Medium Priority
?
2,123 Views
Last Modified: 2012-05-11
I have Rancid running on a RHEL machine.  It has been backing up the config on a 6509 for years (literally).  Last night, I upgraded the IOS from

s72033-entservicesk9_wan-mz.122-18.SXF6.bin

to

s72033-adventerprisek9_wan-mz.122-33.SXH8.bin

Now my Rancid backup fails stating :
Getting missed routers: round 2.
192.168.10.44 clogin error: Error: TIMEOUT reached
192.168.10.44: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,dir /all slavedisk1:,show env all,show module,show controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show running-config,show c7200,dir /all slot1:
192.168.10.44: End of run not found

From the server, I am able to SSH to the 6509.  I have used the same ID and password (that did not change with this upgrade).  I checked to make sure a .network.lock file did not exist, which googling around, said that might be part of it.  As I can ssh, I can also ping and traceroute to the device.  Rancid is still working fine on other devices (my other non-upgraded 6509, my 3750s, 3020s, etc.).

Here is part of my cloginrc file related to this device :


add user 192.168.10.44     rancid
add passprompt 192.168.10.44 "\Passcode:"
add enableprompt 192.168.10.44 "\[Pp]asscode:"
add password 192.168.10.44 USERPASSWORD ENABLEPASSWORD
add method 192.168.10.44   ssh

Any ideas ?
Thanks
0
Comment
Question by:Elemental12
  • 6
8 Comments
 
LVL 6

Accepted Solution

by:
gcl_hk earned 2000 total points
ID: 35179173
Do you have try to reset the SSH key on both side?
0
 

Author Comment

by:Elemental12
ID: 35180112
I don't think so.  The server this script runs on can ssh to the device if I do it from the cmd line, without prompting to accept the new key.
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 35180480
What do you see with wireshark  running?
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:Elemental12
ID: 35180653
I have not tried a wireshark, as I have ssh connectivity to the device.  From most of my googling, this error is from configuration issues with rancid, and how it deals with different IOSes.  That is why I posted a bit of my config, hoping someone knew what the issue might be.
0
 

Assisted Solution

by:Elemental12
Elemental12 earned 0 total points
ID: 35393115
Turns out there was a change in some of the expected text that Rancid was expecting.  Once I updated the cloginrc file with this new text, the script ran fine.

Serge
0
 

Author Comment

by:Elemental12
ID: 35393148
My answer was part of the fix.
0
 

Author Comment

by:Elemental12
ID: 35393155
My answer was part of the fix.
0
 

Author Closing Comment

by:Elemental12
ID: 35422368
My answer was part of the fix.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question