Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Rancid backup of 6509

Posted on 2011-03-19
8
Medium Priority
?
2,105 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

721 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