From owner-rancid-discuss-outgoing@shrubbery.net Mon Nov 3 01:12:56 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hA31CtN21937 for ; Mon, 3 Nov 2003 01:12:55 GMT Received: by guelah.shrubbery.net (Postfix) id 1952F17D07D; Sun, 2 Nov 2003 17:12:55 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 050C117D07F; Sun, 2 Nov 2003 17:12:54 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id E538B17D07E; Sun, 2 Nov 2003 17:12:53 -0800 (PST) Date: Sun, 2 Nov 2003 17:12:53 -0800 From: john heasley To: Stephen Miller Cc: Alex Zheng , rancid-discuss@shrubbery.net Subject: Re: how to retrieve IOS image using RANCID? Message-ID: <20031103011253.GI16805@shrubbery.net> References: <6.0.0.22.0.20031028164706.03eb06f8@mail.monterey.k12.ca.us> <20031029013456.GK6611@shrubbery.net> <20031029185338.M92101@smiller.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031029185338.M92101@smiller.org> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Oct 29, 2003 at 11:57:57AM -0700, Stephen Miller: > > do you want to add the IOS images to CVS? you should be able to...just not sure > if you want to...the space could be large depending on how many devices and what > the image size is, normally about 8+ megs now. You could just modify a login > script and use the -c option with, "copy flash:image ftp://ftpserver", which > should do it. Then just cron that....but you wouldn't get the change if one > occurred...but you would still have the old and new images. if you happen to do something like this... those are, of course, binary files. to have cvs handle them properly, you have to use the -k option of the add command. ie: cvs add -kb imagefilename > steve > > ---------- Original Message ----------- > From: john heasley > To: Alex Zheng > Cc: rancid-discuss@shrubbery.net > Sent: Tue, 28 Oct 2003 17:34:56 -0800 > Subject: Re: how to retrieve IOS image using RANCID? > > > Tue, Oct 28, 2003 at 04:48:08PM -0800, Alex Zheng: > > > > > > Anyone used Rancid to retrieve IOS images from a router? And how if anyone > > > knows? > > > > > > Thanks. > > > > > > > > > Alex > > > > You;ll have to provide a better description of what you're trying to do. > > > > the two possibility that come to mind of what you might be trying are > > definitely possible. :) > ------- End of Original Message ------- From owner-rancid-discuss-outgoing@shrubbery.net Mon Nov 3 15:15:31 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hA3FFVN11207 for ; Mon, 3 Nov 2003 15:15:31 GMT Received: by guelah.shrubbery.net (Postfix) id 1EDB317D07D; Mon, 3 Nov 2003 07:15:31 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 058B617D07F; Mon, 3 Nov 2003 07:15:30 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id 9E9DA17D07D for ; Mon, 3 Nov 2003 07:15:29 -0800 (PST) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.8p2/8.12.8) with ESMTP id hA3FFPgq022363; Mon, 3 Nov 2003 10:15:25 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id hA3FFPvA022360; Mon, 3 Nov 2003 10:15:25 -0500 (EST) (envelope-from asp) Date: Mon, 3 Nov 2003 10:15:25 -0500 From: Andrew Partan To: Yuval Ben-Ari Cc: rancid-discuss@shrubbery.net Subject: Re: false "changes in XXX routers" reports Message-ID: <20031103151525.GE22049@partan.com> References: <070F6E0C1E5E684BAA2DC8C854386D4A01CF22@ntx.forest.netvision.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <070F6E0C1E5E684BAA2DC8C854386D4A01CF22@ntx.forest.netvision.net.il> User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Sun, Nov 02, 2003 at 01:51:46PM +0200, Yuval Ben-Ari wrote: > problem returned: This code doing this is in bin/control_rancid. I think the only assumption that the code makes is that the user running rancid has all of the read & write permissions needed for the files & directories the code touches. It would be real useful to get additional eyes looking at this to see what else might fail. --asp From owner-rancid-discuss-outgoing@shrubbery.net Mon Nov 10 23:22:33 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAANMXN15087 for ; Mon, 10 Nov 2003 23:22:33 GMT Received: by guelah.shrubbery.net (Postfix) id D31BB17D07E; Mon, 10 Nov 2003 15:22:32 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id BBBD117D0A9; Mon, 10 Nov 2003 15:22:32 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (relay.nipper.de [212.86.210.19]) by guelah.shrubbery.net (Postfix) with ESMTP id 377AC17D07E for ; Mon, 10 Nov 2003 15:22:31 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5E7CE231C0 for ; Tue, 11 Nov 2003 00:22:28 +0100 (CET) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31745-01 for ; Tue, 11 Nov 2003 00:22:25 +0100 (CET) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id D04A4203C2 for ; Tue, 11 Nov 2003 00:22:24 +0100 (CET) Message-ID: <000d01c3a7e1$7df9a9e0$6790a8c0@nipper.de> From: "Nipper, Arnold" To: Subject: Multi-line commands Date: Tue, 11 Nov 2003 00:11:50 +0100 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm using rancid since a couple of months and find it very valuable esp. when retrieving the same information from a lot of routers/switches. There are some commands on the catalyst 6500 which require multiple lines of input (e.g. "clear counters" where you will be prompted for "Do you want to continue (y/n) [n]?"). With IOS and telnetting into a router I've been successful (iirc) when separating the commands by "^M" (i.e. Ctrl-M). But that doesn't work with CatOS and rancid. How do you deal with multi-line comamnds? Regards, Arnold From owner-rancid-discuss-outgoing@shrubbery.net Mon Nov 10 23:44:58 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAANiwN15823 for ; Mon, 10 Nov 2003 23:44:58 GMT Received: by guelah.shrubbery.net (Postfix) id 9B80F17D30B; Mon, 10 Nov 2003 15:44:57 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7A53417D330; Mon, 10 Nov 2003 15:44:57 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from claven.harvard.edu (claven.harvard.edu [128.103.208.250]) by guelah.shrubbery.net (Postfix) with ESMTP id 3EAF117D30B for ; Mon, 10 Nov 2003 15:44:56 -0800 (PST) Received: by claven.harvard.edu (Postfix, from userid 504) id D5A102D4059; Mon, 10 Nov 2003 18:44:54 -0500 (EST) Received: from claven.harvard.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 280352D405B; Mon, 10 Nov 2003 18:44:54 -0500 (EST) Received: from dipsy.laportestyle.org (dipsy.laportestyle.org [66.92.66.171]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by claven.harvard.edu (Postfix) with ESMTP id 9E5F42D4059; Mon, 10 Nov 2003 18:44:53 -0500 (EST) Date: Mon, 10 Nov 2003 18:49:53 -0500 (Eastern Standard Time) From: David LaPorte Reply-To: David LaPorte To: "Nipper, Arnold" Cc: rancid-discuss@shrubbery.net Subject: Re: Multi-line commands In-Reply-To: <000d01c3a7e1$7df9a9e0$6790a8c0@nipper.de> Message-ID: References: <000d01c3a7e1$7df9a9e0$6790a8c0@nipper.de> Organization: Harvard University X-X-Sender: dlaporte@claven.harvard.edu MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on claven.harvard.edu X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk try using the "\\n" construct (an escaped newline). For instance: $clogin -f $cloginrc -u '$username' -p '$password' -c \"conf net\\nhost\\n$tftphost\\n$tftpacldir/$acls\" this above is from a perl script - you may only need "\n" if you're running it from the prompt. On Tue, 11 Nov 2003, Nipper, Arnold wrote: > I'm using rancid since a couple of months and find it very valuable esp. > when retrieving the same information from a lot of routers/switches. > > There are some commands on the catalyst 6500 which require multiple lines of > input (e.g. "clear counters" where you will be prompted for "Do you want to > continue (y/n) [n]?"). > > With IOS and telnetting into a router I've been successful (iirc) when > separating the commands by "^M" (i.e. Ctrl-M). But that doesn't work with > CatOS and rancid. > > How do you deal with multi-line comamnds? > > > Regards, Arnold > > From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 00:08:56 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAB08uN16626 for ; Tue, 11 Nov 2003 00:08:56 GMT Received: by guelah.shrubbery.net (Postfix) id DF36E17D0AA; Mon, 10 Nov 2003 16:08:55 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id BEDD517D330; Mon, 10 Nov 2003 16:08:55 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (relay.nipper.de [212.86.210.19]) by guelah.shrubbery.net (Postfix) with ESMTP id 8A78C17D0AA for ; Mon, 10 Nov 2003 16:08:54 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 9E38ECEB; Tue, 11 Nov 2003 01:08:49 +0100 (CET) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31745-06; Tue, 11 Nov 2003 01:08:48 +0100 (CET) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id E2A96CD3; Tue, 11 Nov 2003 01:08:47 +0100 (CET) Message-ID: <004701c3a7e7$fa1ffc30$6790a8c0@nipper.de> From: "Nipper, Arnold" To: "David LaPorte" Cc: References: <000d01c3a7e1$7df9a9e0$6790a8c0@nipper.de> Subject: Re: Multi-line commands Date: Tue, 11 Nov 2003 01:08:44 +0100 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Tnx a lot! If you run the command from the shell a simple backslash does. Arnold On Tuesday, November 11, 2003 12:49 AM, David LaPorte wrote: > try using the "\\n" construct (an escaped newline). For instance: > > $clogin -f $cloginrc -u '$username' -p '$password' -c \"conf > net\\nhost\\n$tftphost\\n$tftpacldir/$acls\" > > this above is from a perl script - you may only need "\n" if you're > running it from the prompt. > > On Tue, 11 Nov 2003, Nipper, Arnold wrote: > >> I'm using rancid since a couple of months and find it very valuable esp. >> when retrieving the same information from a lot of routers/switches. >> >> There are some commands on the catalyst 6500 which require multiple lines of >> input (e.g. "clear counters" where you will be prompted for "Do you want to >> continue (y/n) [n]?"). >> >> With IOS and telnetting into a router I've been successful (iirc) when >> separating the commands by "^M" (i.e. Ctrl-M). But that doesn't work with >> CatOS and rancid. >> >> How do you deal with multi-line comamnds? >> >> >> Regards, Arnold From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 19:47:48 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABJlmN25561 for ; Tue, 11 Nov 2003 19:47:48 GMT Received: by guelah.shrubbery.net (Postfix) id 08E4B17CFD0; Tue, 11 Nov 2003 11:47:48 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E328A17D07E; Tue, 11 Nov 2003 11:47:47 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from web41104.mail.yahoo.com (web41104.mail.yahoo.com [66.218.93.20]) by guelah.shrubbery.net (Postfix) with SMTP id B5A6317CFD0 for ; Tue, 11 Nov 2003 11:47:46 -0800 (PST) Message-ID: <20031111194745.4051.qmail@web41104.mail.yahoo.com> Received: from [64.60.80.182] by web41104.mail.yahoo.com via HTTP; Tue, 11 Nov 2003 11:47:45 PST Date: Tue, 11 Nov 2003 11:47:45 -0800 (PST) From: funraps too Subject: Newbie Problems - - Please see below To: rancid-discuss@shrubbery.net MIME-Version: 1.0 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello, I'm sure this has been answered, but I think I have the problem that is detailed on the main Rancid page... the Expect problem... Here is info from my logs... Trying to get all of the configs. x.x.x.x clogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all di sk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show c ontrollers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: x.x.x.x: End of run not found ! y.y.y.y clogin error: Error: TIMEOUT reached y.y.y.y: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all d isk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: y.y.y.y: End of run not found ! can not find channel named "exp4" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/local/rancid/bin/clogin" line 559) x.x.x.x clogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all dis k2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show co ntrollers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: x.x.x.x: End of run not found Now, I'm not sure what I need to do in order to fix this, what lines to edit in Expect.. Running Mandrake 9.2 on i586 Your help is appreciated. From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 20:09:46 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABK9kN26217 for ; Tue, 11 Nov 2003 20:09:46 GMT Received: by guelah.shrubbery.net (Postfix) id AEF8417CFD0; Tue, 11 Nov 2003 12:09:45 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 99A1917D07E; Tue, 11 Nov 2003 12:09:45 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id 75FEE17CFD0 for ; Tue, 11 Nov 2003 12:09:44 -0800 (PST) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.8p2/8.12.8) with ESMTP id hABK9hgq099503; Tue, 11 Nov 2003 15:09:43 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id hABK9hWo099500; Tue, 11 Nov 2003 15:09:43 -0500 (EST) (envelope-from asp) Date: Tue, 11 Nov 2003 15:09:43 -0500 From: Andrew Partan To: funraps too Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie Problems - - Please see below Message-ID: <20031111200943.GB99339@partan.com> References: <20031111194745.4051.qmail@web41104.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031111194745.4051.qmail@web41104.mail.yahoo.com> User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Nov 11, 2003 at 11:47:45AM -0800, funraps too wrote: > I'm sure this has been answered, but I think I have the problem > that is detailed on the main Rancid page... the Expect problem... > x.x.x.x clogin error: Error: TIMEOUT reached > y.y.y.y clogin error: Error: TIMEOUT reached > x.x.x.x clogin error: Error: TIMEOUT reached It might be that you are running into problems actually reaching the router & logging into it. Make sure you can telnet/ssh to the router and that your passwords are right in your .cloginrc. See if you can get clogin working first. --asp From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 20:18:30 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABKIUN26499 for ; Tue, 11 Nov 2003 20:18:30 GMT Received: by guelah.shrubbery.net (Postfix) id 270E117CFD0; Tue, 11 Nov 2003 12:18:30 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 11C1717D07E; Tue, 11 Nov 2003 12:18:30 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from web41101.mail.yahoo.com (web41101.mail.yahoo.com [66.218.93.17]) by guelah.shrubbery.net (Postfix) with SMTP id E195D17CFD0 for ; Tue, 11 Nov 2003 12:18:28 -0800 (PST) Message-ID: <20031111201828.8411.qmail@web41101.mail.yahoo.com> Received: from [64.60.80.182] by web41101.mail.yahoo.com via HTTP; Tue, 11 Nov 2003 12:18:28 PST Date: Tue, 11 Nov 2003 12:18:28 -0800 (PST) From: funraps too Subject: Re: Newbie Problems - - Please see below To: Andrew Partan Cc: rancid-discuss@shrubbery.net In-Reply-To: <20031111200943.GB99339@partan.com> MIME-Version: 1.0 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I can get clogin to work just fine both under the new account I've created and my regular accounts., but the do_diff is giving me the error. My tacacs logs indicate that the user has logged in but did not execute any commands.. Andrew Partan wrote: On Tue, Nov 11, 2003 at 11:47:45AM -0800, funraps too wrote: > I'm sure this has been answered, but I think I have the problem > that is detailed on the main Rancid page... the Expect problem... > x.x.x.x clogin error: Error: TIMEOUT reached > y.y.y.y clogin error: Error: TIMEOUT reached > x.x.x.x clogin error: Error: TIMEOUT reached It might be that you are running into problems actually reaching the router & logging into it. Make sure you can telnet/ssh to the router and that your passwords are right in your .cloginrc. See if you can get clogin working first. --asp From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 21:56:30 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABLuUN29648 for ; Tue, 11 Nov 2003 21:56:30 GMT Received: by guelah.shrubbery.net (Postfix) id 95A2A17CFD0; Tue, 11 Nov 2003 13:56:29 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7A53717D07E; Tue, 11 Nov 2003 13:56:29 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id 3CE5C17CFD0 for ; Tue, 11 Nov 2003 13:56:26 -0800 (PST) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.8p2/8.12.8) with ESMTP id hABLuOgq007955; Tue, 11 Nov 2003 16:56:24 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id hABLuOij007952; Tue, 11 Nov 2003 16:56:24 -0500 (EST) (envelope-from asp) Date: Tue, 11 Nov 2003 16:56:24 -0500 From: Andrew Partan To: funraps too Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie Problems - - Please see below Message-ID: <20031111215624.GC4619@partan.com> References: <20031111200943.GB99339@partan.com> <20031111201828.8411.qmail@web41101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031111201828.8411.qmail@web41101.mail.yahoo.com> User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Nov 11, 2003 at 12:18:28PM -0800, funraps too wrote: > I can get clogin to work just fine both under the new account > I've created and my regular accounts., but the do_diff is giving > me the error. can you do clogin -c "cmd1;cmd2" router ? if you can't, but clogin works, that may indicate some problem with clogin recognizing the prompt on the router. --asp From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 22:21:21 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABMLLN00896 for ; Tue, 11 Nov 2003 22:21:21 GMT Received: by guelah.shrubbery.net (Postfix) id 6FF1817D0A9; Tue, 11 Nov 2003 14:21:21 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 54B0817D30B; Tue, 11 Nov 2003 14:21:21 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from web41106.mail.yahoo.com (web41106.mail.yahoo.com [66.218.93.22]) by guelah.shrubbery.net (Postfix) with SMTP id 2A23B17D0A9 for ; Tue, 11 Nov 2003 14:21:20 -0800 (PST) Message-ID: <20031111222119.57557.qmail@web41106.mail.yahoo.com> Received: from [64.60.80.182] by web41106.mail.yahoo.com via HTTP; Tue, 11 Nov 2003 14:21:19 PST Date: Tue, 11 Nov 2003 14:21:19 -0800 (PST) From: funraps too Subject: Re: Newbie Problems - - Please see below To: Andrew Partan Cc: rancid-discuss@shrubbery.net In-Reply-To: <20031111215624.GC4619@partan.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-123645980-1068589279=:56932" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --0-123645980-1068589279=:56932 Content-Type: text/plain; charset=us-ascii Thank you Andrew, The routers are anywhere from 1600, 1700,2100, 7200 etc.... Here is the output of clogin: ./clogin -c "sh ver;sh log" x.x.x.x spawn telnet x.x.x.x Trying x.x.x.x... Connected to x.x.x.x.xxxxxxx.com (x.x.x.x). Escape character is '^]'. User Access Verification Username: Password: # Error: TIMEOUT reached Andrew Partan wrote: On Tue, Nov 11, 2003 at 12:18:28PM -0800, funraps too wrote: > I can get clogin to work just fine both under the new account > I've created and my regular accounts., but the do_diff is giving > me the error. can you do clogin -c "cmd1;cmd2" router ? if you can't, but clogin works, that may indicate some problem with clogin recognizing the prompt on the router. --asp From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 22:34:26 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABMYQN01329 for ; Tue, 11 Nov 2003 22:34:26 GMT Received: by guelah.shrubbery.net (Postfix) id E488A17D07C; Tue, 11 Nov 2003 14:34:25 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C8B8A17D0A9; Tue, 11 Nov 2003 14:34:25 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id A7A3E17D07C for ; Tue, 11 Nov 2003 14:34:24 -0800 (PST) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.8p2/8.12.8) with ESMTP id hABMYNgq009076; Tue, 11 Nov 2003 17:34:23 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id hABMYN7Q009073; Tue, 11 Nov 2003 17:34:23 -0500 (EST) (envelope-from asp) Date: Tue, 11 Nov 2003 17:34:23 -0500 From: Andrew Partan To: funraps too Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie Problems - - Please see below Message-ID: <20031111223423.GB8622@partan.com> References: <20031111215624.GC4619@partan.com> <20031111222119.57557.qmail@web41106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031111222119.57557.qmail@web41106.mail.yahoo.com> User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Nov 11, 2003 at 02:21:19PM -0800, funraps too wrote: > ./clogin -c "sh ver;sh log" x.x.x.x > spawn telnet x.x.x.x > Trying x.x.x.x... > Connected to x.x.x.x.xxxxxxx.com (x.x.x.x). > Escape character is '^]'. > > User Access Verification > Username: > Password: > # > Error: TIMEOUT reached That looks like clogin not recognizing the prompt. Btw, do you have autoenable set in your .cloginrc? --asp From owner-rancid-discuss-outgoing@shrubbery.net Tue Nov 11 23:44:54 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hABNisN03565 for ; Tue, 11 Nov 2003 23:44:54 GMT Received: by guelah.shrubbery.net (Postfix) id 1C6D417CFCF; Tue, 11 Nov 2003 15:44:54 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 04BEB17D07C; Tue, 11 Nov 2003 15:44:53 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from web41107.mail.yahoo.com (web41107.mail.yahoo.com [66.218.93.23]) by guelah.shrubbery.net (Postfix) with SMTP id D363217CFCF for ; Tue, 11 Nov 2003 15:44:52 -0800 (PST) Message-ID: <20031111234452.34049.qmail@web41107.mail.yahoo.com> Received: from [64.165.230.140] by web41107.mail.yahoo.com via HTTP; Tue, 11 Nov 2003 15:44:52 PST Date: Tue, 11 Nov 2003 15:44:52 -0800 (PST) From: funraps too Subject: Re: Newbie Problems - - Please see below To: Andrew Partan Cc: rancid-discuss@shrubbery.net In-Reply-To: <20031111223423.GB8622@partan.com> MIME-Version: 1.0 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Andrew, I have the following: add user * add password * add autoenable * ===================================== Getting missed routers: round 2. x.x.x.x clogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: x.x.x.x: End of run not found ! x.x.x.x clogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: x.x.x.x: End of run not found ! can not find channel named "exp4" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/local/rancid/bin/clogin" line 559) x.x.x.x clogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: x.x.x.x: End of run not found ! ===================================== Andrew Partan wrote: On Tue, Nov 11, 2003 at 02:21:19PM -0800, funraps too wrote: > ./clogin -c "sh ver;sh log" x.x.x.x > spawn telnet x.x.x.x > Trying x.x.x.x... > Connected to x.x.x.x.xxxxxxx.com (x.x.x.x). > Escape character is '^]'. > > User Access Verification > Username: > Password: > # > Error: TIMEOUT reached That looks like clogin not recognizing the prompt. Btw, do you have autoenable set in your .cloginrc? --asp From owner-rancid-discuss-outgoing@shrubbery.net Wed Nov 12 14:09:30 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hACE9UN00681 for ; Wed, 12 Nov 2003 14:09:30 GMT Received: by guelah.shrubbery.net (Postfix) id 361A217CFD0; Wed, 12 Nov 2003 06:09:30 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 0BE9417D07E; Wed, 12 Nov 2003 06:09:30 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from bostexch.intergen.com (intergen-gw.intergen.com [207.121.143.93]) by guelah.shrubbery.net (Postfix) with ESMTP id 9E3BE17CFD0 for ; Wed, 12 Nov 2003 06:09:28 -0800 (PST) Received: by bostexch.intergen.com with Internet Mail Service (5.5.2657.72) id ; Wed, 12 Nov 2003 09:09:27 -0500 Message-ID: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFC7@amerexchp01.intergen.com> From: "Shrimpton, Craig" To: "'rancid-discuss@shrubbery.net'" Subject: Problem with RANCID on RH 9.0 Date: Wed, 12 Nov 2003 09:09:17 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Folks, I've set up RANCID on a RH 9.0 machine and everything appears to work with the exception of writing the configs it retrieves. I'm thinking it has something to do with creating the temp files but I'm not sure. I can use clogin to access my router and enter commands. I can also run rancid directly and it will create a ".new" file in the rancid/bin directory. However, running do-diffs produces no output. While do-diffs is running, I can see the logon process at the router, but I don't see any temp files created and my config file in CVS remains at zero bytes. If anyone has some ideas on how to trouble shoot this, I'd appreciate it. I've include to logs below. The first is created from do-diffs and the second from running rancid directly. Note that running rancid directly will create a "burcr05.intergen.com.new" file in the bin directory. Thanks, Craig ----------------------------------------------- Here are the results from "do-diffs." Notice it contains references to missed commands. I can run those commands directly from clogin so I'm not sure about the significance of that error. :::::::::::::: routers.20031111.200642 :::::::::::::: starting: Tue Nov 11 20:06:42 EST 2003 Trying to get all of the configs. Starting rancid-fe \burcr05.intergen.com:cisco: process id=12126 logfile=running.0 0/5: burcr05.intergen.com:cisco: id=12126, log=running.0 All work assigned. Waiting for remaining processes. burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus 12126 finished (logfile running.0) Complete ===================================== Getting missed routers: round 1. Starting rancid-fe \burcr05.intergen.com:cisco: process id=12136 logfile=running.0 0/5: burcr05.intergen.com:cisco: id=12136, log=running.0 All work assigned. Waiting for remaining processes. burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus 12136 finished (logfile running.0) Complete ===================================== Getting missed routers: round 2. Starting rancid-fe \burcr05.intergen.com:cisco: process id=12148 logfile=running.0 0/5: burcr05.intergen.com:cisco: id=12148, log=running.0 All work assigned. Waiting for remaining processes. burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus 12148 finished (logfile running.0) Complete ===================================== Getting missed routers: round 3. Starting rancid-fe \burcr05.intergen.com:cisco: process id=12160 logfile=running.0 0/5: burcr05.intergen.com:cisco: id=12160, log=running.0 All work assigned. Waiting for remaining processes. burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus 12160 finished (logfile running.0) Complete ===================================== Getting missed routers: round 4. Starting rancid-fe \burcr05.intergen.com:cisco: process id=12172 logfile=running.0 0/5: burcr05.intergen.com:cisco: id=12172, log=running.0 All work assigned. Waiting for remaining processes. burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus 12172 finished (logfile running.0) Complete /usr/local/rancid/bin/rename: *.new: No such file or directory cvs diff: Diffing . cvs diff: Diffing configs cvs commit: Examining . cvs commit: Examining configs Checking in router.db; /usr/local/rancid/CVS/routers/router.db,v <-- router.db new revision: 1.3; previous revision: 1.2 done /home/rancid/dead.letter... Saved message in /home/rancid/dead.letter ending: Tue Nov 11 20:07:23 EST 2003 ------------------------------------------------------------- Here are the results from "rancid -d -l burcr05.intergen.com" executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" burcr05.intergen.com executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" burcr05.intergen.com HIT COMMAND:BURCR05#show version In ShowVersion: BURCR05#show version TYPE = 3600 HIT COMMAND:BURCR05#show env all In ShowEnv: BURCR05#show env all HIT COMMAND:BURCR05#show gsr chassis In ShowGSR: BURCR05#show gsr chassis HIT COMMAND:BURCR05#show boot In ShowBoot: BURCR05#show boot HIT COMMAND:BURCR05#show bootvar In ShowBoot: BURCR05#show bootvar HIT COMMAND:BURCR05#show variables boot In ShowBoot: BURCR05#show variables boot HIT COMMAND:BURCR05#show flash In ShowFlash: BURCR05#show flash HIT COMMAND:BURCR05#dir /all nvram: In DirSlotN: BURCR05#dir /all nvram: HIT COMMAND:BURCR05#dir /all bootflash: In DirSlotN: BURCR05#dir /all bootflash: HIT COMMAND:BURCR05#dir /all slot0: In DirSlotN: BURCR05#dir /all slot0: HIT COMMAND:BURCR05#dir /all disk0: In DirSlotN: BURCR05#dir /all disk0: HIT COMMAND:BURCR05#dir /all slot1: In DirSlotN: BURCR05#dir /all slot1: HIT COMMAND:BURCR05#dir /all disk1: In DirSlotN: BURCR05#dir /all disk1: HIT COMMAND:BURCR05#dir /all slot2: In DirSlotN: BURCR05#dir /all slot2: HIT COMMAND:BURCR05#dir /all disk2: In DirSlotN: BURCR05#dir /all disk2: HIT COMMAND:BURCR05#dir /all sup-bootflash: In DirSlotN: BURCR05#dir /all sup-bootflash: HIT COMMAND:BURCR05#dir /all sup-microcode: In DirSlotN: BURCR05#dir /all sup-microcode: HIT COMMAND:BURCR05#show controllers In ShowContAll: BURCR05#show controllers HIT COMMAND:BURCR05#show diagbus In ShowDiagbus: BURCR05#show diagbus HIT COMMAND:BURCR05#show module In ShowModule: BURCR05#show module HIT COMMAND:BURCR05#show c7200 In ShowC7200: BURCR05#show c7200 HIT COMMAND:BURCR05#show vtp status In ShowVTP: BURCR05#show vtp status HIT COMMAND:BURCR05#show vlan In ShowVLAN: BURCR05#show vlan HIT COMMAND:BURCR05#write term In WriteTerm: BURCR05#write term Done : BURCR05#exit burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus burcr05.intergen.com: missed cmd(s): show diag,show install active,show controllers cbus From owner-rancid-discuss-outgoing@shrubbery.net Wed Nov 12 23:03:52 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hACN3qN15684 for ; Wed, 12 Nov 2003 23:03:52 GMT Received: by guelah.shrubbery.net (Postfix) id C78D617D07C; Wed, 12 Nov 2003 15:03:50 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AA5D417D0A9; Wed, 12 Nov 2003 15:03:50 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id AB53F17D07F; Wed, 12 Nov 2003 15:03:49 -0800 (PST) Date: Wed, 12 Nov 2003 23:03:49 +0000 From: john heasley To: "Shrimpton, Craig" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: Problem with RANCID on RH 9.0 Message-ID: <20031112230349.GJ16134@shrubbery.net> References: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFC7@amerexchp01.intergen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFC7@amerexchp01.intergen.com> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk what is the error that this route returns when an unknown command is entered? eg: show install active Wed, Nov 12, 2003 at 09:09:17AM -0500, Shrimpton, Craig: > Folks, > > I've set up RANCID on a RH 9.0 machine and everything appears to work with > the exception of writing the configs it retrieves. I'm thinking it has > something to do with creating the temp files but I'm not sure. I can use > clogin to access my router and enter commands. I can also run rancid > directly and it will create a ".new" file in the rancid/bin directory. > However, running do-diffs produces no output. > > While do-diffs is running, I can see the logon process at the router, but I > don't see any temp files created and my config file in CVS remains at zero > bytes. If anyone has some ideas on how to trouble shoot this, I'd > appreciate it. > > I've include to logs below. The first is created from do-diffs and the > second from running rancid directly. Note that running rancid directly will > create a "burcr05.intergen.com.new" file in the bin directory. > > Thanks, > > Craig > > ----------------------------------------------- > > Here are the results from "do-diffs." Notice it contains references to > missed commands. I can run those commands directly from clogin so I'm not > sure about the significance of that error. > > > :::::::::::::: > routers.20031111.200642 > :::::::::::::: > starting: Tue Nov 11 20:06:42 EST 2003 > > > Trying to get all of the configs. > Starting rancid-fe \burcr05.intergen.com:cisco: process id=12126 > logfile=running.0 > 0/5: burcr05.intergen.com:cisco: id=12126, log=running.0 > All work assigned. Waiting for remaining processes. > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > 12126 finished (logfile running.0) > Complete > ===================================== > Getting missed routers: round 1. > Starting rancid-fe \burcr05.intergen.com:cisco: process id=12136 > logfile=running.0 > 0/5: burcr05.intergen.com:cisco: id=12136, log=running.0 > All work assigned. Waiting for remaining processes. > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > 12136 finished (logfile running.0) > Complete > ===================================== > Getting missed routers: round 2. > Starting rancid-fe \burcr05.intergen.com:cisco: process id=12148 > logfile=running.0 > 0/5: burcr05.intergen.com:cisco: id=12148, log=running.0 > All work assigned. Waiting for remaining processes. > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > 12148 finished (logfile running.0) > Complete > ===================================== > Getting missed routers: round 3. > Starting rancid-fe \burcr05.intergen.com:cisco: process id=12160 > logfile=running.0 > 0/5: burcr05.intergen.com:cisco: id=12160, log=running.0 > All work assigned. Waiting for remaining processes. > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > 12160 finished (logfile running.0) > Complete > ===================================== > Getting missed routers: round 4. > Starting rancid-fe \burcr05.intergen.com:cisco: process id=12172 > logfile=running.0 > 0/5: burcr05.intergen.com:cisco: id=12172, log=running.0 > All work assigned. Waiting for remaining processes. > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > 12172 finished (logfile running.0) > Complete > > /usr/local/rancid/bin/rename: *.new: No such file or directory > cvs diff: Diffing . > cvs diff: Diffing configs > cvs commit: Examining . > cvs commit: Examining configs > Checking in router.db; > /usr/local/rancid/CVS/routers/router.db,v <-- router.db > new revision: 1.3; previous revision: 1.2 > done > /home/rancid/dead.letter... Saved message in /home/rancid/dead.letter > > ending: Tue Nov 11 20:07:23 EST 2003 > > ------------------------------------------------------------- > > Here are the results from "rancid -d -l burcr05.intergen.com" > > executing clogin -t 90 -c"show version;show install active;show env all;show > gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all > nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all > slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all > sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers > cbus;show diagbus;show diag;show module;show c7200;show vtp status;show > vlan;write term" burcr05.intergen.com > executing clogin -t 90 -c"show version;show install active;show env all;show > gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all > nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all > slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all > sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers > cbus;show diagbus;show diag;show module;show c7200;show vtp status;show > vlan;write term" burcr05.intergen.com > HIT COMMAND:BURCR05#show version > In ShowVersion: BURCR05#show version > TYPE = 3600 > HIT COMMAND:BURCR05#show env all > In ShowEnv: BURCR05#show env all > HIT COMMAND:BURCR05#show gsr chassis > In ShowGSR: BURCR05#show gsr chassis > HIT COMMAND:BURCR05#show boot > In ShowBoot: BURCR05#show boot > HIT COMMAND:BURCR05#show bootvar > In ShowBoot: BURCR05#show bootvar > HIT COMMAND:BURCR05#show variables boot > In ShowBoot: BURCR05#show variables boot > HIT COMMAND:BURCR05#show flash > In ShowFlash: BURCR05#show flash > HIT COMMAND:BURCR05#dir /all nvram: > In DirSlotN: BURCR05#dir /all nvram: > HIT COMMAND:BURCR05#dir /all bootflash: > In DirSlotN: BURCR05#dir /all bootflash: > HIT COMMAND:BURCR05#dir /all slot0: > In DirSlotN: BURCR05#dir /all slot0: > HIT COMMAND:BURCR05#dir /all disk0: > In DirSlotN: BURCR05#dir /all disk0: > HIT COMMAND:BURCR05#dir /all slot1: > In DirSlotN: BURCR05#dir /all slot1: > HIT COMMAND:BURCR05#dir /all disk1: > In DirSlotN: BURCR05#dir /all disk1: > HIT COMMAND:BURCR05#dir /all slot2: > In DirSlotN: BURCR05#dir /all slot2: > HIT COMMAND:BURCR05#dir /all disk2: > In DirSlotN: BURCR05#dir /all disk2: > HIT COMMAND:BURCR05#dir /all sup-bootflash: > In DirSlotN: BURCR05#dir /all sup-bootflash: > HIT COMMAND:BURCR05#dir /all sup-microcode: > In DirSlotN: BURCR05#dir /all sup-microcode: > HIT COMMAND:BURCR05#show controllers > In ShowContAll: BURCR05#show controllers > HIT COMMAND:BURCR05#show diagbus > In ShowDiagbus: BURCR05#show diagbus > HIT COMMAND:BURCR05#show module > In ShowModule: BURCR05#show module > HIT COMMAND:BURCR05#show c7200 > In ShowC7200: BURCR05#show c7200 > HIT COMMAND:BURCR05#show vtp status > In ShowVTP: BURCR05#show vtp status > HIT COMMAND:BURCR05#show vlan > In ShowVLAN: BURCR05#show vlan > HIT COMMAND:BURCR05#write term > In WriteTerm: BURCR05#write term > Done : BURCR05#exit > > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus > burcr05.intergen.com: missed cmd(s): show diag,show install active,show > controllers cbus From owner-rancid-discuss-outgoing@shrubbery.net Fri Nov 14 14:25:06 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAEEP6X18633 for ; Fri, 14 Nov 2003 14:25:06 GMT Received: by guelah.shrubbery.net (Postfix) id D67CE17D330; Fri, 14 Nov 2003 06:25:05 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B458E17D332; Fri, 14 Nov 2003 06:25:05 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from bostexch.intergen.com (intergen-gw.intergen.com [207.121.143.93]) by guelah.shrubbery.net (Postfix) with ESMTP id 2048E17D330 for ; Fri, 14 Nov 2003 06:25:04 -0800 (PST) Received: by bostexch.intergen.com with Internet Mail Service (5.5.2657.72) id ; Fri, 14 Nov 2003 09:25:06 -0500 Message-ID: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFD0@amerexchp01.intergen.com> From: "Shrimpton, Craig" To: "Shrimpton, Craig" Cc: "'rancid-discuss@shrubbery.net'" Subject: RE: Problem with RANCID on RH 9.0 Date: Fri, 14 Nov 2003 09:25:05 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3AABB.1942CB80" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3AABB.1942CB80 Content-Type: text/plain -----Original Message----- From: john heasley [mailto:heas@shrubbery.net] Sent: Wednesday, November 12, 2003 6:04 PM To: Shrimpton, Craig Cc: 'rancid-discuss@shrubbery.net' Subject: Re: Problem with RANCID on RH 9.0 what is the error that this route returns when an unknown command is entered? eg: show install active Wed, Nov 12, 2003 at 09:09:17AM -0500, Shrimpton, Craig: > Folks, > > I've set up RANCID on a RH 9.0 machine and everything appears to work with > the exception of writing the configs it retrieves. I'm thinking it has > something to do with creating the temp files but I'm not sure. I can use > clogin to access my router and enter commands. I can also run rancid > directly and it will create a ".new" file in the rancid/bin directory. > However, running do-diffs produces no output. > The problem looks like it's specific to RH 9.0. I removed RH 9.0 and installed SuSE 9.0 and now it works fine with the exact same config. Maybe there is some subtle difference between the two distros with respect to either expect or perl? However, both distros have the same versions of the two mentioned apps. That's o.k. since I like SuSE better anyway, but I wish I could figure out what did it in case it happens after an upgrade. Thanks, -C From owner-rancid-discuss-outgoing@shrubbery.net Fri Nov 14 14:46:55 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAEEktX19183 for ; Fri, 14 Nov 2003 14:46:55 GMT Received: by guelah.shrubbery.net (Postfix) id E7A0B17D07F; Fri, 14 Nov 2003 06:46:54 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id CD24117D334; Fri, 14 Nov 2003 06:46:54 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id A41CB17D332; Fri, 14 Nov 2003 06:46:53 -0800 (PST) Date: Fri, 14 Nov 2003 14:46:53 +0000 From: john heasley To: "Shrimpton, Craig" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: Problem with RANCID on RH 9.0 Message-ID: <20031114144653.GU16134@shrubbery.net> References: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFD0@amerexchp01.intergen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA6346BC2C1994C857E9A2A0E09F00D0133CFD0@amerexchp01.intergen.com> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk In that case, it is most likely some subtle difference in the way expect was compiled or the way ptys are handled. Fri, Nov 14, 2003 at 09:25:05AM -0500, Shrimpton, Craig: > The problem looks like it's specific to RH 9.0. I removed RH 9.0 and > installed SuSE 9.0 and now it works fine with the exact same config. Maybe > there is some subtle difference between the two distros with respect to > either expect or perl? However, both distros have the same versions of the > two mentioned apps. > > That's o.k. since I like SuSE better anyway, but I wish I could figure out > what did it in case it happens after an upgrade. > > Thanks, > > -C From owner-rancid-discuss-outgoing@shrubbery.net Mon Nov 17 03:34:30 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id hAH3YUX11070 for ; Mon, 17 Nov 2003 03:34:30 GMT Received: by guelah.shrubbery.net (Postfix) id ADE0D17CFA0; Sun, 16 Nov 2003 19:34:27 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8B93D17CFA2; Sun, 16 Nov 2003 19:34:27 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mail.padfoot.com (mail.PADFOOT.COM [198.137.194.43]) by guelah.shrubbery.net (Postfix) with ESMTP id DEFD517CFA0 for ; Sun, 16 Nov 2003 19:34:25 -0800 (PST) Received: by mail.padfoot.com (Postfix, from userid 102) id 926504F5EA; Sun, 16 Nov 2003 22:34:09 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16312.16817.226753.707937@durmstrang.padfoot.com> Date: Sun, 16 Nov 2003 22:34:09 -0500 From: Henry Kilmer To: funraps too Cc: Andrew Partan , rancid-discuss@shrubbery.net Subject: Re: Newbie Problems - - Please see below In-Reply-To: <20031111234452.34049.qmail@web41107.mail.yahoo.com> References: <20031111223423.GB8622@partan.com> <20031111234452.34049.qmail@web41107.mail.yahoo.com> X-Mailer: VM 7.14 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Try: add autoenable * 1 funraps too writes: >Andrew, > >I have the following: > >add user * >add password * >add autoenable * > > > >===================================== >Getting missed routers: round 2. >x.x.x.x clogin error: Error: TIMEOUT reached >x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: >x.x.x.x: End of run not found >! >x.x.x.x clogin error: Error: TIMEOUT reached >x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: >x.x.x.x: End of run not found >! >can not find channel named "exp4" > while executing >"close" > ("foreach" body line 110) > invoked from within >"foreach router [lrange $argv $i end] { > set router [string tolower $router] > send_user "$router\n" > # Figure out prompt. > # Since autoena..." > (file "/usr/local/rancid/bin/clogin" line 559) >x.x.x.x clogin error: Error: TIMEOUT reached >x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1: >x.x.x.x: End of run not found >! >===================================== > > >Andrew Partan wrote: >On Tue, Nov 11, 2003 at 02:21:19PM -0800, funraps too wrote: >> ./clogin -c "sh ver;sh log" x.x.x.x >> spawn telnet x.x.x.x >> Trying x.x.x.x... >> Connected to x.x.x.x.xxxxxxx.com (x.x.x.x). >> Escape character is '^]'. >> >> User Access Verification >> Username: >> Password: >> # >> Error: TIMEOUT reached > >That looks like clogin not recognizing the prompt. >Btw, do you have autoenable set in your .cloginrc? >--asp