From owner-rancid-discuss-outgoing@shrubbery.net Thu Mar 11 09:27:43 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 34AD5C67E8 for ; Thu, 11 Mar 2004 09:27:43 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 050A217CFC4; Thu, 11 Mar 2004 01:27:42 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E0BD317CFCA; Thu, 11 Mar 2004 01:27:41 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mailrelay.todo.de (mailrelay.todo.de [62.169.0.10]) by guelah.shrubbery.net (Postfix) with ESMTP id BCCEE17CFC4 for ; Thu, 11 Mar 2004 01:27:38 -0800 (PST) Received: from hendrix.code.de (pD9E0FFDC.dip.t-dialin.net [217.224.255.220]) by mailrelay.todo.de (8.12.9p2/8.12.9) with ESMTP id i2B9RIUg028273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Mar 2004 10:27:19 +0100 (CET) (envelope-from erik@code.de) Received: by hendrix.code.de (Postfix, from userid 1000) id BDE87C0A0; Thu, 11 Mar 2004 10:27:16 +0100 (CET) Date: Thu, 11 Mar 2004 10:27:16 +0100 To: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040311092716.GA11515@hendrix.code.de> Mail-Followup-To: rancid-discuss@shrubbery.net References: <20040219144336.GA43301@eagle.aitken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040219144336.GA43301@eagle.aitken.com> User-Agent: Mutt/1.5.5.1+cvs20040105i From: erik@code.de (Erik Wenzel) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, Feb 19, 2004 at 09:43:36AM -0500, Jeff Aitken wrote: > Hello all, > > I'm seeing a very strange problem with rancid-2.2.2 (and 2.3-rc1). > I've been talking privately with some of the developers but this has > all of us stumped. Part of the problem is that no one has managed to > duplicate the symptoms I'm seeing, so I'm I'm sending this to the > -discuss list in the hopes that someone out there has seen something > similar. >From time to time I have dublicate lines in config files, which disappear on the following run. I use rancid-2.2.2 with expect-5.38.0 and tcl8.4.1 on Solaris8. The occurance is arbitrary, so I am a bit aimless, howto debug this problem -- erik@code.de "I am not a Geek! I shower." From owner-rancid-discuss-outgoing@shrubbery.net Thu Mar 11 18:31:18 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id EBBAAC6787 for ; Thu, 11 Mar 2004 18:31:18 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id E195817CF9E; Thu, 11 Mar 2004 10:31:17 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C3C0A17CFC3; Thu, 11 Mar 2004 10:31:17 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id E2BA017CFA8; Thu, 11 Mar 2004 10:31:16 -0800 (PST) Date: Thu, 11 Mar 2004 10:31:16 -0800 From: john heasley To: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040311183116.GK26885@shrubbery.net> References: <20040219144336.GA43301@eagle.aitken.com> <20040311092716.GA11515@hendrix.code.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040311092716.GA11515@hendrix.code.de> 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 Thu, Mar 11, 2004 at 10:27:16AM +0100, Erik Wenzel: > On Thu, Feb 19, 2004 at 09:43:36AM -0500, Jeff Aitken wrote: > > Hello all, > > > > I'm seeing a very strange problem with rancid-2.2.2 (and 2.3-rc1). > > I've been talking privately with some of the developers but this has > > all of us stumped. Part of the problem is that no one has managed to > > duplicate the symptoms I'm seeing, so I'm I'm sending this to the > > -discuss list in the hopes that someone out there has seen something > > similar. > >From time to time I have dublicate lines in config files, which disappear > on the following run. I use rancid-2.2.2 with expect-5.38.0 and tcl8.4.1 > on Solaris8. The occurance is arbitrary, so I am a bit aimless, howto > debug this problem Could you supply an example, please. What type of device is being collected? what connection method, telnet or ssh? From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 07:44:07 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CE52DC67F2 for ; Fri, 12 Mar 2004 07:44:07 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C241617CFC4; Thu, 11 Mar 2004 23:44:06 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A9F0B17CFC9; Thu, 11 Mar 2004 23:44:06 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from pronbox.phatmax.net (pronbox.phatmax.net [64.237.62.50]) by guelah.shrubbery.net (Postfix) with SMTP id 6CB6B17CFC4 for ; Thu, 11 Mar 2004 23:44:05 -0800 (PST) Received: (qmail 22099 invoked by uid 1043); 12 Mar 2004 07:44:05 -0000 Received: from davidc@sargasso.net by pronbox.phatmax.net by uid 64011 with qmail-scanner-1.20 (sophie: 3.02/2.14/3.70. spamassassin: 2.60. Clear:RC:1(68.38.241.22):SA:0(0.0/5.0):. Processed in 0.157117 secs); 12 Mar 2004 07:44:05 -0000 Received: from unknown (HELO sargasso.net) (68.38.241.22) by phatmax.net with SMTP; 12 Mar 2004 07:44:04 -0000 Message-ID: <40516A40.5070907@sargasso.net> Date: Fri, 12 Mar 2004 02:44:00 -0500 From: David C User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: rancid hangs on 'show controllers' Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pronbox.phatmax.net X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello. I have a 1750, just upgraded to 12.3(6). Rancid hangs when polling this device. I did a 'ps' to see the clogin line used: 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" myrouter.sargasso.net Running this manually, I see that it hangs on the penultimate line on 'show controllers': PHY registers: Register 00 2100 Register 01 780D Register 02 7810 Register 03 0003 Register 04 01E1 Register 05 0000 Register 06 0001 Register 16 0000 Register 17 0000 Register 18 4000 Register 19 0800 When I run show controllers from the console, I get a final line for Register 20, followed by two blank lines, followed by the prompt: Register 20 38C8 myrouter# Any idea why it is hanging at this point? Removing the 'show controllers' from the clogin makes it work (though I don't if it's a good idea to edit rancid itself to remove this). Running manual 'clogin myrouter' and then executing show controllers does not hang. Here are the lines from .cloginrc: add password myrouter.sargasso.net mypass add method myrouter.sargasso.net ssh add user myrouter.sargasso.net david add userpassword myrouter.sargasso.net mypass add autoenable myrouter.sargasso.net 1 Like I say, it worked before this IOS upgrade. Many thanks for any assistance David From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 07:51:31 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id BC927C67F2 for ; Fri, 12 Mar 2004 07:51:31 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id BFBC317CFC9; Thu, 11 Mar 2004 23:51:30 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9D68017CFCB; Thu, 11 Mar 2004 23:51: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 610F917CFC9 for ; Thu, 11 Mar 2004 23:51: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 i2C7pSnN015176; Fri, 12 Mar 2004 02:51:28 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id i2C7pRMA015173; Fri, 12 Mar 2004 02:51:27 -0500 (EST) (envelope-from asp) Date: Fri, 12 Mar 2004 02:51:27 -0500 From: Andrew Partan To: David C Cc: rancid-discuss@shrubbery.net Subject: Re: rancid hangs on 'show controllers' Message-ID: <20040312075127.GA14551@partan.com> References: <40516A40.5070907@sargasso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40516A40.5070907@sargasso.net> User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, Mar 12, 2004 at 02:44:00AM -0500, David C wrote: > Hello. I have a 1750, just upgraded to 12.3(6). Rancid hangs when > polling this device. I did a 'ps' to see the clogin line used: I'm not sure what version of rancid you are running, but could you try the latest bits? We are just about to release version 2.3, and there have been a number of fixes; maybe we got this one already. ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.rc1.tar.gz Thanks, --asp From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 08:07:50 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 7DC0FC6932 for ; Fri, 12 Mar 2004 08:07:50 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 8210217CFCB; Fri, 12 Mar 2004 00:07:49 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 698E317CFCD; Fri, 12 Mar 2004 00:07:49 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from pronbox.phatmax.net (pronbox.phatmax.net [64.237.62.50]) by guelah.shrubbery.net (Postfix) with SMTP id 2210D17CFCB for ; Fri, 12 Mar 2004 00:07:48 -0800 (PST) Received: (qmail 23716 invoked by uid 1043); 12 Mar 2004 08:07:47 -0000 Received: from davidc@sargasso.net by pronbox.phatmax.net by uid 64011 with qmail-scanner-1.20 (sophie: 3.02/2.14/3.70. spamassassin: 2.60. Clear:RC:1(68.38.241.22):SA:0(0.0/5.0):. Processed in 0.176479 secs); 12 Mar 2004 08:07:47 -0000 Received: from unknown (HELO sargasso.net) (68.38.241.22) by phatmax.net with SMTP; 12 Mar 2004 08:07:47 -0000 Message-ID: <40516FCF.8020808@sargasso.net> Date: Fri, 12 Mar 2004 03:07:43 -0500 From: David C User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Partan Cc: rancid-discuss@shrubbery.net Subject: Re: rancid hangs on 'show controllers' References: <40516A40.5070907@sargasso.net> <20040312075127.GA14551@partan.com> In-Reply-To: <20040312075127.GA14551@partan.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pronbox.phatmax.net X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi Andrew, I just tried 2.3rc1 with the same problem (previously I was running 2.2, I forgot to mention). I did find (with both versions) that when using clogin, setting 'terminal length 0' and then doing 'show controllers' does cause it to hang right near the end. Using ssh directly and doing the same thing does not hang. 'show controllers' output is pretty long, so I guess there's a problem in clogin somewhere dealing with large output? Should I send the entire output? David Andrew Partan wrote: > On Fri, Mar 12, 2004 at 02:44:00AM -0500, David C wrote: > >>Hello. I have a 1750, just upgraded to 12.3(6). Rancid hangs when >>polling this device. I did a 'ps' to see the clogin line used: > > > I'm not sure what version of rancid you are running, but could you > try the latest bits? We are just about to release version 2.3, and > there have been a number of fixes; maybe we got this one already. > ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.rc1.tar.gz > > Thanks, > --asp From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 14:26:43 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 038CAC6932 for ; Fri, 12 Mar 2004 14:26:43 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C8D2017CFC4; Fri, 12 Mar 2004 06:26:41 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A47EB17CFC9; Fri, 12 Mar 2004 06:26:41 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mailrelay.todo.de (mailrelay.todo.de [62.169.0.10]) by guelah.shrubbery.net (Postfix) with ESMTP id D20A417CFC4 for ; Fri, 12 Mar 2004 06:26:39 -0800 (PST) Received: from hendrix.code.de (pD9E6FEDB.dip.t-dialin.net [217.230.254.219]) by mailrelay.todo.de (8.12.9p2/8.12.9) with ESMTP id i2CEQaUg037844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 Mar 2004 15:26:38 +0100 (CET) (envelope-from erik@code.de) Received: by hendrix.code.de (Postfix, from userid 1000) id 168C2C0A0; Fri, 12 Mar 2004 15:26:36 +0100 (CET) Date: Fri, 12 Mar 2004 15:26:36 +0100 To: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040312142636.GA19296@hendrix.code.de> Mail-Followup-To: rancid-discuss@shrubbery.net References: <20040219144336.GA43301@eagle.aitken.com> <20040311092716.GA11515@hendrix.code.de> <20040311183116.GK26885@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040311183116.GK26885@shrubbery.net> User-Agent: Mutt/1.5.5.1+cvs20040105i From: erik@code.de (Erik Wenzel) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, Mar 11, 2004 at 10:31:16AM -0800, john heasley wrote: > Thu, Mar 11, 2004 at 10:27:16AM +0100, Erik Wenzel: > > On Thu, Feb 19, 2004 at 09:43:36AM -0500, Jeff Aitken wrote: > > > Hello all, > > > > > > I'm seeing a very strange problem with rancid-2.2.2 (and 2.3-rc1). > > > I've been talking privately with some of the developers but this has > > > all of us stumped. Part of the problem is that no one has managed to > > > duplicate the symptoms I'm seeing, so I'm I'm sending this to the > > > -discuss list in the hopes that someone out there has seen something > > > similar. > > >From time to time I have dublicate lines in config files, which disappear > > on the following run. I use rancid-2.2.2 with expect-5.38.0 and tcl8.4.1 > > on Solaris8. The occurance is arbitrary, so I am a bit aimless, howto > > debug this problem > > Could you supply an example, please. > > What type of device is being collected? what connection method, telnet or > ssh? This is an example output. There are mutiple occurances, when it happens: ---snip--- arp 1.1.1.1 0000.0000.0001 ARPA + arp 1.1.1.1 0000.0000.0001 ARPA arp 1.1.1.2 0000.0000.0002 ARPA arp 1.1.1.3.0000.0000.0003 ARPA ---snip--- On the next do-diffs run it disappears with: ---snip--- arp 1.1.1.1 0000.0000.0001 ARPA - arp 1.1.1.1 0000.0000.0001 ARPA arp 1.1.1.2 0000.0000.0002 ARPA arp 1.1.1.3.0000.0000.0003 ARPA ---snip--- This is collected with telnet from a Cisco Catalyst 6500 running IOS Version 12.1(19)E1. -- erik@code.de "I am not a Geek! I shower." From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 17:35:45 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 602DAC695E for ; Fri, 12 Mar 2004 17:35:45 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 35A1717CFC9; Fri, 12 Mar 2004 09:35:44 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1EC6117CFCB; Fri, 12 Mar 2004 09:35:44 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 1BE3417CFCA; Fri, 12 Mar 2004 09:35:43 -0800 (PST) Date: Fri, 12 Mar 2004 09:35:42 -0800 From: john heasley To: David C Cc: Andrew Partan , rancid-discuss@shrubbery.net Subject: Re: rancid hangs on 'show controllers' Message-ID: <20040312173542.GM6984@shrubbery.net> References: <40516A40.5070907@sargasso.net> <20040312075127.GA14551@partan.com> <40516FCF.8020808@sargasso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40516FCF.8020808@sargasso.net> 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 Fri, Mar 12, 2004 at 03:07:43AM -0500, David C: > Hi Andrew, > > I just tried 2.3rc1 with the same problem (previously I was running 2.2, > I forgot to mention). > > I did find (with both versions) that when using clogin, setting > 'terminal length 0' and then doing 'show controllers' does cause it to > hang right near the end. so clogin -c 'show controllers' router using ssh hangs? > Using ssh directly and doing the same thing does not hang. > > 'show controllers' output is pretty long, so I guess there's a problem > in clogin somewhere dealing with large output? Should I send the entire > output? if the above fails, this would be useful: expect -d clogin -c 'show controllers' router > log 2>&1 that will be rather large, please do not send it to -discuss list. > David > > Andrew Partan wrote: > >On Fri, Mar 12, 2004 at 02:44:00AM -0500, David C wrote: > > > >>Hello. I have a 1750, just upgraded to 12.3(6). Rancid hangs when > >>polling this device. I did a 'ps' to see the clogin line used: > > > > > >I'm not sure what version of rancid you are running, but could you > >try the latest bits? We are just about to release version 2.3, and > >there have been a number of fixes; maybe we got this one already. > > ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.rc1.tar.gz > > > >Thanks, > > --asp From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 12 23:23:43 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id F30DFC693A for ; Fri, 12 Mar 2004 23:23:42 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 02B8D17CFA8; Fri, 12 Mar 2004 15:23:42 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id DCDB017CFC4; Fri, 12 Mar 2004 15:23:41 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 0841A17CFC3; Fri, 12 Mar 2004 15:23:40 -0800 (PST) Date: Fri, 12 Mar 2004 15:23:40 -0800 From: john heasley To: rancid-discuss@shrubbery.net Subject: Re: Very strange problem with 2.2.2 (and 2.3-rc1) on FreeBSD-5.x Message-ID: <20040312232340.GP6984@shrubbery.net> References: <20040219144336.GA43301@eagle.aitken.com> <20040311092716.GA11515@hendrix.code.de> <20040311183116.GK26885@shrubbery.net> <20040312142636.GA19296@hendrix.code.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040312142636.GA19296@hendrix.code.de> 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 Fri, Mar 12, 2004 at 03:26:36PM +0100, Erik Wenzel: > On Thu, Mar 11, 2004 at 10:31:16AM -0800, john heasley wrote: > > Thu, Mar 11, 2004 at 10:27:16AM +0100, Erik Wenzel: > > > On Thu, Feb 19, 2004 at 09:43:36AM -0500, Jeff Aitken wrote: > > > > Hello all, > > > > > > > > I'm seeing a very strange problem with rancid-2.2.2 (and 2.3-rc1). > > > > I've been talking privately with some of the developers but this has > > > > all of us stumped. Part of the problem is that no one has managed to > > > > duplicate the symptoms I'm seeing, so I'm I'm sending this to the > > > > -discuss list in the hopes that someone out there has seen something > > > > similar. > > > >From time to time I have dublicate lines in config files, which disappear > > > on the following run. I use rancid-2.2.2 with expect-5.38.0 and tcl8.4.1 > > > on Solaris8. The occurance is arbitrary, so I am a bit aimless, howto > > > debug this problem > > > > Could you supply an example, please. > > > > What type of device is being collected? what connection method, telnet or > > ssh? > This is an example output. There are mutiple occurances, when it > happens: > ---snip--- > arp 1.1.1.1 0000.0000.0001 ARPA > + arp 1.1.1.1 0000.0000.0001 ARPA > arp 1.1.1.2 0000.0000.0002 ARPA > arp 1.1.1.3.0000.0000.0003 ARPA > ---snip--- > > On the next do-diffs run it disappears with: > ---snip--- > arp 1.1.1.1 0000.0000.0001 ARPA > - arp 1.1.1.1 0000.0000.0001 ARPA > arp 1.1.1.2 0000.0000.0002 ARPA > arp 1.1.1.3.0000.0000.0003 ARPA > ---snip--- > > This is collected with telnet from a Cisco Catalyst 6500 running IOS > Version 12.1(19)E1. we have one of these, but not arp commands in the config. It nor any of the other 6500s exhibit this behavior. Does this occur only with arp commands by chance? From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 15 21:16:08 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2C1BD11CE33 for ; Mon, 15 Mar 2004 21:16:08 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 502E917CF9E; Mon, 15 Mar 2004 13:16:06 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C7E9217CFA8; Mon, 15 Mar 2004 13:16:05 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id A432617CF9E for ; Mon, 15 Mar 2004 13:16:04 -0800 (PST) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id 7EC291F39F; Mon, 15 Mar 2004 16:15:28 -0500 (EST) Date: Mon, 15 Mar 2004 16:15:28 -0500 From: joshua sahala To: rancid-discuss@shrubbery.net Subject: nlogin issues Message-ID: <20040315211528.GA22235@aurvandil.sahala.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk hello all, i'm having some issues getting 2.3 to login to my netscreens - it fails telling me to check my password. however, the nlogin from qorbit works just fine...so i was wondering if anyone else had experienced this. i'm going to start going through both scripts to try and figure out where the 2.3 version breaks (if someone hasn't already done so). i'll submit a patch if/when i get it /joshua -- Fixing Unix is easier than living with NT. Jonathan Gilpin From owner-rancid-discuss-outgoing@shrubbery.net Tue Mar 16 11:01:31 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id B7E6311CE3C for ; Tue, 16 Mar 2004 11:01:30 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 6661817CF9E; Tue, 16 Mar 2004 03:01:29 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 440EE17CFA8; Tue, 16 Mar 2004 03:01:29 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from gizmo04bw.bigpond.com (gizmo04bw.bigpond.com [144.140.70.14]) by guelah.shrubbery.net (Postfix) with SMTP id A9DE917CF9E for ; Tue, 16 Mar 2004 03:01:26 -0800 (PST) Received: (qmail 2572 invoked from network); 16 Mar 2004 10:56:15 -0000 Received: from unknown (HELO bwmam03.bigpond.com) (144.135.24.75) by gizmo04bw.bigpond.com with SMTP; 16 Mar 2004 10:56:15 -0000 Received: from cpe-144-132-103-107.vic.bigpond.net.au ([144.132.103.107]) by bwmam03.bigpond.com(MAM REL_3_4_2 26/4436245) with SMTP id 4436245; Tue, 16 Mar 2004 21:01:22 +1000 Message-ID: <4056DDC6.3080909@choqolat.org> Date: Tue, 16 Mar 2004 21:58:14 +1100 From: Andrew Fort User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: joshua sahala Cc: rancid-discuss@shrubbery.net Subject: Re: nlogin issues References: <20040315211528.GA22235@aurvandil.sahala.org> In-Reply-To: <20040315211528.GA22235@aurvandil.sahala.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk joshua sahala wrote: >hello all, > >i'm having some issues getting 2.3 to login to my netscreens - it fails >telling me to check my password. however, the nlogin from qorbit works >just fine...so i was wondering if anyone else had experienced this. i'm >going to start going through both scripts to try and figure out where the >2.3 version breaks (if someone hasn't already done so). > >i'll submit a patch if/when i get it > >/joshua > > Joshua, There's a couple of things that could be going on here related to the username/password fields. Is it the enable password, or the user password, that is failing?. Would you mind sharing (to rancid@shrubbery.net if you like) the .cloginrc entries you have for the firewall (password obscured, but otherwise syntax intact) and an output dump so I help you track it down further? Also, does the username getting echoed back correctly (as far as you can tell?). cheers, -afort From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 17 02:09:32 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id ABAD211CE3D for ; Wed, 17 Mar 2004 02:09:32 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id A828A17CFA7; Tue, 16 Mar 2004 18:09:31 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 857A117CFC8; Tue, 16 Mar 2004 18:09:31 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id 5D02B17CFA7 for ; Tue, 16 Mar 2004 18:09:30 -0800 (PST) Received: by aurvandil.sahala.org (Postfix, from userid 1000) id CC07A1F304; Tue, 16 Mar 2004 20:17:46 -0500 (EST) Date: Tue, 16 Mar 2004 20:17:46 -0500 From: joshua sahala To: Andrew Fort Cc: rancid-discuss@shrubbery.net Subject: Re: nlogin issues Message-ID: <20040317011746.GA6256@aurvandil.sahala.org> References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4056DDC6.3080909@choqolat.org> User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On (16/03/04 21:58), Andrew Fort wrote: > Is it the enable password, or the user password, that is failing?. #### the 2.3 nlogin #### rancid@loki: rancid$ nlogin fw01.fch1 fw01.fch1 spawn ssh -c 3des -x -l admin fw01.fch1 secadmin@fw01.fch1's password: Permission denied, please try again. Error: Check your passwd for fw01.fch1 #### the qorbit nlogin #### rancid@loki: rancid$ src/nrancid/nlogin fw01.fch1 fw01.fch1 spawn ssh -c 3des -x -l admin fw01.fch1 secadmin@fw01.fch1's password: This computer system is mine - GO AWAY!!!! fw01.fch1-> > Would you mind sharing (to rancid@shrubbery.net if you like) the > .cloginrc entries you have for the > firewall (password obscured, > but otherwise syntax intact) add user fw01.fch1 admin add userpassword fw01.fch1 {!W@ntsl33p} add password fw01.fch1 {!W@ntsl33p} add method fw01.fch1 ssh #add noenable fw01.fch1 > and an output dump so I help you track it down further? what other output would be useful to you? > Also, does the username getting echoed back correctly (as far as > you can tell?). yes - see above thanks /joshua -- Fixing Unix is easier than living with NT. Jonathan Gilpin From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 17 21:41:04 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4B3A411CE3D for ; Wed, 17 Mar 2004 21:41:04 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 0DA0717CFC8; Wed, 17 Mar 2004 13:41:03 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E625717CFCA; Wed, 17 Mar 2004 13:41:02 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mail8.mdx.safepages.com (mail8.mdx.safepages.com [216.127.133.23]) by guelah.shrubbery.net (Postfix) with ESMTP id ACCA517CFC8 for ; Wed, 17 Mar 2004 13:41:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail8.mdx.safepages.com (Postfix) with ESMTP id 9E94E1823C9 for ; Wed, 17 Mar 2004 21:40:44 +0000 (GMT) Received: from mail8.mdx.safepages.com ([127.0.0.1]) by localhost (mail8.mdx.safepages.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02498-09 for ; Wed, 17 Mar 2004 21:40:44 +0000 (GMT) Received: by mail8.mdx.safepages.com (Postfix, from userid 1012) id 41B3F182F97; Wed, 17 Mar 2004 21:40:44 +0000 (GMT) Received: from dialupusa.net (gabriel.lan.dialupusa.net [67.107.168.130]) by mail8.mdx.safepages.com (Postfix) with ESMTP id AA7E51827C5 for ; Wed, 17 Mar 2004 21:40:43 +0000 (GMT) Message-ID: <4058C5DB.60504@dialupusa.net> Date: Wed, 17 Mar 2004 13:40:43 -0800 From: Gabriel Organization: Dialup USA, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: clogin, "show controllers" and ios 12.3 References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> <20040317011746.GA6256@aurvandil.sahala.org> In-Reply-To: <20040317011746.GA6256@aurvandil.sahala.org> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.safepages.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All. I've recently discovered the cause for my do-diffs sessions hanging. It seems that "show controllers" on IOS 12.3(1) and 12.3(3)B will hang sometimes. It seems to hang about once every other, or every third time. Hardware: 7206 VXR / NPE-G1 / DS3 cards and Ethernet cards I've commented out the "show controllers" calls, and it's not hanging anymore, so it would seem to be an issue there. It is probably a bug in IOS 12.3. More investigation is clearly needed, but I thought that some might benefit from this (or if this is a known issue, that'd be neat to know about, too). HTH, Gabriel - -- Gabriel Cain www.dialupusa.net Senior Systems Administrator gabriel@dialupusa.net PGP fingerprint: C0B4 C6BF 13F5 69D1 3E6B CD7C D4C8 2EA4 2B08 1C6D Technology for the sake of business. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFAWMXa1MgupCsIHG0RAikhAJ9/fzW8lzsRvKcUq/DGcbA1U0SYuQCVHgaG InnZktBRcs5USw1N3Lf/yg== =odwT -----END PGP SIGNATURE----- From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 19 05:14:28 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 01EF011CE40 for ; Fri, 19 Mar 2004 05:14:27 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 053AA17CFC8; Thu, 18 Mar 2004 21:14:27 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D912417CFCC; Thu, 18 Mar 2004 21:14:26 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from pronbox.phatmax.net (pronbox.phatmax.net [64.237.62.50]) by guelah.shrubbery.net (Postfix) with SMTP id 8F14317CFC8 for ; Thu, 18 Mar 2004 21:14:24 -0800 (PST) Received: (qmail 15455 invoked by uid 1043); 19 Mar 2004 01:14:06 -0000 Received: from davidc@sargasso.net by pronbox.phatmax.net by uid 64011 with qmail-scanner-1.20 (sophie: 3.02/2.14/3.70. spamassassin: 2.60. Clear:RC:1(68.38.212.145):SA:0(0.0/5.0):. Processed in 0.16629 secs); 19 Mar 2004 01:14:06 -0000 Received: from unknown (HELO sargasso.net) (68.38.212.145) by phatmax.net with SMTP; 19 Mar 2004 01:14:06 -0000 Message-ID: <405A4959.5000805@sargasso.net> Date: Thu, 18 Mar 2004 20:14:01 -0500 From: David Croft Organization: Sargasso Networks User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gabriel Cc: rancid-discuss@shrubbery.net Subject: Re: clogin, "show controllers" and ios 12.3 References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> <20040317011746.GA6256@aurvandil.sahala.org> <4058C5DB.60504@dialupusa.net> In-Reply-To: <4058C5DB.60504@dialupusa.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pronbox.phatmax.net X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi Gabriel, I had this exact same problem. You will need the patch to "expect", which is on http://www.shrubbery.net/rancid/ (which seems to be down right now). Basically it adds a line to exp_chan.c: --- exp_chan.c.orig Thu Jul 31 14:35:07 2003 +++ exp_chan.c Fri Mar 12 22:58:42 2004 @@ -119,6 +119,7 @@ * nonblocking, the read will never block. */ + fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK); bytesRead = read(esPtr->fdin, buf, (size_t) toRead); /*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/ if (bytesRead > -1) { and also rancid version 2.3 if you find it also loops repeatedly around looking for missing commands. David Gabriel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hello All. > > I've recently discovered the cause for my do-diffs sessions hanging. It > seems that "show controllers" on IOS 12.3(1) and 12.3(3)B will hang > sometimes. It seems to hang about once every other, or every third time. > > Hardware: > 7206 VXR / NPE-G1 / DS3 cards and Ethernet cards > > I've commented out the "show controllers" calls, and it's not hanging > anymore, so it would seem to be an issue there. > > It is probably a bug in IOS 12.3. > > More investigation is clearly needed, but I thought that some might benefit > from this (or if this is a known issue, that'd be neat to know about, too). > > HTH, > Gabriel > > > > - -- > Gabriel Cain www.dialupusa.net > Senior Systems Administrator gabriel@dialupusa.net > PGP fingerprint: C0B4 C6BF 13F5 69D1 3E6B CD7C D4C8 2EA4 2B08 1C6D > > Technology for the sake of business. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD4DBQFAWMXa1MgupCsIHG0RAikhAJ9/fzW8lzsRvKcUq/DGcbA1U0SYuQCVHgaG > InnZktBRcs5USw1N3Lf/yg== > =odwT > -----END PGP SIGNATURE----- From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 19 18:35:55 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2A04911CE31 for ; Fri, 19 Mar 2004 18:35:55 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id E944317CFA8; Fri, 19 Mar 2004 10:35:53 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D29A017CFC8; Fri, 19 Mar 2004 10:35:53 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mail9.mdx.safepages.com (mail9.mdx.safepages.com [216.127.133.24]) by guelah.shrubbery.net (Postfix) with ESMTP id 25F7117CFA8 for ; Fri, 19 Mar 2004 10:35:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail9.mdx.safepages.com (Postfix) with ESMTP id 33149183281 for ; Fri, 19 Mar 2004 18:35:33 +0000 (GMT) Received: from mail9.mdx.safepages.com ([127.0.0.1]) by localhost (mail9.mdx.safepages.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46757-05 for ; Fri, 19 Mar 2004 18:35:32 +0000 (GMT) Received: by mail9.mdx.safepages.com (Postfix, from userid 1012) id 3133F183286; Fri, 19 Mar 2004 18:35:30 +0000 (GMT) Received: from dialupusa.net (gabriel.lan.dialupusa.net [67.107.168.130]) by mail9.mdx.safepages.com (Postfix) with ESMTP id 7C6541832B4 for ; Fri, 19 Mar 2004 18:35:29 +0000 (GMT) Message-ID: <405B3D72.8000807@dialupusa.net> Date: Fri, 19 Mar 2004 10:35:30 -0800 From: Gabriel Organization: Dialup USA, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: rancid-discuss@shrubbery.net Subject: Re: clogin, "show controllers" and ios 12.3 References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> <20040317011746.GA6256@aurvandil.sahala.org> <4058C5DB.60504@dialupusa.net> <405A4959.5000805@sargasso.net> In-Reply-To: <405A4959.5000805@sargasso.net> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.safepages.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk David, Thanks for the patch; I appreciate that. And I can see how setting non-blocking IO in expect will solve that. :) That's good. Thanks, Gabriel David Croft wrote: > Hi Gabriel, > > I had this exact same problem. You will need the patch to "expect", > which is on http://www.shrubbery.net/rancid/ (which seems to be down > right now). Basically it adds a line to exp_chan.c: > > --- exp_chan.c.orig Thu Jul 31 14:35:07 2003 > +++ exp_chan.c Fri Mar 12 22:58:42 2004 > @@ -119,6 +119,7 @@ > * nonblocking, the read will never block. > */ > > + fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK); > bytesRead = read(esPtr->fdin, buf, (size_t) toRead); > /*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/ > if (bytesRead > -1) { > > and also rancid version 2.3 if you find it also loops repeatedly around > looking for missing commands. > > David -- Gabriel Cain www.dialupusa.net Senior Systems Administrator gabriel@dialupusa.net PGP fingerprint: C0B4 C6BF 13F5 69D1 3E6B CD7C D4C8 2EA4 2B08 1C6D Technology for the sake of business. From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 19 19:23:55 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id B048711CE31 for ; Fri, 19 Mar 2004 19:23:54 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 3E80117CF9E; Fri, 19 Mar 2004 11:23:53 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1F09917CFA8; Fri, 19 Mar 2004 11:23:53 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 14F2E17CFA7; Fri, 19 Mar 2004 11:23:52 -0800 (PST) Date: Fri, 19 Mar 2004 11:23:51 -0800 From: john heasley To: David Croft Cc: Gabriel , rancid-discuss@shrubbery.net Subject: Re: clogin, "show controllers" and ios 12.3 Message-ID: <20040319192351.GQ26144@shrubbery.net> References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> <20040317011746.GA6256@aurvandil.sahala.org> <4058C5DB.60504@dialupusa.net> <405A4959.5000805@sargasso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <405A4959.5000805@sargasso.net> 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 Thu, Mar 18, 2004 at 08:14:01PM -0500, David Croft: > Hi Gabriel, > > I had this exact same problem. You will need the patch to "expect", > which is on http://www.shrubbery.net/rancid/ (which seems to be down > right now). Basically it adds a line to exp_chan.c: Sorry, all...telco buggered both of my circuits. > --- exp_chan.c.orig Thu Jul 31 14:35:07 2003 > +++ exp_chan.c Fri Mar 12 22:58:42 2004 > @@ -119,6 +119,7 @@ > * nonblocking, the read will never block. > */ > > + fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK); > bytesRead = read(esPtr->fdin, buf, (size_t) toRead); > /*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/ > if (bytesRead > -1) { > > and also rancid version 2.3 if you find it also loops repeatedly around > looking for missing commands. > > David Gabriel, let us know if this does not fix the problem. From owner-rancid-discuss-outgoing@shrubbery.net Fri Mar 19 21:14:22 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id AC76111CE31 for ; Fri, 19 Mar 2004 21:14:21 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id B4BBC17CF9E; Fri, 19 Mar 2004 13:14:20 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 95DCC17CFA8; Fri, 19 Mar 2004 13:14:20 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mail6.mdx.safepages.com (mail6.mdx.safepages.com [216.127.133.21]) by guelah.shrubbery.net (Postfix) with ESMTP id 6224B17CF9E for ; Fri, 19 Mar 2004 13:14:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail6.mdx.safepages.com (Postfix) with ESMTP id B92D49409D for ; Fri, 19 Mar 2004 21:14:08 +0000 (GMT) Received: from mail6.mdx.safepages.com ([127.0.0.1]) by localhost (mail6.mdx.safepages.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20557-10 for ; Fri, 19 Mar 2004 21:14:08 +0000 (GMT) Received: by mail6.mdx.safepages.com (Postfix, from userid 1012) id 7D67794095; Fri, 19 Mar 2004 21:14:08 +0000 (GMT) Received: from dialupusa.net (gabriel.lan.dialupusa.net [67.107.168.130]) by mail6.mdx.safepages.com (Postfix) with ESMTP id 2A6E793FFC for ; Fri, 19 Mar 2004 21:14:08 +0000 (GMT) Message-ID: <405B62A1.4020703@dialupusa.net> Date: Fri, 19 Mar 2004 13:14:09 -0800 From: Gabriel Organization: Dialup USA, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: Re: clogin, "show controllers" and ios 12.3 References: <20040315211528.GA22235@aurvandil.sahala.org> <4056DDC6.3080909@choqolat.org> <20040317011746.GA6256@aurvandil.sahala.org> <4058C5DB.60504@dialupusa.net> <405A4959.5000805@sargasso.net> <20040319192351.GQ26144@shrubbery.net> In-Reply-To: <20040319192351.GQ26144@shrubbery.net> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk john heasley wrote: > > > Gabriel, let us know if this does not fix the problem. It seems to be the case that this has fixed my issue. It has been running smoothly for the last several hours without hanging (I run it from cron every half hour). So thanks very much for the help. Gabriel -- Gabriel Cain www.dialupusa.net Senior Systems Administrator gabriel@dialupusa.net PGP fingerprint: C0B4 C6BF 13F5 69D1 3E6B CD7C D4C8 2EA4 2B08 1C6D Technology for the sake of business. From owner-rancid-discuss-outgoing@shrubbery.net Sat Mar 20 06:39:11 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2738911CE33 for ; Sat, 20 Mar 2004 06:39:11 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 38C3B17CF9E; Fri, 19 Mar 2004 22:39:10 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1826A17CFA8; Fri, 19 Mar 2004 22:39:10 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw253.dsl-acs2.sea.iinet.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id 1A3A117CF9E for ; Fri, 19 Mar 2004 22:39:09 -0800 (PST) Received: from localhost ([127.0.0.1] helo=ran.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.30; FreeBSD) id 1B4a8C-0007Vh-SX for rancid-discuss@shrubbery.net; Fri, 19 Mar 2004 22:38:52 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 19 Mar 2004 22:38:52 -0800 To: rancid users Subject: Undefined symbol "__xuname" Message-Id: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk freebsd current, after today's cvsup and builds /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl84.so.1: Undefined symbol "__xuname" and the archives are not helpful. randy From owner-rancid-discuss-outgoing@shrubbery.net Sat Mar 20 19:52:29 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CF21F11CE35 for ; Sat, 20 Mar 2004 19:52:29 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C44F517CF9E; Sat, 20 Mar 2004 11:52:28 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A368017CFA8; Sat, 20 Mar 2004 11:52:28 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id A675D17CFA7; Sat, 20 Mar 2004 11:52:27 -0800 (PST) Date: Sat, 20 Mar 2004 11:52:27 -0800 From: john heasley To: Randy Bush Cc: rancid users Subject: Re: Undefined symbol "__xuname" Message-ID: <20040320195227.GC26144@shrubbery.net> References: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> 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 Fri, Mar 19, 2004 at 10:38:52PM -0800, Randy Bush: > freebsd current, after today's cvsup and builds > > /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl84.so.1: Undefined symbol "__xuname" > > and the archives are not helpful. > > randy this is not a rancid problem. you probably have to rebuild tcl and expect (which relies on tcl). my guess is that this symbol is from system lib and it changed or moved. From owner-rancid-discuss-outgoing@shrubbery.net Sat Mar 20 20:33:51 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4B3A311CE35 for ; Sat, 20 Mar 2004 20:33:51 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 7790917CFA8; Sat, 20 Mar 2004 12:33:49 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 47F0D17CFC8; Sat, 20 Mar 2004 12:33:49 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from psg.com (psg.com [147.28.0.62]) by guelah.shrubbery.net (Postfix) with ESMTP id F402F17CFA8; Sat, 20 Mar 2004 12:33:47 -0800 (PST) Received: from [127.0.0.1] (helo=roam.psg.com) by psg.com with esmtp (Exim 4.30; FreeBSD) id 1B4nAB-000Om7-QL; Sat, 20 Mar 2004 20:33:47 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com.psg.com) by roam.psg.com with esmtp (Exim 4.30; FreeBSD) id 1B4nAA-00065n-V0; Sat, 20 Mar 2004 21:33:47 +0100 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 20 Mar 2004 21:33:46 +0100 To: john heasley Cc: rancid users Subject: Re: Undefined symbol "__xuname" References: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> <20040320195227.GC26144@shrubbery.net> Message-Id: <20040320203348.F402F17CFA8@guelah.shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > this is not a rancid problem. you probably have to rebuild tcl and expect > (which relies on tcl). my guess is that this symbol is from system lib and > it changed or moved. indeed, that was it randy From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 22 16:17:59 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2BDD011CE3B for ; Mon, 22 Mar 2004 16:17:59 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id F075217CFA8; Mon, 22 Mar 2004 08:17:58 -0800 (PST) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D7F5A17CFC8; Mon, 22 Mar 2004 08:17:57 -0800 (PST) X-Original-To: rancid-discuss@shrubbery.net Received: from mignon.ki.iif.hu (mignon.ki.niif.hu [193.6.222.240]) by guelah.shrubbery.net (Postfix) with ESMTP id EDB7A17CFA8 for ; Mon, 22 Mar 2004 08:17:55 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mignon.ki.iif.hu (Postfix) with ESMTP id C837D55F8; Mon, 22 Mar 2004 17:17:37 +0100 (CET) Received: from mignon.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 63148-02; Mon, 22 Mar 2004 17:17:36 +0100 (CET) Received: by mignon.ki.iif.hu (Postfix, from userid 1003) id 47F0455DF; Mon, 22 Mar 2004 17:17:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mignon.ki.iif.hu (Postfix) with ESMTP id 4302755A0; Mon, 22 Mar 2004 17:17:36 +0100 (CET) Date: Mon, 22 Mar 2004 17:17:36 +0100 (CET) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: Randy Bush Cc: rancid users Subject: Re: Undefined symbol "__xuname" In-Reply-To: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> Message-ID: <20040322171312.X56200@mignon.ki.iif.hu> References: <20040320063909.1A3A117CF9E@guelah.shrubbery.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, 19 Mar 2004, Randy Bush wrote: > freebsd current, after today's cvsup and builds > > /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl84.so.1: Undefined symbol "__xuname" > > and the archives are not helpful. First of all, check this: objdump --dynamic-syms /usr/lib/libtcl84.so.1 |grep __xuname Secondly, I'll bet you have got a 4.x binary involved in there somewhere, and whatever is generating this message is happening because the main executable is being linked against libc.so.4 (which doesn't have __xuname). Probably you have to reinstall libtcl or add Compat4x ! Best Regards, Janos Mohacsi From owner-rancid-discuss-outgoing@shrubbery.net Sun Mar 28 02:16:18 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 6182F11CE2D for ; Sun, 28 Mar 2004 02:16:18 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id ED73417CFF6; Sun, 28 Mar 2004 02:16:17 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D2E4217CFF8; Sun, 28 Mar 2004 02:16:16 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id F40BE17CFF7; Sun, 28 Mar 2004 02:16:15 +0000 (UTC) Date: Sat, 27 Mar 2004 18:16:15 -0800 From: john heasley To: "Nipper, Arnold" Cc: "rancid-discuss@shrubbery.net" Subject: Re: Cisco bug when rolling over to summertime? (was prodswitch router config diffs) Message-ID: <20040328021615.GN25505@shrubbery.net> References: <40663356.7010708@de-cix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40663356.7010708@de-cix.net> 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 Sun, Mar 28, 2004 at 04:07:18AM +0200, Nipper, Arnold: > We just rolled over to summertime one hour ago and now rancid reports > that timestamps have changed. IMHO file timestamps should be independent > from summer/regular time. Or am I wrong? you are correct. we reported that bug years ago; sorry, do not know the ddts. > Arnold > > > -------- Original Message -------- > Subject: prodswitch router config diffs > Date: Sun, 28 Mar 2004 03:13:33 +0200 > From: RANCID > To: rancid-prodswitch@xxxxxx > > Index: configs/xxxxxx > =================================================================== > retrieving revision 1.400 > diff -u -4 -r1.400 xxxxxx > @@ -16,10 +16,10 @@ > !Variable: BOOT = > bootflash:RTSYNC_cat6000-sup2cvk9.7-2-2.bin,1;bootflash:cat6000-sup2cvk8.7-2-2.bin,1; > !Variable: CONFIG_FILE = slot0:switch.cfg > ! > !Flash: -#- ED --type-- --crc--- -seek-- nlen -length- > -----date/time------ name > - !Flash: 1 .. ffffffff f08b29a1 a6449c 26 10372124 Oct 22 2002 > 04:55:17 cat6000-sup2cvk8.7-2-2.bin > - !Flash: 2 .. ffffffff 510e0f6a 145e1b0 33 10460308 Oct 24 2002 > 01:43:17 RTSYNC_cat6000-sup2cvk9.7-2-2.bin > + !Flash: 1 .. ffffffff f08b29a1 a6449c 26 10372124 Oct 22 2002 > 05:55:17 cat6000-sup2cvk8.7-2-2.bin > + !Flash: 2 .. ffffffff 510e0f6a 145e1b0 33 10460308 Oct 24 2002 > 02:43:17 RTSYNC_cat6000-sup2cvk9.7-2-2.bin > !Flash: 11148880 bytes available (20832688 bytes used) > ! From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 29 15:58:14 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id E709F11CE30 for ; Mon, 29 Mar 2004 15:58:13 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id AF73517CFF2; Mon, 29 Mar 2004 15:58:12 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 972F017CFF5; Mon, 29 Mar 2004 15:58:12 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from IMRDE01.lear.com (93.lear.com [213.68.144.93]) by guelah.shrubbery.net (Postfix) with ESMTP id 06A8117CFF2 for ; Mon, 29 Mar 2004 15:58:11 +0000 (UTC) Received: from routeeubh.lear.com ([10.40.1.64]) by mail5.lear.com with InterScan Messaging Security Suite; Mon, 29 Mar 2004 17:59:31 +0200 Received: by routeeubh.leareu.lear.com with Internet Mail Service (5.5.2653.19) id <1T31N4KM>; Mon, 29 Mar 2004 17:58:09 +0200 Message-ID: From: "Otto, Axel" To: "'rancid-discuss@shrubbery.net'" Subject: Newbie question Date: Mon, 29 Mar 2004 17:58:07 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm new to RANCID (and UNIX for that matter) so please forgive me if I do ask something stupid.... I was successfully able to get Rancid up and running and it's working great for me. At the moment I use it to monitor 350 different Cisco routers. And here is my problem: I would like to see who have done configuration changes on our routers, this information is usually shown if you do a "show running-config" on a router. Unfortunately this information gets filtered out by the rancid process and I have no clue how to keep it. Is there somebody out there who can help? Thanks a lot for this great tool and for your support Axel Otto ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 29 16:22:48 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4E80611CE30 for ; Mon, 29 Mar 2004 16:22:48 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 4187A17CFF8; Mon, 29 Mar 2004 16:22:47 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1F4DF17CFFB; Mon, 29 Mar 2004 16:22:47 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from eagle.aitken.com (eagle.aitken.com [198.137.194.213]) by guelah.shrubbery.net (Postfix) with ESMTP id D8CBF17CFF8 for ; Mon, 29 Mar 2004 16:22:45 +0000 (UTC) Received: by eagle.aitken.com (Postfix, from userid 1000) id F0E7DB24E7; Mon, 29 Mar 2004 11:22:44 -0500 (EST) Date: Mon, 29 Mar 2004 11:22:44 -0500 From: Jeff Aitken To: "Otto, Axel" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: Newbie question Message-ID: <20040329162244.GA91923@eagle.aitken.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Mon, Mar 29, 2004 at 05:58:07PM +0200, Otto, Axel wrote: > And here is my problem: I would like to see who have done configuration > changes on our routers, this information is usually shown if you do a "show > running-config" on a router. Unfortunately this information gets filtered > out by the rancid process and I have no clue how to keep it. > Is there somebody out there who can help? Assuming you're talking about this output: ! ! Last configuration change at 07:02:04 UTC Sat Mar 27 2004 by jaitken ! NVRAM config last updated at 07:02:06 UTC Sat Mar 27 2004 by jaitken ! rancid could probably be tweaked to save it. I've never done this personally but it shouldn't be hard. However, the problem is that this only tells you the *last* person who changed the config and who saved it to NVRAM. If you want to know the complete set of people who made changes (and what specific changes they made) you really want command logging of some kind. How you configure this depends on a number of factors including the protocol you use (RADIUS, TACACS), the level of detail you want, and so on. For more info, look on CCO for the 'aaa accounting' hierarchy of commands and go from there. router(config)#aaa accounting ? commands For exec (shell) commands. connection For outbound connections. (telnet, rlogin) exec For starting an exec (shell). nested When starting PPP from EXEC, generate NETWORK records before EXEC-STOP record. network For network services. (PPP, SLIP, ARAP) send Send records to accounting server. suppress Do not generate accounting records for a specific type of user system For System events. update Enable accounting update records. HTH, --Jeff From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 29 16:25:15 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 90BAC11CE30 for ; Mon, 29 Mar 2004 16:25:15 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 1A57217CFFD; Mon, 29 Mar 2004 16:25:12 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id EE31317CFFF; Mon, 29 Mar 2004 16:25:11 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-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 B45DF17CFFD for ; Mon, 29 Mar 2004 16:25:10 +0000 (UTC) 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 i2TGP9nN067145; Mon, 29 Mar 2004 11:25:09 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.8p2/8.12.8/Submit) id i2TGP9R5067142; Mon, 29 Mar 2004 11:25:09 -0500 (EST) (envelope-from asp) Date: Mon, 29 Mar 2004 11:25:09 -0500 From: Andrew Partan To: "Otto, Axel" Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie question Message-ID: <20040329162508.GB66913@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Mon, Mar 29, 2004 at 05:58:07PM +0200, Otto, Axel wrote: > for me. At the moment I use it to monitor 350 different Cisco routers. > And here is my problem: I would like to see who have done configuration > changes on our routers, this information is usually shown if you do a "show > running-config" on a router. Unfortunately this information gets filtered > out by the rancid process and I have no clue how to keep it. You really need to watch the syslog output from the routers for that. The 'show running' info only mentions the last change, not all of the ones before that. --asp From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 29 16:37:21 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 25D2E11CE30 for ; Mon, 29 Mar 2004 16:37:21 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 1D37C17D001; Mon, 29 Mar 2004 16:37:20 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 017DA17D003; Mon, 29 Mar 2004 16:37:19 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from IMRDE01.lear.com (93.lear.com [213.68.144.93]) by guelah.shrubbery.net (Postfix) with ESMTP id 809D517D001 for ; Mon, 29 Mar 2004 16:37:18 +0000 (UTC) Received: from routeeubh.lear.com ([10.40.1.64]) by mail5.lear.com with InterScan Messaging Security Suite; Mon, 29 Mar 2004 18:38:39 +0200 Received: by routeeubh.leareu.lear.com with Internet Mail Service (5.5.2653.19) id <1T31N4V8>; Mon, 29 Mar 2004 18:37:17 +0200 Message-ID: From: "Otto, Axel" To: "'rancid-discuss@shrubbery.net'" Subject: RE: Newbie question Date: Mon, 29 Mar 2004 18:37:14 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk -----Original Message----- From: Andrew Partan [mailto:asp@partan.com] Sent: Montag, 29. M=E4rz 2004 06:25 PM To: Otto, Axel Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie question On Mon, Mar 29, 2004 at 05:58:07PM +0200, Otto, Axel wrote: > for me. At the moment I use it to monitor 350 different Cisco routers. > And here is my problem: I would like to see who have done configuration > changes on our routers, this information is usually shown if you do a "show > running-config" on a router. Unfortunately this information gets filtered > out by the rancid process and I have no clue how to keep it. You really need to watch the syslog output from the routers for that. The 'show running' info only mentions the last change, not all of the ones before that. --asp Thanks a lot for your quick response, but this is exactly what I'm looking for. I know that only the last "changer" will be saved that way but, based on the fact that this would be stored at CVS, it would work for me. A= simple Diff would show the config changes and, at least, the one who did the "latest" change since the last run of Rancid. Axel Otto ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain=0D legally privileged, confidential or proprietary=0D information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of=0D this message to the intended recipient(s), you are=0D hereby notified that any dissemination, distribution=0D or copying of this E-mail message is strictly=0D prohibited. If you have received this message in=0D error, please immediately notify the sender and=0D delete this E-mail message from your computer. From owner-rancid-discuss-outgoing@shrubbery.net Mon Mar 29 16:43:59 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 39B2A11CE30 for ; Mon, 29 Mar 2004 16:43:59 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 398E817CFE0; Mon, 29 Mar 2004 16:43:58 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1758517D004; Mon, 29 Mar 2004 16:43:58 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from eagle.aitken.com (eagle.aitken.com [198.137.194.213]) by guelah.shrubbery.net (Postfix) with ESMTP id C09A317CFE0 for ; Mon, 29 Mar 2004 16:43:56 +0000 (UTC) Received: by eagle.aitken.com (Postfix, from userid 1000) id F0EFFB2493; Mon, 29 Mar 2004 11:43:55 -0500 (EST) Date: Mon, 29 Mar 2004 11:43:55 -0500 From: Jeff Aitken To: "Otto, Axel" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: Newbie question Message-ID: <20040329164355.GB92173@eagle.aitken.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Mon, Mar 29, 2004 at 06:37:14PM +0200, Otto, Axel wrote: > Thanks a lot for your quick response, but this is exactly what I'm looking > for. I know that only the last "changer" will be saved that way but, based > on the fact that this would be stored at CVS, it would work for me. I think this might do what you want: % diff -c rancid rancid.new *** rancid Mon Mar 29 08:38:19 2004 --- rancid.new Mon Mar 29 08:40:59 2004 *************** *** 1130,1139 **** } tr/\015//d; } - # some versions have other crap mixed in with the bits in the - # block above - /^! (Last configuration|NVRAM config last)/ && next; - # skip consecutive comment lines to avoid oscillating extra comment # line on some access servers. grrr. if (/^!/) { --- 1130,1135 ---- --Jeff From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 21:55:19 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 10BC611CE2D for ; Wed, 31 Mar 2004 21:55:19 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C3AF717D009; Wed, 31 Mar 2004 21:55:17 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A9FD317D00C; Wed, 31 Mar 2004 21:55:17 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mars.resultstel.com (mars.resultstel.com [146.82.194.225]) by guelah.shrubbery.net (Postfix) with SMTP id 49AAC17D009 for ; Wed, 31 Mar 2004 21:55:16 +0000 (UTC) Received: (qmail 9560 invoked from network); 31 Mar 2004 21:55:15 -0000 Received: from unknown (HELO resultstel.com) (10.64.14.149) by mars.resultstel.com with SMTP; 31 Mar 2004 21:55:15 -0000 Message-ID: <406B3E42.5060102@resultstel.com> Date: Wed, 31 Mar 2004 16:55:14 -0500 From: Daniel Corbe User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: New to Rancid Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Trying to set up rancid. When I do rancid-run I don't see any CVS updates. It would appear as if it isn't grabbing any confing info at all from my routers. After I run rancid-run my router.db file gets truncated to Zero: -rw-rw---- 1 root rancid 0 Mar 31 15:50 router.db Not sure what I did wrong. This is my rancid.conf TERM=network;export TERM umask 027 TMPDIR=/tmp; export TMPDIR BASEDIR=/usr/local/var; export BASEDIR PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; export PATH CVSROOT=$BASEDIR/CVS; export CVSROOT LOGDIR=$BASEDIR/logs; export LOGDIR OLDTIME=4; export OLDTIME LOCKTIME=4; export LOCKTIME PAR_COUNT=5; export PAR_COUNT LIST_OF_GROUPS="cpe edge switches" Any help would be appriciated. Thanks From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 22:01:29 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2731A11CE2D for ; Wed, 31 Mar 2004 22:01:29 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id C43CC17D00B; Wed, 31 Mar 2004 22:01:27 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id ABF8217D010; Wed, 31 Mar 2004 22:01:27 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id B888517D00C; Wed, 31 Mar 2004 22:01:26 +0000 (UTC) Date: Wed, 31 Mar 2004 14:01:26 -0800 From: john heasley To: Daniel Corbe Cc: rancid-discuss@shrubbery.net Subject: Re: New to Rancid Message-ID: <20040331220126.GR2263@shrubbery.net> References: <406B3E42.5060102@resultstel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406B3E42.5060102@resultstel.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 did you run create_cvs (rancid-cvs in newer version)? Wed, Mar 31, 2004 at 04:55:14PM -0500, Daniel Corbe: > Trying to set up rancid. > > When I do rancid-run I don't see any CVS updates. It would appear as if > it isn't grabbing any confing info at all from my routers. After I run > rancid-run my router.db file gets truncated to Zero: > > -rw-rw---- 1 root rancid 0 Mar 31 15:50 router.db > > Not sure what I did wrong. > > This is my rancid.conf > > TERM=network;export TERM > umask 027 > TMPDIR=/tmp; export TMPDIR > BASEDIR=/usr/local/var; export BASEDIR > PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; > export PATH > CVSROOT=$BASEDIR/CVS; export CVSROOT > LOGDIR=$BASEDIR/logs; export LOGDIR > OLDTIME=4; export OLDTIME > LOCKTIME=4; export LOCKTIME > PAR_COUNT=5; export PAR_COUNT > LIST_OF_GROUPS="cpe edge switches" > > Any help would be appriciated. > > Thanks From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 22:04:03 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2493411CE2D for ; Wed, 31 Mar 2004 22:04:03 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id B6E1917D006; Wed, 31 Mar 2004 22:03:59 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9CE7017D011; Wed, 31 Mar 2004 22:03:59 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mars.resultstel.com (mars.resultstel.com [146.82.194.225]) by guelah.shrubbery.net (Postfix) with SMTP id D51ED17D007 for ; Wed, 31 Mar 2004 22:03:55 +0000 (UTC) Received: (qmail 17615 invoked from network); 31 Mar 2004 22:03:53 -0000 Received: from unknown (HELO resultstel.com) (10.64.14.149) by mars.resultstel.com with SMTP; 31 Mar 2004 22:03:53 -0000 Message-ID: <406B4048.4000306@resultstel.com> Date: Wed, 31 Mar 2004 17:03:52 -0500 From: Daniel Corbe User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: john heasley Cc: rancid-discuss@shrubbery.net Subject: Re: New to Rancid References: <406B3E42.5060102@resultstel.com> <20040331220126.GR2263@shrubbery.net> In-Reply-To: <20040331220126.GR2263@shrubbery.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Yuhp john heasley wrote: >did you run create_cvs (rancid-cvs in newer version)? > >Wed, Mar 31, 2004 at 04:55:14PM -0500, Daniel Corbe: > > >>Trying to set up rancid. >> >>When I do rancid-run I don't see any CVS updates. It would appear as if >>it isn't grabbing any confing info at all from my routers. After I run >>rancid-run my router.db file gets truncated to Zero: >> >>-rw-rw---- 1 root rancid 0 Mar 31 15:50 router.db >> >>Not sure what I did wrong. >> >>This is my rancid.conf >> >>TERM=network;export TERM >>umask 027 >>TMPDIR=/tmp; export TMPDIR >>BASEDIR=/usr/local/var; export BASEDIR >>PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; >>export PATH >>CVSROOT=$BASEDIR/CVS; export CVSROOT >>LOGDIR=$BASEDIR/logs; export LOGDIR >>OLDTIME=4; export OLDTIME >>LOCKTIME=4; export LOCKTIME >>PAR_COUNT=5; export PAR_COUNT >>LIST_OF_GROUPS="cpe edge switches" >> >>Any help would be appriciated. >> >>Thanks >> >> > > > > From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 22:44:36 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 7E4DA11CE2E for ; Wed, 31 Mar 2004 22:44:36 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 269D017D012; Wed, 31 Mar 2004 22:44:33 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 0855F17D014; Wed, 31 Mar 2004 22:44:32 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mars.resultstel.com (mars.resultstel.com [146.82.194.225]) by guelah.shrubbery.net (Postfix) with SMTP id 30C2B17D013 for ; Wed, 31 Mar 2004 22:44:31 +0000 (UTC) Received: (qmail 21390 invoked from network); 31 Mar 2004 22:44:30 -0000 Received: from unknown (HELO resultstel.com) (10.64.14.149) by mars.resultstel.com with SMTP; 31 Mar 2004 22:44:30 -0000 Message-ID: <406B49CD.1060505@resultstel.com> Date: Wed, 31 Mar 2004 17:44:29 -0500 From: Daniel Corbe User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: john heasley Cc: rancid-discuss@shrubbery.net Subject: Re: New to Rancid References: <406B3E42.5060102@resultstel.com> <20040331220126.GR2263@shrubbery.net> <406B4048.4000306@resultstel.com> <20040331220504.GS2263@shrubbery.net> <406B43F5.6060406@resultstel.com> In-Reply-To: <406B43F5.6060406@resultstel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Howdy, :) By backtracing my Qmail logs, rancid seems to be sending diff files to the user that's running rancid. The rancid username in this case is "rancid@mars.resultstel.com" This solves the problem from my end. I can simply forward "rancid@mars.resultstel.com" to the Mailing List I set up to receive the diffs; however, as a matter of convenience it'd be nice if I could send them somewhere else. Specifically if it would honor the rancid-group@domain E-Mail addresses for each of the router diffs and their respective groups. From what I've read in the documentation, it should do this now. I'm not sure how to set it up though. Thanks for all your help BTW. Daniel Corbe wrote: > > I recreated the router.db files by hand and now they seem to be > sticking around. I'm guessing that was just as a consequence of me > setting those files up before I did a rancid-cvs. *shrug* > > Now though, I don't see any diffs being mailed off. Not sure they're > even making it into the CVS repository. Does rancid-run do a cvs > commit when it's done? > > [rancid@mars edge]$ cvs update -AdP > cvs update: Updating . > ? routers.all > ? routers.down > ? routers.failed > ? routers.up > cvs update: Updating configs > cvs update: cannot open CVS/Entries for reading: No such file or > directory > > john heasley wrote: > >> cd to the dir where this router.db file is and run >> cvs update -AdP >> and tell me what the output is. >> >> Wed, Mar 31, 2004 at 05:03:52PM -0500, Daniel Corbe: >> >> >>> Yuhp >>> >>> john heasley wrote: >>> >>> >>> >>>> did you run create_cvs (rancid-cvs in newer version)? >>>> >>>> Wed, Mar 31, 2004 at 04:55:14PM -0500, Daniel Corbe: >>>> >>>> >>>> >>>> >>>>> Trying to set up rancid. >>>>> >>>>> When I do rancid-run I don't see any CVS updates. It would appear >>>>> as if it isn't grabbing any confing info at all from my routers. >>>>> After I run rancid-run my router.db file gets truncated to Zero: >>>>> >>>>> -rw-rw---- 1 root rancid 0 Mar 31 15:50 router.db >>>>> >>>>> Not sure what I did wrong. >>>>> >>>>> This is my rancid.conf >>>>> >>>>> TERM=network;export TERM >>>>> umask 027 >>>>> TMPDIR=/tmp; export TMPDIR >>>>> BASEDIR=/usr/local/var; export BASEDIR >>>>> PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; >>>>> export PATH >>>>> CVSROOT=$BASEDIR/CVS; export CVSROOT >>>>> LOGDIR=$BASEDIR/logs; export LOGDIR >>>>> OLDTIME=4; export OLDTIME >>>>> LOCKTIME=4; export LOCKTIME >>>>> PAR_COUNT=5; export PAR_COUNT >>>>> LIST_OF_GROUPS="cpe edge switches" >>>>> >>>>> Any help would be appriciated. >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> >> > > From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 22:51:06 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 681BA11CE2E for ; Wed, 31 Mar 2004 22:51:06 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id 5005817D015; Wed, 31 Mar 2004 22:51:05 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2FB4217D017; Wed, 31 Mar 2004 22:51:05 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 6830617D016; Wed, 31 Mar 2004 22:51:03 +0000 (UTC) Date: Wed, 31 Mar 2004 14:51:03 -0800 From: john heasley To: Daniel Corbe Cc: john heasley , rancid-discuss@shrubbery.net Subject: Re: New to Rancid Message-ID: <20040331225103.GW2263@shrubbery.net> References: <406B3E42.5060102@resultstel.com> <20040331220126.GR2263@shrubbery.net> <406B4048.4000306@resultstel.com> <20040331220504.GS2263@shrubbery.net> <406B43F5.6060406@resultstel.com> <406B49CD.1060505@resultstel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406B49CD.1060505@resultstel.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 Wed, Mar 31, 2004 at 05:44:29PM -0500, Daniel Corbe: > > Howdy, :) > > By backtracing my Qmail logs, rancid seems to be sending diff files to > the user that's running rancid. The rancid username in this case is > "rancid@mars.resultstel.com" > > This solves the problem from my end. I can simply forward > "rancid@mars.resultstel.com" to the Mailing List I set up to receive the > diffs; however, as a matter of convenience it'd be nice if I could send > them somewhere else. Specifically if it would honor the > rancid-group@domain E-Mail addresses for each of the router diffs and > their respective groups. > > From what I've read in the documentation, it should do this now. I'm > not sure how to set it up though. That is what should be happening. could you send an example email to me? Please also tell me any options you gave to configure, if any. From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 23:05:21 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id D283911CE2F for ; Wed, 31 Mar 2004 23:05:20 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id CCE9717D019; Wed, 31 Mar 2004 23:05:19 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9F6B317D01D; Wed, 31 Mar 2004 23:05:19 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mars.resultstel.com (mars.resultstel.com [146.82.194.225]) by guelah.shrubbery.net (Postfix) with SMTP id B25A617D01C for ; Wed, 31 Mar 2004 23:05:17 +0000 (UTC) Received: (qmail 5830 invoked from network); 31 Mar 2004 23:05:15 -0000 Received: from unknown (HELO resultstel.com) (10.64.14.149) by mars.resultstel.com with SMTP; 31 Mar 2004 23:05:15 -0000 Message-ID: <406B4EAB.7040309@resultstel.com> Date: Wed, 31 Mar 2004 18:05:15 -0500 From: Daniel Corbe User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: john heasley Cc: rancid-discuss@shrubbery.net Subject: Re: New to Rancid References: <406B3E42.5060102@resultstel.com> <20040331220126.GR2263@shrubbery.net> <406B4048.4000306@resultstel.com> <20040331220504.GS2263@shrubbery.net> <406B43F5.6060406@resultstel.com> <406B49CD.1060505@resultstel.com> <20040331225103.GW2263@shrubbery.net> In-Reply-To: <20040331225103.GW2263@shrubbery.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Ahh, I didn't read the message :) Silly me it *IS* honoring the group name, just not the domain name. Need to drop the "mars" portion off the host. no options were fed to ./configure Here's the message: Return-Path: Delivered-To: rancid@mars.resultstel.com Received: (qmail 6984 invoked by uid 587); 31 Mar 2004 22:29:10 -0000 Date: 31 Mar 2004 22:29:10 -0000 Message-ID: <20040331222910.6982.qmail@mars.resultstel.com> From: rancid@mars.resultstel.com To: rancid-cpe@mars.resultstel.com Subject: cpe router config diffs Precedence: bulk Index: configs/pinhead-vpn.cpe.resultstel.com =================================================================== retrieving revision 1.4 diff -u -4 -r1.4 pinhead-vpn.cpe.resultstel.com @@ -23,13 +23,13 @@ !Flash: [5591776 bytes used, 6728992 available, 12320768 total] !Flash: 12288K bytes of processor board System flash (Read/Write) ! !Flash: nvram: Directory of nvram:/ - !Flash: nvram: 123 -rw- 3790 startup-config + !Flash: nvram: 123 -rw- 3823 startup-config !Flash: nvram: 124 ---- 5 private-config !Flash: nvram: 1 -rw- 0 ifIndex-table !Flash: nvram: 2 ---- 12 persistent-data - !Flash: nvram: 131072 bytes total (125177 bytes free) + !Flash: nvram: 131072 bytes total (125144 bytes free) ! !Interface: Ethernet1, PQUICC 860T ADDR: 811991E4, FASTSEND: 8002B7C4, MCI_INDEX=0 ! ! @@ -96,8 +96,9 @@ ip nat inside hold-queue 100 out ! interface Ethernet1 + description To Bell South (DSL) no ip address duplex auto pppoe enable pppoe-client dial-pool-number 1 john heasley wrote: >Wed, Mar 31, 2004 at 05:44:29PM -0500, Daniel Corbe: > > >>Howdy, :) >> >>By backtracing my Qmail logs, rancid seems to be sending diff files to >>the user that's running rancid. The rancid username in this case is >>"rancid@mars.resultstel.com" >> >>This solves the problem from my end. I can simply forward >>"rancid@mars.resultstel.com" to the Mailing List I set up to receive the >>diffs; however, as a matter of convenience it'd be nice if I could send >>them somewhere else. Specifically if it would honor the >>rancid-group@domain E-Mail addresses for each of the router diffs and >>their respective groups. >> >>From what I've read in the documentation, it should do this now. I'm >>not sure how to set it up though. >> >> > >That is what should be happening. could you send an example email to me? >Please also tell me any options you gave to configure, if any. > > > > From owner-rancid-discuss-outgoing@shrubbery.net Wed Mar 31 23:19:35 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 5D17711CE2F for ; Wed, 31 Mar 2004 23:19:35 +0000 (GMT) Received: by guelah.shrubbery.net (Postfix) id DE0F317D01C; Wed, 31 Mar 2004 23:19:31 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AC59217D020; Wed, 31 Mar 2004 23:19:31 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 5282F17D01F; Wed, 31 Mar 2004 23:19:30 +0000 (UTC) Date: Wed, 31 Mar 2004 15:19:30 -0800 From: john heasley To: Daniel Corbe Cc: john heasley , rancid-discuss@shrubbery.net Subject: Re: New to Rancid Message-ID: <20040331231930.GA7242@shrubbery.net> References: <406B3E42.5060102@resultstel.com> <20040331220126.GR2263@shrubbery.net> <406B4048.4000306@resultstel.com> <20040331220504.GS2263@shrubbery.net> <406B43F5.6060406@resultstel.com> <406B49CD.1060505@resultstel.com> <20040331225103.GW2263@shrubbery.net> <406B4EAB.7040309@resultstel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406B4EAB.7040309@resultstel.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 Wed, Mar 31, 2004 at 06:05:15PM -0500, Daniel Corbe: > > Ahh, I didn't read the message :) Silly me > > it *IS* honoring the group name, just not the domain name. Need to drop > the "mars" portion off the host. > > no options were fed to ./configure > > Here's the message: > > Return-Path: > Delivered-To: rancid@mars.resultstel.com > Received: (qmail 6984 invoked by uid 587); 31 Mar 2004 22:29:10 -0000 > Date: 31 Mar 2004 22:29:10 -0000 > Message-ID: <20040331222910.6982.qmail@mars.resultstel.com> > From: rancid@mars.resultstel.com > To: rancid-cpe@mars.resultstel.com rancid does not append a domain name, unless you're running the latest and have set MAILDOMAIN in rancid.conf, which does not affect the From. otherwise, your MTA is doing that.