From owner-rancid-discuss-outgoing@shrubbery.net Fri Jul 1 12:08:16 2005 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 373B211CE2F for ; Fri, 1 Jul 2005 12:08:16 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 58650864CF; Fri, 1 Jul 2005 05:08:11 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4CCCB864D0; Fri, 1 Jul 2005 05:08:11 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from myway.com (nn1.excitenetwork.com [207.159.120.55]) by guelah.shrubbery.net (Postfix) with ESMTP id 89EA2864CE for ; Fri, 1 Jul 2005 05:08:06 -0700 (PDT) Received: by mprdmxin.myway.com (Postfix, from userid 110) id EC10E39A0; Fri, 1 Jul 2005 08:07:57 -0400 (EDT) To: rancid-discuss@shrubbery.net Subject: CVS question: export complete config everyfriday Received: from [203.193.133.65] by mprdmailfe3.nwk.myway.com via HTTP; Fri, 01 Jul 2005 08:07:57 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = ba5d64f58a4f6e8bb64a65e4ca2468f6 Reply-To: dbshah@myway.com From: "dharmesh" MIME-Version: 1.0 X-Sender: dbshah@myway.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20050701120757.EC10E39A0@mprdmxin.myway.com> Date: Fri, 1 Jul 2005 08:07:57 -0400 (EDT) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Ah well, they say its not as bad as they say it is. ---------anonymous Hello All, I have been an avvid user of Rancid since 2002. We have been using ver rancid v2.0 to 2.3 on Linux Redhat 9 to Fedora Core 3. Now my boss has enforced some LAME process upon us. He wants us to have Complete config backup taken every friday of all devices. Obviously rancid has been doing it , daily twice ( via cron ) & storing it in CVS. Now i know its more of a CVS question then rancid question. But i thought you guys could help me out. So here it is : How do i extract complete device configs as they stand on every friday from the CVS ? I could write a cron job , & zip the files later & email them. All that i can do, but not sure how i can do the first step itself. i.e extract the complete config from cvs . Any help from you folks would be greatly appreciated. thanks in advance regards dharmesh _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From owner-rancid-discuss-outgoing@shrubbery.net Fri Jul 1 15:26:22 2005 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 909C011CE2F for ; Fri, 1 Jul 2005 15:26:22 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 71FD6864D0; Fri, 1 Jul 2005 08:26:16 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 69CE2864D8; Fri, 1 Jul 2005 08:26:16 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id B06D3864D5; Fri, 1 Jul 2005 08:26:15 -0700 (PDT) Date: Fri, 1 Jul 2005 08:26:15 -0700 From: john heasley To: dharmesh Cc: rancid-discuss@shrubbery.net Subject: Re: CVS question: export complete config everyfriday Message-ID: <20050701152615.GC23774@shrubbery.net> References: <20050701120757.EC10E39A0@mprdmxin.myway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050701120757.EC10E39A0@mprdmxin.myway.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Jul 01, 2005 at 08:07:57AM -0400, dharmesh: > > > > > Ah well, they say its not as bad as they say it is. > ---------anonymous > > Hello All, > I have been an avvid user of Rancid since 2002. > We have been using ver rancid v2.0 to 2.3 on Linux Redhat 9 to Fedora Core 3. > > Now my boss has enforced some LAME process upon us. > He wants us to have Complete config backup taken every friday of all devices. > > Obviously rancid has been doing it , daily twice ( via cron ) & storing it in CVS. > > Now i know its more of a CVS question then rancid question. But i thought you guys could help me out. > > > So here it is : > How do i extract complete device configs as they stand on every friday from the CVS ? > > I could write a cron job , & zip the files later & email them. > All that i can do, but not sure how i can do the first step itself. i.e extract the complete config from cvs . This is really a CVS question, which you could answer by looking at CVS manual/FAQs/tutorials, but create a tmpdir w/ a checked-out copy of the repositories $ mkdir tmpdir;cd tmpdir $ . /usr/pkg/etc/rancid.conf $ for f in $LIST_OF_GROUPS; do > cvs -ud /var/rancid/CVS co $f > done from cron, $ cd tmpdir $ . /usr/pkg/etc/rancid.conf $ for f in $LIST_OF_GROUPS; do > (cd $f; cvs -u update) > done OR from cron, something like $ cd /var/rancid $ find -s */configs -type f -a -maxdepth 1 \ -exec cvs -u co -p {} >> /tmp/configs 2>&1 \; From owner-rancid-discuss-outgoing@shrubbery.net Mon Jul 4 07:31:09 2005 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 9796B11CE2D for ; Mon, 4 Jul 2005 07:31:09 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 83E67864CF; Mon, 4 Jul 2005 00:31:08 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7E237864D0; Mon, 4 Jul 2005 00:31:08 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from myway.com (nn7.excitenetwork.com [207.159.120.61]) by guelah.shrubbery.net (Postfix) with ESMTP id 61BD0864CE; Mon, 4 Jul 2005 00:31:03 -0700 (PDT) Received: by mprdmxin.myway.com (Postfix, from userid 110) id 4CDD2396B; Mon, 4 Jul 2005 03:30:55 -0400 (EDT) To: rancid-discuss@shrubbery.net Subject: Re: CVS question: export complete config everyfriday Received: from [203.193.133.65] by mprdmailfe1.nwk.myway.com via HTTP; Mon, 04 Jul 2005 03:30:55 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = ba5d64f58a4f6e8bb64a65e4ca2468f6 Reply-To: dbshah@myway.com From: "dharmesh" MIME-Version: 1.0 X-Sender: dbshah@myway.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: heas@shrubbery.net Message-Id: <20050704073055.4CDD2396B@mprdmxin.myway.com> Date: Mon, 4 Jul 2005 03:30:55 -0400 (EDT) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Ah well, they say its not as bad as they say it is. ---------anonymous Thanks you all for replying. I have been able to implement the script provided by john. Regards dharmesh --- On Fri 07/01, john heasley < heas@shrubbery.net > wrote: From: john heasley [mailto: heas@shrubbery.net] To: dbshah@myway.com Cc: rancid-discuss@shrubbery.net Date: Fri, 1 Jul 2005 08:26:15 -0700 Subject: Re: CVS question: export complete config everyfriday Fri, Jul 01, 2005 at 08:07:57AM -0400, dharmesh:
>
>
>
>
> Ah well, they say its not as bad as they say it is.
> ---------anonymous
>
> Hello All,
> I have been an avvid user of Rancid since 2002.
> We have been using ver rancid v2.0 to 2.3 on Linux Redhat 9 to Fedora Core 3.
>
> Now my boss has enforced some LAME process upon us.
> He wants us to have Complete config backup taken every friday of all devices.
>
> Obviously rancid has been doing it , daily twice ( via cron ) & storing it in CVS.
>
> Now i know its more of a CVS question then rancid question. But i thought you guys could help me out.
>
>
> So here it is :
> How do i extract complete device configs as they stand on every friday from the CVS ?
>
> I could write a cron job , & zip the files later & email them.
> All that i can do, but not sure how i can do the first step itself. i.e extract the complete config from cvs .

This is really a CVS question, which you could answer by looking at CVS
manual/FAQs/tutorials, but

create a tmpdir w/ a checked-out copy of the repositories
$ mkdir tmpdir;cd tmpdir
$ . /usr/pkg/etc/rancid.conf
$ for f in $LIST_OF_GROUPS; do
> cvs -ud /var/rancid/CVS co $f
> done

from cron,
$ cd tmpdir
$ . /usr/pkg/etc/rancid.conf
$ for f in $LIST_OF_GROUPS; do
> (cd $f; cvs -u update)
> done

OR

from cron, something like
$ cd /var/rancid
$ find -s */configs -type f -a -maxdepth 1 \
-exec cvs -u co -p {} >> /tmp/configs 2>&1 \;
_______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 02:47:20 2005 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 4C74311CE31 for ; Wed, 6 Jul 2005 02:47:20 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 555F6864DC; Tue, 5 Jul 2005 19:47:19 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4DADD864E0; Tue, 5 Jul 2005 19:47:19 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id D0ECD864DE; Tue, 5 Jul 2005 19:47:18 -0700 (PDT) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by guelah.shrubbery.net (Postfix) with ESMTP id 09738864CF for ; Tue, 5 Jul 2005 09:21:57 -0700 (PDT) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail3.panix.com (Postfix) with ESMTP id C729013A781 for ; Tue, 5 Jul 2005 12:21:49 -0400 (EDT) Received: (from eravin@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j65GLON17298 for rancid-discuss@shrubbery.net; Tue, 5 Jul 2005 12:21:24 -0400 (EDT) Date: Tue, 5 Jul 2005 12:21:24 -0400 From: Ed Ravin To: rancid-discuss@shrubbery.net Subject: Cisco "show inventory" command Message-ID: <20050705162124.GA13788@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Y-Z: 1, 2, 3? Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On another mailing list that I (and some of you) subscribe to, someone mentioned the "show inventory" command. It seems to be tailor-made for RANCID. It's in 12.0(30)S, and apparently in other recent releases. Sample output below... -- Ed ------------------------ NAME: "7513 chassis,ID:73002384", DESCR: "7513 chassis" PID: 2 , VID: Hardware Version : 1.00, Board Revision : B0, SN: 73002384 NAME: "Line Card 0", DESCR: "Versatile Interface Processor (VIP2)" PID: VIP2 , VID: Hardware Version : 2.04, Board Revision : D0, SN: 6354210 NAME: "Card Slot 0,Bay 0", DESCR: "FastEthernet Port Adapter " PID: PA-FE-TX-ISL , VID: Hardware Version : 1.00, Board Revision : A0, SN: 6714008 NAME: "Card Slot 0,Bay 1", DESCR: "HSSI Port Adapter" PID: PA-AH1T , VID: Hardware Version : 1.17, Board Revision : A0, SN: 12382154 [...] From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 16:03:07 2005 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 0AD5211CE31 for ; Wed, 6 Jul 2005 16:03:06 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 281C3864CE; Wed, 6 Jul 2005 09:03:06 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 214D5864DC; Wed, 6 Jul 2005 09:03:06 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id A075F864D8; Wed, 6 Jul 2005 09:03:05 -0700 (PDT) Received: from server.nipper.de (relay.nipper.de [212.86.201.222]) by guelah.shrubbery.net (Postfix) with ESMTP id 9E79B864D0 for ; Tue, 5 Jul 2005 22:58:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C5E083470; Wed, 6 Jul 2005 07:58:15 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29793-10; Wed, 6 Jul 2005 07:58:14 +0200 (CEST) Received: from [192.168.144.102] (pc102.nipper.de [192.168.144.102]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id C332F3405; Wed, 6 Jul 2005 07:58:14 +0200 (CEST) Message-ID: <42CB72F6.5070102@nipper.de> Date: Wed, 06 Jul 2005 07:58:14 +0200 From: Arnold Nipper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed Ravin , rancid-discuss@shrubbery.net Subject: Re: Cisco "show inventory" command References: <20050705162124.GA13788@panix.com> In-Reply-To: <20050705162124.GA13788@panix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 05.07.2005 18:21 Ed Ravin wrote > On another mailing list that I (and some of you) subscribe to, someone > mentioned the "show inventory" command. It seems to be tailor-made > for RANCID. It's in 12.0(30)S, and apparently in other recent releases. Ans it is in CatOS as well (at least since 8.3(3)) > Sample output below... > for CatOS format looks identical > -- Ed > > ------------------------ > NAME: "7513 chassis,ID:73002384", DESCR: "7513 chassis" > PID: 2 , VID: Hardware Version : 1.00, Board Revision : B0, SN: 73002384 > > NAME: "Line Card 0", DESCR: "Versatile Interface Processor (VIP2)" > PID: VIP2 , VID: Hardware Version : 2.04, Board Revision : D0, SN: 6354210 > NAME: "1", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3" PID: WS-X6748-SFP , VID: , SN: SAD082108BS NAME: "submodule 1/1", DESCR: "Centralized Fwd Card WS-F6700-CFC Rev 2.0" PID: WS-F6700-CFC , VID: , SN: SAD080600LP NAME: "2", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3" PID: WS-X6748-SFP , VID: , SN: SAD082108BC Arnold -- Arnold Nipper, AN45 From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 16:10:17 2005 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 180BA11CE2D for ; Wed, 6 Jul 2005 16:10:16 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id F12CE864E0; Wed, 6 Jul 2005 09:10:15 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E1FC7864E3; Wed, 6 Jul 2005 09:10:15 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 0EC1C864E1; Wed, 6 Jul 2005 09:10:14 -0700 (PDT) Received: from paleale.networkgeek.org (paleale.networkgeek.org [69.85.213.65]) by guelah.shrubbery.net (Postfix) with ESMTP id E16F6864CE for ; Wed, 6 Jul 2005 08:59:37 -0700 (PDT) Received: from rdrake by paleale.networkgeek.org with local (Exim 4.51) id 1DqCIz-0002VC-2U; Wed, 06 Jul 2005 11:59:21 -0400 Date: Wed, 6 Jul 2005 11:59:21 -0400 From: Robert Drake To: Ed Ravin Cc: rancid-discuss@shrubbery.net Subject: Re: Cisco "show inventory" command Message-ID: <20050706155921.GA9349@ipsek.net> References: <20050705162124.GA13788@panix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20050705162124.GA13788@panix.com> User-Agent: Mutt/1.4.2.1i X-Attn: THE COMPUTER IS YOUR FRIEND Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thats awesome. I used to submit bug reports when they released new cards and for no explainable reason, changed the way "sh diag" output worked (Then I'd go update our copy of rancid, since I never got responses). I loved it when they started putting free form information on lines, making you specifically have to search for that type of card to detect it. =20 OTOH, here is a low-end example of "sh inv" not getting it right ethier: router2611#sh inv NAME: "", DESCR: "2611 chassis, Hw Serial#: 1191063160, Hw Revision: 0x202" PID: , VID: , SN: It doesn't include the WIC serial number, or tag the chassis serial in SN: That was on 12.3(1a), this is what rancid finds for the same box: !Slot 0: type C2611 2E Mainboard, 3 ports !Slot 0: hvers 2.2 rev A0 !Slot 0: part 73-2840-12, serial JAD03381685 ! !Slot 0/0: type FT1 BT8360 !Slot 0/0: hvers 1.3 rev C0 !Slot 0/0: part 800-03279-03, serial 17175179 So maybe it'll be fixed in a later version. At least it's extra info that might be useful to crosscheck. Thanks, Robert=20 Ed Ravin(eravin@panix.com)@2005-07-05 12:21:24 -0400: > On another mailing list that I (and some of you) subscribe to, someone > mentioned the "show inventory" command. It seems to be tailor-made > for RANCID. It's in 12.0(30)S, and apparently in other recent releases. > Sample output below... >=20 > -- Ed >=20 > ------------------------ > NAME: "7513 chassis,ID:73002384", DESCR: "7513 chassis" > PID: 2 , VID: Hardware Version : 1.00, Board Revision : B= 0, SN: 73002384 >=20 > NAME: "Line Card 0", DESCR: "Versatile Interface Processor (VIP2)" > PID: VIP2 , VID: Hardware Version : 2.04, Board Revision : D= 0, SN: 6354210 >=20 > NAME: "Card Slot 0,Bay 0", DESCR: "FastEthernet Port Adapter " > PID: PA-FE-TX-ISL , VID: Hardware Version : 1.00, Board Revision : A= 0, SN: 6714008 >=20 > NAME: "Card Slot 0,Bay 1", DESCR: "HSSI Port Adapter" > PID: PA-AH1T , VID: Hardware Version : 1.17, Board Revision : A= 0, SN: 12382154 >=20 > [...] >=20 --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCy//ZuqxrYz6JMV4RAhwEAJ0Ve6r41D1au7HiOTmCZ5O2gr1KfQCfXVXC IgmAvKqySKXl1Zk2v0tS4xE= =ieVZ -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 16:23:13 2005 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 E980111CE2D for ; Wed, 6 Jul 2005 16:23:12 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 2E876864DC; Wed, 6 Jul 2005 09:23:12 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2500F864E1; Wed, 6 Jul 2005 09:23:12 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from hypnos.is.co.za (hypnos.is.co.za [196.4.160.221]) by guelah.shrubbery.net (Postfix) with ESMTP id 1C2BE864DC for ; Wed, 6 Jul 2005 09:23:08 -0700 (PDT) Received: from hermit.is.co.za (hermit.is.co.za [196.23.0.6]) by hypnos.is.co.za (Postfix) with ESMTP id 54335E1E93; Wed, 6 Jul 2005 18:22:47 +0200 (SAST) Received: by hermit.is.co.za (Postfix, from userid 1071) id 5397473027; Wed, 6 Jul 2005 18:23:15 +0200 (SAST) Date: Wed, 6 Jul 2005 18:23:15 +0200 From: Andre van der Merwe To: Robert Drake Cc: Ed Ravin , rancid-discuss@shrubbery.net Subject: Re: Cisco "show inventory" command Message-ID: <20050706162315.GJ23970@is.co.za> References: <20050705162124.GA13788@panix.com> <20050706155921.GA9349@ipsek.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NgG1H2o5aFKkgPy/" Content-Disposition: inline In-Reply-To: <20050706155921.GA9349@ipsek.net> User-Agent: Mutt/1.4.2.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --NgG1H2o5aFKkgPy/ Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 06, 2005 at 11:59:21AM -0400, Robert Drake wrote: > Thats awesome. I used to submit bug reports when they released new > cards and for no explainable reason, changed the way "sh diag" output > worked (Then I'd go update our copy of rancid, since I never got > responses). >=20 > I loved it when they started putting free form information on lines, > making you specifically have to search for that type of card to detect > it. =20 >=20 > OTOH, here is a low-end example of "sh inv" not getting it right ethier: >=20 > router2611#sh inv > NAME: "", DESCR: "2611 chassis, Hw Serial#: 1191063160, Hw Revision: > 0x202" > PID: , VID: , SN: >=20 >=20 > It doesn't include the WIC serial number, or tag the chassis serial in > SN: >=20 > That was on 12.3(1a), this is what rancid finds for the same box: >=20 > !Slot 0: type C2611 2E Mainboard, 3 ports > !Slot 0: hvers 2.2 rev A0 > !Slot 0: part 73-2840-12, serial JAD03381685 > ! > !Slot 0/0: type FT1 BT8360 > !Slot 0/0: hvers 1.3 rev C0 > !Slot 0/0: part 800-03279-03, serial 17175179 >=20 >=20 > So maybe it'll be fixed in a later version. At least it's extra info > that might be useful to crosscheck. Since extra information is gleaned from the 'show diag' would=20 it not be wise to maybe put the "show inv" information in a=20 seperate '!'ed section, ie !Inventory: NAME... It is duplicate information, but could come in handy. Thanks -Andr=E9 >=20 > Thanks, > Robert=20 >=20 >=20 >=20 >=20 > Ed Ravin(eravin@panix.com)@2005-07-05 12:21:24 -0400: > > On another mailing list that I (and some of you) subscribe to, someone > > mentioned the "show inventory" command. It seems to be tailor-made > > for RANCID. It's in 12.0(30)S, and apparently in other recent releases. > > Sample output below... > >=20 > > -- Ed > >=20 > > ------------------------ > > NAME: "7513 chassis,ID:73002384", DESCR: "7513 chassis" > > PID: 2 , VID: Hardware Version : 1.00, Board Revision := B0, SN: 73002384 > >=20 > > NAME: "Line Card 0", DESCR: "Versatile Interface Processor (VIP2)" > > PID: VIP2 , VID: Hardware Version : 2.04, Board Revision := D0, SN: 6354210 > >=20 > > NAME: "Card Slot 0,Bay 0", DESCR: "FastEthernet Port Adapter " > > PID: PA-FE-TX-ISL , VID: Hardware Version : 1.00, Board Revision := A0, SN: 6714008 > >=20 > > NAME: "Card Slot 0,Bay 1", DESCR: "HSSI Port Adapter" > > PID: PA-AH1T , VID: Hardware Version : 1.17, Board Revision := A0, SN: 12382154 > >=20 > > [...] > >=20 --NgG1H2o5aFKkgPy/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCzAVyFgX7ot4NQaMRApilAKCKc7+tPCf0nSSg0MY7ya9i/01ZUQCfXhcc QWDb9BDQYMZQre2lGFkItls= =UZQ8 -----END PGP SIGNATURE----- --NgG1H2o5aFKkgPy/-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 20:07:24 2005 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 003AE11CE2D for ; Wed, 6 Jul 2005 20:07:23 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 1F441864D8; Wed, 6 Jul 2005 13:07:23 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 138C6864DC; Wed, 6 Jul 2005 13:07:23 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by guelah.shrubbery.net (Postfix) with ESMTP id 34FC2864D0 for ; Wed, 6 Jul 2005 13:07:21 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id l8so17178nzf for ; Wed, 06 Jul 2005 13:07:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KYMwlnLlWLQCPla+L9KWBwyYFQE1LyBnWAR0wdQzeukVyn/5ZYpq4jopeiCySrziIpDib+1CO+PgUfiLAkyz9nBsIYYNgHYUil/nO08WAQWt+IHDT17NCwebXyxmvIC8Jai0Kwbr5Mql2D7RT74uZuFk+HujoJ/JJHyOgWliSMk= Received: by 10.36.88.10 with SMTP id l10mr62226nzb; Wed, 06 Jul 2005 13:07:19 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 13:07:19 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 21:07:19 +0100 From: Jee Kay Reply-To: Jee Kay To: rancid-discuss Subject: Maximum Config Sizes Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Is there a limit for config sizes that RANCID will handle? I have a NetScreen with a config in the silly numbers, and RANCID only seems to be capturing the first 1600 or so lines of it. Are there any timeouts or anything like that which might cause this? Thanks, Ras From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 20:37:15 2005 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 5328311CE2D for ; Wed, 6 Jul 2005 20:37:15 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 7D851864D8; Wed, 6 Jul 2005 13:37:14 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 71F30864DC; Wed, 6 Jul 2005 13:37:14 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from lovejoy.digitalwest.net (lovejoy.digitalwest.net [216.111.117.70]) by guelah.shrubbery.net (Postfix) with SMTP id 9C1B5864D0 for ; Wed, 6 Jul 2005 13:37:13 -0700 (PDT) Received: (qmail 10109 invoked by uid 1000); 6 Jul 2005 20:37:04 -0000 Date: Wed, 6 Jul 2005 13:37:04 -0700 From: Josh Richards To: rancid-discuss@shrubbery.net Subject: Re: Maximum Config Sizes Message-ID: <20050706203704.GD16279@lovejoy.digitalwest.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I've got >1MB configs under Cisco IOS. -jr * Jee Kay [20050706 20:07]: > Is there a limit for config sizes that RANCID will handle? I have a > NetScreen with a config in the silly numbers, and RANCID only seems to > be capturing the first 1600 or so lines of it. Are there any timeouts > or anything like that which might cause this? > > Thanks, > Ras -- Josh Richards | Colocation Web Hosting Bandwidth Digital West Networks | +1 805 781-9378 / www.digitalwest.net San Luis Obispo, CA | AS14589 (Production) / AS29962 (R&D) jrichard@digitalwest.net | DWNI - Making Internet Business Better From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 21:05:59 2005 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 1C51C11CE2D for ; Wed, 6 Jul 2005 21:05:58 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 0A955864D0; Wed, 6 Jul 2005 14:05:58 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 02DDC864DC; Wed, 6 Jul 2005 14:05:58 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by guelah.shrubbery.net (Postfix) with ESMTP id 2D412864D0 for ; Wed, 6 Jul 2005 14:05:56 -0700 (PDT) Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mail1.panix.com (Postfix) with ESMTP id 16C6A58B3F; Wed, 6 Jul 2005 17:05:56 -0400 (EDT) Received: (from eravin@localhost) by panix1.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j66L5tS27549; Wed, 6 Jul 2005 17:05:55 -0400 (EDT) Date: Wed, 6 Jul 2005 17:05:55 -0400 From: Ed Ravin To: Jee Kay Cc: rancid-discuss Subject: Re: Maximum Config Sizes Message-ID: <20050706210555.GA25636@panix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Y-Z: 1, 2, 3? Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Wed, Jul 06, 2005 at 09:07:19PM +0100, Jee Kay wrote: > Is there a limit for config sizes that RANCID will handle? I have a > NetScreen with a config in the silly numbers, and RANCID only seems to > be capturing the first 1600 or so lines of it. Are there any timeouts > or anything like that which might cause this? By default, nrancid calls nlogin with a timeout of 90 seconds. If that's not long enough for your NetScreen to dump its config, then you won't get the whole file. Try running "nrancid -t 120 " to see if that gives you the rest of (or more of) the config file. If so, you can edit the default value of $timeo in nrancid - look for this line: $timeo = 90; # nlogin timeout in seconds And adjust accordingly. From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 22:38:13 2005 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 8CF4811CE2D for ; Wed, 6 Jul 2005 22:38:13 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 86B73864D0; Wed, 6 Jul 2005 15:38:12 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7F7D7864E0; Wed, 6 Jul 2005 15:38:12 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id C1275864DC; Wed, 6 Jul 2005 15:38:11 -0700 (PDT) Date: Wed, 6 Jul 2005 15:38:11 -0700 From: john heasley To: Ed Ravin Cc: Jee Kay , rancid-discuss Subject: Re: Maximum Config Sizes Message-ID: <20050706223811.GD16430@shrubbery.net> References: <20050706210555.GA25636@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706210555.GA25636@panix.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Jul 06, 2005 at 05:05:55PM -0400, Ed Ravin: > On Wed, Jul 06, 2005 at 09:07:19PM +0100, Jee Kay wrote: > > Is there a limit for config sizes that RANCID will handle? I have a > > NetScreen with a config in the silly numbers, and RANCID only seems to > > be capturing the first 1600 or so lines of it. Are there any timeouts > > or anything like that which might cause this? > > By default, nrancid calls nlogin with a timeout of 90 seconds. If that's > not long enough for your NetScreen to dump its config, then you won't > get the whole file. the timeout applies to an expect clause. that is, when an expect {} begins, if $timeo seconds elapse before expect matches something, it will return a timeout. each match or exp_continue resets the timers. if there is some part of the configuration that takes a _long_ time to complete, ie: the output pauses for an extended period, then increasing the timeout will help. any clues in the logs? > Try running "nrancid -t 120 " to see if that gives you the rest > of (or more of) the config file. If so, you can edit the default value > of $timeo in nrancid - look for this line: > > $timeo = 90; # nlogin timeout in seconds > > And adjust accordingly. From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 22:47:50 2005 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 EB23911CE2D for ; Wed, 6 Jul 2005 22:47:49 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6AFC8864E0; Wed, 6 Jul 2005 15:47:48 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 646D6864E3; Wed, 6 Jul 2005 15:47:48 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by guelah.shrubbery.net (Postfix) with ESMTP id 2306B864E0 for ; Wed, 6 Jul 2005 15:47:44 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id c3so28648nze for ; Wed, 06 Jul 2005 15:47:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hgo1DHOpYIJR+tMhL8ulv8RXUmyjCoFxumsUO6Bf4z4Mm71+m9c3zjYBUaTvGqwn7qlliO52rXBJwv4lAqx17VSMuI0TJKYGtBjo4Iydvgo42lXPp2GpolowBXAtZdihk/VO8FRc1RjsBmqXzgAmj5pfIeAdoDobLAU9ILyWg6w= Received: by 10.36.108.5 with SMTP id g5mr78901nzc; Wed, 06 Jul 2005 15:47:44 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 15:47:44 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 23:47:44 +0100 From: Jee Kay Reply-To: Jee Kay To: john heasley Subject: Re: Maximum Config Sizes Cc: Ed Ravin , rancid-discuss In-Reply-To: <20050706223811.GD16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/6/05, john heasley wrote: > if there is some part of the configuration that takes a _long_ time to > complete, ie: the output pauses for an extended period, then increasing > the timeout will help. None.. if I nlogin manually and 'get conf' it dumps the entire config happily to the term. Any ideas for how to debug this further? (oh and nrancid doesn't support -t :)) From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 22:55:27 2005 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 7804711CE2D for ; Wed, 6 Jul 2005 22:55:27 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id A8BF3864E3; Wed, 6 Jul 2005 15:55:26 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9FFE6864E8; Wed, 6 Jul 2005 15:55:26 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 5639C864E6; Wed, 6 Jul 2005 15:55:25 -0700 (PDT) Date: Wed, 6 Jul 2005 15:55:25 -0700 From: john heasley To: Jee Kay Cc: john heasley , Ed Ravin , rancid-discuss Subject: Re: Maximum Config Sizes Message-ID: <20050706225525.GF16430@shrubbery.net> References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Jul 06, 2005 at 11:47:44PM +0100, Jee Kay: > On 7/6/05, john heasley wrote: > > if there is some part of the configuration that takes a _long_ time to > > complete, ie: the output pauses for an extended period, then increasing > > the timeout will help. > > None.. if I nlogin manually and 'get conf' it dumps the entire config > happily to the term. Any ideas for how to debug this further? (oh and > nrancid doesn't support -t :)) First I'd look at the logs for clues, then % NOPIPE=YES % nrancid -d host and check .raw file to make sure it is complete. if it, then I'd start looking at nrancid for bugs that cause the matching within GetConf to return to the main loop. From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 22:55:56 2005 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 7F5CE11CE2D for ; Wed, 6 Jul 2005 22:55:56 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 5A620864E8; Wed, 6 Jul 2005 15:55:55 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 54391864E9; Wed, 6 Jul 2005 15:55:55 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by guelah.shrubbery.net (Postfix) with ESMTP id C601D864E6 for ; Wed, 6 Jul 2005 15:55:53 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id 14so30702nzn for ; Wed, 06 Jul 2005 15:55:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OrkjB9qk7QU/C/NWVCXOHqfZTH82SutpIsM9j5RBf68gxbkMSKx3kE3aDsdF2BkZYLdUQiQWMJL7gXMieoFtnlXUyfGHPRbabd/HX3/TbPc1aBdoeGvI9630TYJykNwSqnd3vbtyuStOK9rCdDW7fppywyaheO6zmzm/waJTZwk= Received: by 10.36.81.10 with SMTP id e10mr84176nzb; Wed, 06 Jul 2005 15:55:52 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 15:55:52 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 23:55:52 +0100 From: Jee Kay Reply-To: Jee Kay To: john heasley Subject: Re: Maximum Config Sizes Cc: Ed Ravin , rancid-discuss In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/6/05, Jee Kay wrote: > None.. if I nlogin manually and 'get conf' it dumps the entire config > happily to the term. Any ideas for how to debug this further? (oh and > nrancid doesn't support -t :)) That was obviously meant in response to the 'is there anything in the log' paragraph, rather than what I quoted. Also, 'time' says it quits after around 44 seconds when using nrancid. When doing nlogin -c'show conf' directly, it also finishes afer 44 seconds, except that way it outputs the entire config correctly. There don't appear to be any accidental hits of the prompt regexp (even though it really is rather looser than it probably should be..) From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 22:58:40 2005 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 43C1311CE2D for ; Wed, 6 Jul 2005 22:58:40 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 30C43864E6; Wed, 6 Jul 2005 15:58:39 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 25936864EA; Wed, 6 Jul 2005 15:58:39 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by guelah.shrubbery.net (Postfix) with ESMTP id EF567864E6 for ; Wed, 6 Jul 2005 15:58:37 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id n1so30523nzf for ; Wed, 06 Jul 2005 15:58:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IUJNb4Bv/jXB0mteSGpPb5mJVcXEmfSLuzVSvX9nJTC98UCqjY3bVe3XZK6crzZwdT1vwy6jupGkENxcpASODEjlxtCBY9S+wH9rqkDDZp8/TIC/8oczNr70DmtBVCvXjYtALWYOuEQ3BOUVSSoT3ogevN1KytPBLmzqA+a2aBs= Received: by 10.36.36.14 with SMTP id j14mr75991nzj; Wed, 06 Jul 2005 15:58:37 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 15:58:37 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 23:58:37 +0100 From: Jee Kay Reply-To: Jee Kay To: john heasley Subject: Re: Maximum Config Sizes Cc: Ed Ravin , rancid-discuss In-Reply-To: <20050706225525.GF16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> <20050706225525.GF16430@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/6/05, john heasley wrote: > % NOPIPE=3DYES > % nrancid -d host >=20 > and check .raw file to make sure it is complete. if it, then I'd start > looking at nrancid for bugs that cause the matching within GetConf to > return to the main loop. (yay for crossing emails) With NOPIPE, the .raw correctly contains the full output of the config. The .new however does not. I shall dig deeper into nrancid when I have a chance and see what is causing a bogus match. Thanks for the quick response! From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 23:07:09 2005 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 2AE6011CE2D for ; Wed, 6 Jul 2005 23:07:09 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 4ABD2864D0; Wed, 6 Jul 2005 16:07:08 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 449D9864E3; Wed, 6 Jul 2005 16:07:08 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by guelah.shrubbery.net (Postfix) with ESMTP id 17622864DC for ; Wed, 6 Jul 2005 16:07:06 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id i11so31935nzi for ; Wed, 06 Jul 2005 16:07:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ksxo57LF7Iynu/GtGll4gGoLFiyWyQ8f2Fq3k+laLrAX0TpzLXNP5ZrAwGOdqmX5TD4+tstTpMHkmZZIbnUrOEvIJJO1v0qdBjgQTOL0VhNhBXZwO2bDipDKN1qh+lMFSpI2HU8vu9Hfpn1KWZLFDu8lPJJwFLKo3sGU4DU8QFU= Received: by 10.36.39.7 with SMTP id m7mr92384nzm; Wed, 06 Jul 2005 16:07:06 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 16:07:06 -0700 (PDT) Message-ID: Date: Thu, 7 Jul 2005 00:07:06 +0100 From: Jee Kay Reply-To: Jee Kay To: john heasley Subject: Re: Maximum Config Sizes Cc: Ed Ravin , rancid-discuss In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> <20050706225525.GF16430@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/6/05, Jee Kay wrote: > With NOPIPE, the .raw correctly contains the full output of the > config. The .new however does not. I shall dig deeper into nrancid > when I have a chance and see what is causing a bogus match. (apologies for the context diff.. stupid solaris) > diff nrancid.orig nrancid 269c269 < $prompt =3D "\-\>\s*"; --- > $prompt =3D "^[A-Za-z0-9\(\)]+\-\>\s*"; From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 23:09:52 2005 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 DF20811CE2D for ; Wed, 6 Jul 2005 23:09:51 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 05323864E3; Wed, 6 Jul 2005 16:09:51 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id F20BA864E8; Wed, 6 Jul 2005 16:09:50 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id F3B61864E6; Wed, 6 Jul 2005 16:09:49 -0700 (PDT) Date: Wed, 6 Jul 2005 16:09:49 -0700 From: john heasley To: Jee Kay Cc: john heasley , Ed Ravin , rancid-discuss Subject: Re: Maximum Config Sizes Message-ID: <20050706230949.GI16430@shrubbery.net> References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> <20050706225525.GF16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Jul 07, 2005 at 12:07:06AM +0100, Jee Kay: > On 7/6/05, Jee Kay wrote: > > With NOPIPE, the .raw correctly contains the full output of the > > config. The .new however does not. I shall dig deeper into nrancid > > when I have a chance and see what is causing a bogus match. > > (apologies for the context diff.. stupid solaris) > > > diff nrancid.orig nrancid > 269c269 > < $prompt = "\-\>\s*"; > --- > > $prompt = "^[A-Za-z0-9\(\)]+\-\>\s*"; the most recent nrancid matches more explicitly. $prompt = ($_ =~ /^([^>]+->)/)[0]; $prompt =~ s/([][}{)(\\])/\\$1/g; Does that work for you? From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 6 23:14:43 2005 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 DF3AF11CE2D for ; Wed, 6 Jul 2005 23:14:42 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id D785E864EA; Wed, 6 Jul 2005 16:14:41 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D1388864EB; Wed, 6 Jul 2005 16:14:41 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by guelah.shrubbery.net (Postfix) with ESMTP id 94061864E9 for ; Wed, 6 Jul 2005 16:14:40 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id z6so31850nzd for ; Wed, 06 Jul 2005 16:14:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qZwN+uVdwmc0XatMllYcIcGgNjoMVnjXywLnhDfpB3QtxQDzCkmEKct2PT6IRw4/45MtMDmSxHFq1rqdde/4HMY7BwSrjgUGnc+OQAKnAOdWiQ0OJsxWVo36sHazevL5Jr1Y/RHv3JQdSHTbWVBpstr4kjiBN7OxBhOjlw+2Anc= Received: by 10.36.221.60 with SMTP id t60mr92700nzg; Wed, 06 Jul 2005 16:14:39 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Wed, 6 Jul 2005 16:14:39 -0700 (PDT) Message-ID: Date: Thu, 7 Jul 2005 00:14:39 +0100 From: Jee Kay Reply-To: Jee Kay To: john heasley Subject: Re: Maximum Config Sizes Cc: Ed Ravin , rancid-discuss In-Reply-To: <20050706230949.GI16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> <20050706225525.GF16430@shrubbery.net> <20050706230949.GI16430@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/7/05, john heasley wrote: > the most recent nrancid matches more explicitly. It looks like that should work - the NetScreens have different prompts depending on what mode they've decided to be in that day, but [^>] looks safe. Is there any chance you could do a new rollup for 2.3.2 with the autoconf fix and any new fixes/features in ? Thanks, Ras From owner-rancid-discuss-outgoing@shrubbery.net Thu Jul 7 01:18:06 2005 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 DFD0E11CE2D for ; Thu, 7 Jul 2005 01:18:05 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id F4058864CE; Wed, 6 Jul 2005 18:18:05 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E7692864E0; Wed, 6 Jul 2005 18:18:04 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 3A064864DC; Wed, 6 Jul 2005 18:18:04 -0700 (PDT) Date: Wed, 6 Jul 2005 18:18:04 -0700 From: john heasley To: Jee Kay Cc: Ed Ravin , rancid-discuss Subject: Re: Maximum Config Sizes Message-ID: <20050707011804.GM16430@shrubbery.net> References: <20050706210555.GA25636@panix.com> <20050706223811.GD16430@shrubbery.net> <20050706225525.GF16430@shrubbery.net> <20050706230949.GI16430@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Jul 07, 2005 at 12:14:39AM +0100, Jee Kay: > On 7/7/05, john heasley wrote: > > > the most recent nrancid matches more explicitly. > > It looks like that should work - the NetScreens have different prompts > depending on what mode they've decided to be in that day, but [^>] > looks safe. > > Is there any chance you could do a new rollup for 2.3.2 with the > autoconf fix and any new fixes/features in ? ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.2a2.tar.gz note that the included nlogin supports -t. should be stable as it does not include any of the half-done/integrated bits :) From owner-rancid-discuss-outgoing@shrubbery.net Thu Jul 7 17:12:09 2005 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 7CCA811CE2D for ; Thu, 7 Jul 2005 17:12:09 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9522A864E3; Thu, 7 Jul 2005 10:12:08 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8C059864E8; Thu, 7 Jul 2005 10:12:08 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from biola.edu (cgp.biola.edu [4.79.136.25]) by guelah.shrubbery.net (Postfix) with ESMTP id B27BC864E3 for ; Thu, 7 Jul 2005 10:12:05 -0700 (PDT) Received: from [10.252.0.201] (account netmanager@biola.edu) by biola.edu (CommuniGate Pro WebUser 4.2.8) with HTTP id 57968565 for rancid-discuss@shrubbery.net; Thu, 07 Jul 2005 10:14:07 -0700 From: "Netmanager" Subject: 2.3.1 and DESTDIR To: rancid-discuss@shrubbery.net X-Mailer: CommuniGate Pro WebUser Interface v.4.2.8 Date: Thu, 07 Jul 2005 10:14:07 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Transfer-Encoding: 8bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello all, I am trying to package RANCID 2.3.1 for the DarwinPorts package manager, and I notice that when I use any of these configure arguments: --localstatedir=${prefix}/var/${name} \ --bindir=${prefix}/libexec/${name} \ --sysconfdir=${prefix}/etc/${name} The DESTDIR gets ignored and my files get installed to their final locations by bypassing the package manager when "make install" executes: /usr/bin/make install-data-hook /bin/sh ./mkinstalldirs "Make install" would normally install to an intermediate location to be installed in a later phase of the package install. I've tried patching @sysconfdir@, @bindir@, etc to have the paths I want in the Makefile.in but soon afterwards it tries to install files to the unpatched locations. I've tried some other things that haven't worked yet. Is there an easy way to patch rancid so that I can use --localstatedir, --bindir, and --sysconfdir and not have it ignore DESTDIR? I have looked at the FreeBSD 2.3.1 Rancid port and it doesn't do anything about this, but since I do not have access to a FreeBSD system I can only guess that it probably behaves the same. Like my port, even if it did it the port would work ok, but this problem breaks clean uninstalls and other package management niceties. Thank you. Mark From owner-rancid-discuss-outgoing@shrubbery.net Mon Jul 11 21:09:02 2005 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 7B7E211CE2D for ; Mon, 11 Jul 2005 21:09:02 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 5A845864D0; Mon, 11 Jul 2005 14:09:01 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 54666864E3; Mon, 11 Jul 2005 14:09:01 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mta2.lbl.gov (mta2.lbl.gov [128.3.41.12]) by guelah.shrubbery.net (Postfix) with ESMTP id 978F3864D0 for ; Mon, 11 Jul 2005 14:09:00 -0700 (PDT) Received: from mta2.lbl.gov (localhost [127.0.0.1]) by mta2.lbl.gov (8.12.10/8.12.10) with ESMTP id j6BL8uYq000019 for ; Mon, 11 Jul 2005 14:08:57 -0700 (PDT) Received: from [131.243.254.60] (grav-dev.lbl.gov [131.243.254.60]) by mta2.lbl.gov (8.12.10/8.12.10) with ESMTP id j6BL8u33000016 for ; Mon, 11 Jul 2005 14:08:56 -0700 (PDT) Message-ID: <42D2DF9B.4090607@lbl.gov> Date: Mon, 11 Jul 2005 14:07:39 -0700 From: Gregory Bell User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050511) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: "set" vs "et" under CatOS? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk We're seeing occasional diffs like this: > > set trunk 6/46 auto dot1q 1-1005,1025-4094 > set trunk 6/47 auto dot1q 1-1005,1025-4094 > set trunk 6/48 auto dot1q 1-1005,1025-4094 > + et spantree bpdu-guard 6/1-48 default > + et spantree portinstancepri 6/32 0 mst set port gvrp 6/1-48 disable > set gvrp registration normal 6/1-48 > set gvrp applicant normal 6/1-48 > Has anyone else encountered CatOS diffs with lines that begin "et..."? - Greg Bell From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 13 21:16:53 2005 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 2BC0A11CE2D for ; Wed, 13 Jul 2005 21:16:53 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 62808864CE; Wed, 13 Jul 2005 14:16:52 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 5AA7B864D5; Wed, 13 Jul 2005 14:16:52 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from bdk.com (towsmtp04.bdk.com [12.4.211.62]) by guelah.shrubbery.net (Postfix) with ESMTP id 5CC74864CE for ; Wed, 13 Jul 2005 14:16:50 -0700 (PDT) Received: from ([161.36.36.34]) by towsmtp04.bdk.com with ESMTP id 133020081.19963865; Wed, 13 Jul 2005 17:16:16 -0400 Received: from TOWEXCVS1.naptg.com ([161.36.47.213]) by mylexc02.naptg.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 13 Jul 2005 17:16:16 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Solaris 9 Date: Wed, 13 Jul 2005 17:16:08 -0400 Message-ID: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Solaris 9 thread-index: AcWH8BZwngdHwYOoQ4KGyPULWvK72A== From: "Koontz, Philip" To: X-OriginalArrivalTime: 13 Jul 2005 21:16:16.0938 (UTC) FILETIME=[1B45B0A0:01C587F0] Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I am about to install Rancid on a Solaris 9 system. Does anyone have any tips, necessary patches, etc for installing Rancid on Solaris 9? Thanks -Phil Koontz From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 13 21:27:19 2005 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 2191C11CE2D for ; Wed, 13 Jul 2005 21:27:19 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 74679864E3; Wed, 13 Jul 2005 14:27:18 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6EAD6864E5; Wed, 13 Jul 2005 14:27:18 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (relay.nipper.de [212.86.201.222]) by guelah.shrubbery.net (Postfix) with ESMTP id 91D8F864E0 for ; Wed, 13 Jul 2005 14:27:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id DD2854F4C4; Wed, 13 Jul 2005 23:27:06 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30565-01; Wed, 13 Jul 2005 23:27:06 +0200 (CEST) Received: from [192.168.144.102] (pc102.nipper.de [192.168.144.102]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id EB5054F4A9; Wed, 13 Jul 2005 23:27:05 +0200 (CEST) Message-ID: <42D58729.4070409@nipper.de> Date: Wed, 13 Jul 2005 23:27:05 +0200 From: Arnold Nipper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Koontz, Philip" Cc: rancid-discuss@shrubbery.net Subject: Re: Solaris 9 References: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> In-Reply-To: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 13.07.2005 23:16 Koontz, Philip wrote > I am about to install Rancid on a Solaris 9 system. Does anyone have > any tips, necessary patches, etc for installing Rancid on Solaris 9? > Installs w/o problems iirc ... I did it two years ago and it worked perfectly. Installed version was rancid-2.2.2 Arnold -- Arnold Nipper, AN45 From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 13 22:13:36 2005 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 885C111CE2D for ; Wed, 13 Jul 2005 22:13:36 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id BD35D864D0; Wed, 13 Jul 2005 15:13:35 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AE0E4864D5; Wed, 13 Jul 2005 15:13:35 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from S2.cableone.net (s2.cableone.net [24.116.0.228]) by guelah.shrubbery.net (Postfix) with ESMTP id A2C14864CE for ; Wed, 13 Jul 2005 15:13:34 -0700 (PDT) Received: from [192.168.1.100] (unverified [24.119.117.0]) by S2.cableone.net (CableOne SMTP Service S2) with ESMTP id 24559436 for multiple; Wed, 13 Jul 2005 15:46:33 -0700 Message-ID: <42D58E53.8090704@grote.name> Date: Wed, 13 Jul 2005 15:57:39 -0600 From: Justin Grote User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Koontz, Philip" Cc: rancid-discuss@shrubbery.net Subject: Re: Solaris 9 References: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> In-Reply-To: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090000000407030908010606" X-IP-stats: No info recorded yet X-External-IP: 24.119.117.0 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a cryptographically signed message in MIME format. --------------ms090000000407030908010606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Koontz, Philip wrote: >I am about to install Rancid on a Solaris 9 system. Does anyone have >any tips, necessary patches, etc for installing Rancid on Solaris 9? > >Thanks >-Phil Koontz > > > Just make sure you have CVS and diff installed, and you shouldnt have any problems -- __________________________ Justin Grote Network Architect JWG Networks --------------ms090000000407030908010606 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH4TCC AkswggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1 WjBDMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFq dXN0aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU 35//szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumT OCT8RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDe pN52h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYD VR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/ fe06atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipL dazYsqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAksw ggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1WjBD MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFqdXN0 aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU35// szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumTOCT8 RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDepN52 h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYDVR0T AQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/fe06 atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipLdazY sqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAz8wggKo oAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRp bmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMT G1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwt ZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIx CzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSww KgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG 9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6 YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+ uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNV HRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNv bS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAg pB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzR UIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6E sZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341Yh eILcIRk13iSx0x1G/11fZU8xggK6MIICtgIBATBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQK ExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMAkGBSsOAwIaBQCgggGnMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MDcxMzIxNTczOVowIwYJKoZIhvcN AQkEMRYEFCbyy/ZWSrPo+cDyG3tnOpPuXLtmMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMHgGCSsGAQQBgjcQBDFrMGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBD b25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFp bCBJc3N1aW5nIENBAgMONiwwegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMA0GCSqGSIb3DQEBAQUABIGAdj+F e+sXy2WyI7NpSSW8B0g/l746YSKDbhM7N0ary3KW0r1asOM8ZCcuP9H2hYq3SgEmKfi3/fh+ 6XplknsEZLl/yNhGk+ozAFyMzvJbBXLaaurO4sOn3/op3GfvAE2bPwF9iZdWtYm7a5p5YFSM 9Zwc7OdDUfTUXeOfWsUk5loAAAAAAAA= --------------ms090000000407030908010606-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Jul 14 13:22:59 2005 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 827EE11CE2D for ; Thu, 14 Jul 2005 13:22:59 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id AD34D864D0; Thu, 14 Jul 2005 06:22:58 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A1442864D5; Thu, 14 Jul 2005 06:22:58 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by guelah.shrubbery.net (Postfix) with ESMTP id B8C31864CE for ; Thu, 14 Jul 2005 06:22:57 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id q3so224918nzb for ; Thu, 14 Jul 2005 06:22:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dlKZ25cCtRbY9qyM6VWRHKDEcRT+OZj7bE8hlIra1Ca1g3prYtqD43ouVTAEw5yo3C0pLtPH2TC5NA59YV2/Y/o2gi3P2H+I+r+gUaOCpR4UF1cERG3e79YaAA6YduDwd5mRgCdy/GW2IIBf6nQCkZ2WNPSi5Jo5VwnNuN+bcaM= Received: by 10.36.39.3 with SMTP id m3mr325336nzm; Thu, 14 Jul 2005 06:22:57 -0700 (PDT) Received: by 10.36.81.8 with HTTP; Thu, 14 Jul 2005 06:22:57 -0700 (PDT) Message-ID: Date: Thu, 14 Jul 2005 14:22:57 +0100 From: Jee Kay Reply-To: Jee Kay To: "Koontz, Philip" Subject: Re: Solaris 9 Cc: rancid-discuss@shrubbery.net In-Reply-To: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <849BC3170D2CA34189993B52087B3D4101CD20BB@TOWEXCVS1.naptg.com> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 7/13/05, Koontz, Philip wrote: > I am about to install Rancid on a Solaris 9 system. Does anyone have > any tips, necessary patches, etc for installing Rancid on Solaris 9? If you are using sunfreeware for CVS packages, get the second-to-last package - the latest one doesn't work and just cores constantly. From owner-rancid-discuss-outgoing@shrubbery.net Thu Jul 21 08:03:24 2005 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 70C8311CE2E for ; Thu, 21 Jul 2005 08:03:24 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 71B54864D5; Thu, 21 Jul 2005 01:03:23 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 650A0864EA; Thu, 21 Jul 2005 01:03:23 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from clix.aarnet.edu.au (clix.aarnet.edu.au [192.94.63.10]) by guelah.shrubbery.net (Postfix) with ESMTP id 41378864D5 for ; Thu, 21 Jul 2005 01:03:21 -0700 (PDT) Received: from [138.44.16.42] (dhcp42.sydney.aarnet.edu.au [138.44.16.42]) (authenticated bits=0) by clix.aarnet.edu.au (8.12.8/8.12.8) with ESMTP id j6L83KKb007567 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 21 Jul 2005 18:03:20 +1000 Message-ID: <42DF564A.1050503@aarnet.edu.au> Date: Thu, 21 Jul 2005 18:01:14 +1000 From: Ivan Philips User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: cat5rancid error: "End of run not found" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MDSA: Yes X-Spam-Score: -100 USER_IN_WHITELIST X-Spam-Status: No X-Scanned-By: MIMEDefang 2.39 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hey All, I am new to rancid and I having some problems getting it to work on my Cisco CatOS switches (2948's). It works fine on all my other devices. What I have noticed is that rancid sometimes can and sometimes can't grab the configs off the 2948s. When things go bad I get an "End of run not found" in the log file. I can clogin to the devices without any problem but when I run cat5rancid on them I get the following output. iphilips@lisa:~/rancid/bin$ export NOPIPE=YES;cat5rancid -d 203.143.175.140 executing clogin -t 240 -c"show version;show boot;show flash;dir bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir sup-microcode:;show module;show port ifindex;write term all;write term;show running-config" 203.143.175.140 PROMPT MATCH: ken-L5-G10-C4-S2> HIT COMMAND:ken-L5-G10-C4-S2> (enable) show version In ShowVersion: ken-L5-G10-C4-S2> (enable) show version HIT COMMAND:ken-L5-G10-C4-S2> (enable) show boot In ShowBoot: ken-L5-G10-C4-S2> (enable) show boot HIT COMMAND:ken-L5-G10-C4-S2> (enable) show flash In ShowFlash: ken-L5-G10-C4-S2> (enable) show flash HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir bootflash: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir bootflash: HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot0: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot0: HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot1: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot1: HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-bootflash: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-bootflash: HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-microcode: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-microcode: HIT COMMAND:ken-L5-G10-C4-S2> (enable) show module In ShowModule: ken-L5-G10-C4-S2> (enable) show module HIT COMMAND:ken-L5-G10-C4-S2> (enable) show port ifindex In ShowPortIfindex: ken-L5-G10-C4-S2> (enable) show port ifindex HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term all In WriteTerm: ken-L5-G10-C4-S2> (enable) write term all HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term In WriteTerm: ken-L5-G10-C4-S2> (enable) write term HIT COMMAND:ken-L5-G10-C4-S2> (enable) show running-config In WriteTerm: ken-L5-G10-C4-S2> (enable) show running-config 203.143.175.140: End of run not found 203.143.175.140: End of run not found end Here is the tail of the dot raw file iphilips@lisa:~/rancid/bin$ tail -10 203.143.175.140.raw set trunk 2/49 on dot1q 1-1005 set trunk 2/50 off dot1q 1-1005,1025-4094 set spantree portfast 2/1-48 enable set spantree bpdu-filter 2/1-48 disable set spantree bpdu-guard 2/1-48 enable set spantree guard none 2/1-50 set port channel 2/1-50 mode off end ken-L5-G10-C4-S2> (enable)Connection to 203.143.175.140 closed by remote host. Connection to 203.143.175.140 closed. Other than the "End of run not found" it all looks good, but when I run rancid-run it I end up with a 0 bytes sized file and no CVS updates. This doesn't happen all the time, sometimes it just works. Any ideas? Thanks Ivan From owner-rancid-discuss-outgoing@shrubbery.net Fri Jul 22 04:59:45 2005 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 8409711CE2E for ; Fri, 22 Jul 2005 04:59:43 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 573D0864EA; Thu, 21 Jul 2005 21:59:42 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4879A864EC; Thu, 21 Jul 2005 21:59:42 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from myway.com (nn8.excitenetwork.com [207.159.120.62]) by guelah.shrubbery.net (Postfix) with ESMTP id 62760864EA for ; Thu, 21 Jul 2005 21:59:36 -0700 (PDT) Received: by mprdmxin.myway.com (Postfix, from userid 110) id C1FB13961; Fri, 22 Jul 2005 00:59:25 -0400 (EDT) To: ivan.philips@aarnet.edu.au, rancid-discuss@shrubbery.net Subject: RE: cat5rancid error: Received: from [203.193.133.65] by mprdmailfe2.nwk.myway.com via HTTP; Fri, 22 Jul 2005 00:59:25 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = ba5d64f58a4f6e8bb64a65e4ca2468f6 Reply-To: dbshah@myway.com From: "dharmesh" MIME-Version: 1.0 X-Sender: dbshah@myway.com X-Mailer: PHP Content-Type: multipart/alternative; boundary="MYWAYBOUNDARY_000__9535abace62ed61a2592d923e56da036"; Content-Transfer-Encoding: 7bit Message-Id: <20050722045925.C1FB13961@mprdmxin.myway.com> Date: Fri, 22 Jul 2005 00:59:25 -0400 (EDT) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --MYWAYBOUNDARY_000__9535abace62ed61a2592d923e56da036 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ah well, they say its not as bad as they say it is. ---------anonymous Hi Ivan, Even I have 20-25 Cat 6509 Switches. Even I am facing exactly teh same problem. I am using Linux Fedora Core 2 with expect version 5.41.0 & tcl8.5 I am certain this problem that you & I are facing is due to the very well illustrated fact on RANCID site . I guess you will need to 1) patch expect using the patch given on rancid site i.e ftp://ftp.shrubbery.net/pub/rancid/expect-hack1 2)build tcl & expect from source Thus you will need to download the tcl & expect source code from rancid site as well to be able to use the patch. However I myself havent done this as yet, since my binaries are already of higher version then the once the patch talks about. I am actually planning to install Fedora Core 4 & seriously pray that the bug goes away. IF that doesnt work I have two choices:- 1) Use Open/Net BSB --> as site says that this prob is only wiht Solaris & Linux. 2) Download the src for tcl & expect from rancid site & patch expect & then try on linux. pls let us know your Distro, & expect & TCL details. Once we crack this we shall post back to the forum on our progress. Thanks Regards Dharmesh P.S i hope my MUA doesnt mess up wiht HTML tags & all --- On Thu 07/21, Ivan Philips wrote: From: Ivan Philips [mailto: ivan.philips@aarnet.edu.au] To: rancid-discuss@shrubbery.net Date: Thu, 21 Jul 2005 18:01:14 +1000 Subject: cat5rancid error: "End of run not found" Hey All,I am new to rancid and I having some problems getting it to work on my Cisco CatOS switches (2948's). It works fine on all my other devices.What I have noticed is that rancid sometimes can and sometimes can't grab the configs off the 2948s. When things go bad I get an "End of run not found" in the log file.I can clogin to the devices without any problem but when I run cat5rancid on them I get the following output.iphilips@lisa:~/rancid/bin$ export NOPIPE=YES;cat5rancid -d 203.143.175.140executing clogin -t 240 -c"show version;show boot;show flash;dir bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir sup-microcode:;show module;show port ifindex;write term all;write term;show running-config" 203.143.175.140PROMPT MATCH: ken-L5-G10-C4-S2>HIT COMMAND:ken-L5-G10-C4-S2> (enable) show version In ShowVersion: ken-L5-G10-C4-S2> (enable) show versionHIT COMMAND:ken-L5-G10-C4-S2> (enable) show boot In ShowBoot: ken-L5-G10-C4-S2> (enable) show bootHIT COMMAND:ken-L5-G10-C4-S2> (enable) show flash In ShowFlash: ken-L5-G10-C4-S2> (enable) show flashHIT COMMAND:ken-L5-G10-C4-S2> (enable) dir bootflash: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir bootflash:HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot0: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot0:HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot1: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot1:HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-bootflash: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-bootflash:HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-microcode: In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-microcode:HIT COMMAND:ken-L5-G10-C4-S2> (enable) show module In ShowModule: ken-L5-G10-C4-S2> (enable) show moduleHIT COMMAND:ken-L5-G10-C4-S2> (enable) show port ifindex In ShowPortIfindex: ken-L5-G10-C4-S2> (enable) show port ifindexHIT COMMAND:ken-L5-G10-C4-S2> (enable) write term all In WriteTerm: ken-L5-G10-C4-S2> (enable) write term allHIT COMMAND:ken-L5-G10-C4-S2> (enable) write term In WriteTerm: ken-L5-G10-C4-S2> (enable) write termHIT COMMAND:ken-L5-G10-C4-S2> (enable) show running-config In WriteTerm: ken-L5-G10-C4-S2> (enable) show running-config203.143.175.140: End of run not found203.143.175.140: End of run not foundendHere is the tail of the dot raw fileiphilips@lisa:~/rancid/bin$ tail -10 203.143.175.140.rawset trunk 2/49 on dot1q 1-1005set trunk 2/50 off dot1q 1-1005,1025-4094set spantree portfast 2/1-48 enableset spantree bpdu-filter 2/1-48 disableset spantree bpdu-guard 2/1-48 enableset spantree guard none 2/1-50set port channel 2/1-50 mode offendken-L5-G10-C4-S2> (enable)Connection to 203.143.175.140 closed by remote host.Connection to 203.143.175.140 closed.Other than the "End of run not found" it all looks good, but when I run rancid-run it I end up with a 0 bytes sized file and no CVS updates.This doesn't happen all the time, sometimes it just works.Any ideas?ThanksIvan _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com --MYWAYBOUNDARY_000__9535abace62ed61a2592d923e56da036 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit Ah well, they say its not as bad as they say it is. ---------anonymous Hi Ivan, Even I have 20-25 Cat 6509 Switches. Even I am facing exactly teh same problem. I am using Linux Fedora Core 2 with expect version 5.41.0 & tcl8.5 I am certain this problem that you & I are facing is due to the very well illustrated fact on RANCID site . I guess you will need to 1) patch expect using the patch given on rancid site i.e ftp://ftp.shrubbery.net/pub/rancid/expect-hack1 2)build tcl & expect from source Thus you will need to download the tcl & expect source code from rancid site as well to be able to use the patch. However I myself havent done this as yet, since my binaries are already of higher version then the once the patch talks about. I am actually planning to install Fedora Core 4 & seriously pray that the bug goes away. IF that doesnt work I have two choices:- 1) Use Open/Net BSB --> as site says that this prob is only wiht Solaris & Linux. 2) Download the src for tcl & expect from rancid site & patch expect & then try on linux. pls let us know your Distro, & expect & TCL details. Once we crack this we shall post back to the forum on our progress. Thanks Regards Dharmesh P.S i hope my MUA doesnt mess up wiht HTML tags & all --- On Thu 07/21, Ivan Philips < ivan.philips@aarnet.edu.au > wrote: From: Ivan Philips [mailto: ivan.philips@aarnet.edu.au] To: rancid-discuss@shrubbery.net Date: Thu, 21 Jul 2005 18:01:14 +1000 Subject: cat5rancid error: "End of run not found" Hey All,

I am new to rancid and I having some problems getting it to work on my
Cisco CatOS switches (2948's). It works fine on all my other devices.

What I have noticed is that rancid sometimes can and sometimes can't
grab the configs off the 2948s. When things go bad I get an "End of run
not found" in the log file.

I can clogin to the devices without any problem but when I run
cat5rancid on them I get the following output.

iphilips@lisa:~/rancid/bin$ export NOPIPE=YES;cat5rancid -d 203.143.175.140
executing clogin -t 240 -c"show version;show boot;show flash;dir
bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir
sup-microcode:;show module;show port ifindex;write term all;write
term;show running-config" 203.143.175.140
PROMPT MATCH: ken-L5-G10-C4-S2>
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show version
In ShowVersion: ken-L5-G10-C4-S2> (enable) show version
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show boot
In ShowBoot: ken-L5-G10-C4-S2> (enable) show boot
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show flash
In ShowFlash: ken-L5-G10-C4-S2> (enable) show flash
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir bootflash:
In DirSlotN: ken-L5-G10-C4-S2> (enable) dir bootflash:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot0:
In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot0:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot1:
In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot1:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-bootflash:
In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-bootflash:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-microcode:
In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-microcode:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show module
In ShowModule: ken-L5-G10-C4-S2> (enable) show module
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show port ifindex
In ShowPortIfindex: ken-L5-G10-C4-S2> (enable) show port ifindex
HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term all
In WriteTerm: ken-L5-G10-C4-S2> (enable) write term all
HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term
In WriteTerm: ken-L5-G10-C4-S2> (enable) write term
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show running-config
In WriteTerm: ken-L5-G10-C4-S2> (enable) show running-config
203.143.175.140: End of run not found
203.143.175.140: End of run not found
end

Here is the tail of the dot raw file

iphilips@lisa:~/rancid/bin$ tail -10 203.143.175.140.raw
set trunk 2/49 on dot1q 1-1005
set trunk 2/50 off dot1q 1-1005,1025-4094
set spantree portfast 2/1-48 enable
set spantree bpdu-filter 2/1-48 disable
set spantree bpdu-guard 2/1-48 enable
set spantree guard none 2/1-50
set port channel 2/1-50 mode off
end
ken-L5-G10-C4-S2> (enable)Connection to 203.143.175.140 closed by remote
host.
Connection to 203.143.175.140 closed.

Other than the "End of run not found" it all looks good, but when I run
rancid-run it I end up with a 0 bytes sized file and no CVS updates.

This doesn't happen all the time, sometimes it just works.

Any ideas?

Thanks

Ivan


No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com
--MYWAYBOUNDARY_000__9535abace62ed61a2592d923e56da036-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Jul 22 17:51:35 2005 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 B208E11CE2E for ; Fri, 22 Jul 2005 17:51:34 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9B790864EC; Fri, 22 Jul 2005 10:51:33 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 95A73864EF; Fri, 22 Jul 2005 10:51:33 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id D5557864EE; Fri, 22 Jul 2005 10:51:32 -0700 (PDT) Date: Fri, 22 Jul 2005 17:51:32 +0000 From: john heasley To: dharmesh Cc: ivan.philips@aarnet.edu.au, rancid-discuss@shrubbery.net Subject: Re: cat5rancid error: Message-ID: <20050722175132.GI14385@shrubbery.net> References: <20050722045925.C1FB13961@mprdmxin.myway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050722045925.C1FB13961@mprdmxin.myway.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Jul 22, 2005 at 12:59:25AM -0400, dharmesh: > > > > Ah well, they say its not as bad as they say it is. > ---------anonymous > > Hi Ivan, > Even I have 20-25 Cat 6509 Switches. > Even I am facing exactly teh same problem. > > I am using Linux Fedora Core 2 with expect version 5.41.0 & tcl8.5 > I am certain this problem that you & I are facing is due to the very well illustrated fact on RANCID site . > > I guess you will need to > 1) patch expect using the patch given on rancid site i.e > ftp://ftp.shrubbery.net/pub/rancid/expect-hack1 > 2)build tcl & expect from source > Thus you will need to download the tcl & expect source code from rancid site as well to be able to use the patch. > > However I myself havent done this as yet, since my binaries are already of higher version then the once the patch talks about. > > I am actually planning to install Fedora Core 4 & seriously pray that the bug goes away. > > IF that doesnt work I have two choices:- > 1) Use Open/Net BSB --> as site says that this prob is only wiht Solaris & Linux. > 2) Download the src for tcl & expect from rancid site & patch expect & then try on linux. Please, use the patch if you are using Linux or Solaris with any version of expect. AFAIK, the bug still exists in versions as recent as 5.40 and I have no reason to believe it has been fixed since. Also, please try rancid 2.3.2a2. email rancid-discuss if the problem persists. From owner-rancid-discuss-outgoing@shrubbery.net Tue Jul 26 12:10:37 2005 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 8B82A11CE2D for ; Tue, 26 Jul 2005 12:10:37 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 96739864EF; Tue, 26 Jul 2005 05:10:36 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8E674864F5; Tue, 26 Jul 2005 05:10:36 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from smtp3.netcologne.de (smtp3.netcologne.de [194.8.194.66]) by guelah.shrubbery.net (Postfix) with ESMTP id A5A4A864EF for ; Tue, 26 Jul 2005 05:10:35 -0700 (PDT) Received: from localhost (netmail2.netcologne.de [194.8.194.22]) by smtp3.netcologne.de (Postfix) with ESMTP id 43BF067E37 for ; Tue, 26 Jul 2005 14:10:34 +0200 (CEST) Received: from sys-125.netcologne.de (sys-125.netcologne.de [194.8.193.125]) by netmail2.netcologne.de (IMP) with HTTP; Tue, 26 Jul 2005 14:10:30 +0200 Message-ID: <1122379830.42e62836768d3@netmail2.netcologne.de> Date: Tue, 26 Jul 2005 14:10:30 +0200 From: Emre Bastuz To: rancid-discuss@shrubbery.net Subject: Pix via ssh - how to reach required privilege level? MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NetCologne NetMail (IMP) 4.0-cvs Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi, I´m trying to backup some pix configs with rancid and chose ssh as the transport mechanism. There´s a problem with reaching the required privilege level as the firewall expects the user to issue a "login" command before trying to do an "enable". Is there a way to tell rancid that it is supposed to do a "login" *after* logging in by ssh and *before* trying "enable"? An alternative would be to configure the user on the pix in such a way, that directly after ssh´ing to the device the user has the required access-privilege and the prompt "#", but I honestly do not know how to do this (I´m not using tacacs or radius by the way). Any idea anyone? Cheers, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin From owner-rancid-discuss-outgoing@shrubbery.net Wed Jul 27 11:42:02 2005 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 C0BD111CE2D for ; Wed, 27 Jul 2005 11:42:02 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id C45F7864F1; Wed, 27 Jul 2005 04:42:01 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B885F864F5; Wed, 27 Jul 2005 04:42:01 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from smtp3.netcologne.de (smtp3.netcologne.de [194.8.194.66]) by guelah.shrubbery.net (Postfix) with ESMTP id B1801864EE for ; Wed, 27 Jul 2005 04:41:59 -0700 (PDT) Received: from localhost (netmail2.netcologne.de [194.8.194.22]) by smtp3.netcologne.de (Postfix) with ESMTP id 042E0673F3; Wed, 27 Jul 2005 13:41:59 +0200 (CEST) Received: from sys-125.netcologne.de (sys-125.netcologne.de [194.8.193.125]) by netmail2.netcologne.de (IMP) with HTTP; Wed, 27 Jul 2005 13:41:55 +0200 Message-ID: <1122464515.42e7730356379@netmail2.netcologne.de> Date: Wed, 27 Jul 2005 13:41:55 +0200 From: Emre Bastuz To: Fred Jordan Cc: rancid-discuss@shrubbery.net Subject: Re: Pix via ssh - how to reach required privilege level? References: <1122379830.42e62836768d3@netmail2.netcologne.de> <42E7664A.1080209@hcssun01.hcs.net> In-Reply-To: <42E7664A.1080209@hcssun01.hcs.net> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NetCologne NetMail (IMP) 4.0-cvs Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi Jordan, Zitat von Fred Jordan : > We have not tried to use rancid for collecting PIX configs but would be > very interested in how to do this. How do you tell rancid to use ssh > instead of telnet; in the entry in the router.db file? you just have to add several line to your .cloginrc, that might look like this: add user mypix.emre.de rancidpixuser add password mypix.emre.de myPassword4Rancid add cyphertype mypix.emre.de des add method mypix.emre.de ssh The first two lines are the username and password being used when trying to login via ssh. The line "cyphertype" specifies the cypher ssh will try to use. Not all pix firewalls have a 3des licence installed so using "des" made it work in my case. The last line tells rancid to use ssh instead of telnet. I felt uncomfortable having my enable password in the .cloginrc as cleartext so I added a local user to the pix that has the privilege for the show commands only. That´s where I got stuck: you can successfully login into the pix but are then supposed to do a "login" first (instead of an "enable"). My guess is that if you have your enable password for the pix in the cloginrc you will be able to collect your config with rancid. If you create a local user on the pix you´ll probably be stuck the same way that I am. Cheers, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin From owner-rancid-discuss-outgoing@shrubbery.net Fri Jul 29 20:03:46 2005 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 8DBC311CE3A for ; Fri, 29 Jul 2005 20:03:46 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id D0B28864EB; Fri, 29 Jul 2005 13:03:45 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C96CE864F4; Fri, 29 Jul 2005 13:03:45 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 54580864EC; Fri, 29 Jul 2005 13:03:45 -0700 (PDT) Received: from mailhub2.dartmouth.edu (mailhub2.Dartmouth.EDU [129.170.17.107]) by guelah.shrubbery.net (Postfix) with ESMTP id F0528864EB for ; Fri, 29 Jul 2005 07:39:56 -0700 (PDT) Received: from [129.170.18.52] (mishra.Dartmouth.EDU [129.170.18.52]) by mailhub2.dartmouth.edu (8.12.10+DND/8.12.10) with ESMTP id j6TEdpHh004042 for ; Fri, 29 Jul 2005 10:39:51 -0400 Message-ID: <42EA3FB7.1030809@dartmouth.edu> Date: Fri, 29 Jul 2005 10:39:51 -0400 From: Paul Schmidt User-Agent: Mozilla Thunderbird 1.0.6-1.4.1 (X11/20050719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: Collecting information from Aruba wireless switches Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean by mailhub2.Dartmouth.EDU X-MailScanner-From: paul.d.schmidt@dartmouth.edu Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm looking at collecting configs from Aruba wireless switches, which pretty closely emulates Cisco's interface, though there are enough differences that the collector will not succeed when treating it as a cisco device. Has anyone worked out the differences yet so as to collect information from an Aruba wireless switch? Just for reference, here are the errors that I currently get from a run with a cisco device type. aruba-fairchild2-wsw.dartmouth.edu clogin error: Error: TIMEOUT reached aruba-fairchild2-wsw.dartmouth.edu: missed cmd(s): write term,show vlan,show running-config aruba-fairchild2-wsw.dartmouth.edu: End of run not found Thanks for any help. -Paul Schmidt Dartmouth College From owner-rancid-discuss-outgoing@shrubbery.net Sat Jul 30 19:19:08 2005 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 813AB11CE35 for ; Sat, 30 Jul 2005 19:19:08 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 61157864FA; Sat, 30 Jul 2005 12:19:07 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 553A8864FB; Sat, 30 Jul 2005 12:19:07 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by guelah.shrubbery.net (Postfix) with ESMTP id 76DD1864F9 for ; Sat, 30 Jul 2005 12:19:06 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id i11so721886nzh for ; Sat, 30 Jul 2005 12:19:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KVTOpT0YiA/7i254Unc0p9C6p4x3Fuk/89b5sBLqdh4CPBjL44eRDHTzFXGPLJgExJ+M8KhH+qOK3lYu9vfE5q3s1OF7OiSWVeH1Aww4WREx9MjQiICalqXTXkhpzSNrqQw3QzmNgHXj2HZCF4vOInXC1P6oZpvoPKLI6dfaXec= Received: by 10.36.71.2 with SMTP id t2mr4036232nza; Sat, 30 Jul 2005 12:19:03 -0700 (PDT) Received: by 10.36.153.13 with HTTP; Sat, 30 Jul 2005 12:19:03 -0700 (PDT) Message-ID: Date: Sat, 30 Jul 2005 20:19:03 +0100 From: Jee Kay Reply-To: Jee Kay To: rancid-discuss@shrubbery.net Subject: RANCID on Extreme Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm looking to backup configs from my Extreme switches (Summit 48si models specifically), but can't find a login/rancid combo for these. Is there one anywhere? If not, can anyone give me some good hints as to how to start on them? Thanks in advance, Ras From owner-rancid-discuss-outgoing@shrubbery.net Sat Jul 30 20:39:41 2005 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 8259C11CE35 for ; Sat, 30 Jul 2005 20:39:41 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 7C742864FE; Sat, 30 Jul 2005 13:39:40 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 73BEA86500; Sat, 30 Jul 2005 13:39:40 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id D12B7864FF; Sat, 30 Jul 2005 13:39:39 -0700 (PDT) Date: Sat, 30 Jul 2005 13:39:39 -0700 From: john heasley To: Jee Kay Cc: rancid-discuss@shrubbery.net Subject: Re: RANCID on Extreme Message-ID: <20050730203939.GJ13863@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sat, Jul 30, 2005 at 08:19:03PM +0100, Jee Kay: > I'm looking to backup configs from my Extreme switches (Summit 48si > models specifically), but can't find a login/rancid combo for these. > Is there one anywhere? > If not, can anyone give me some good hints as to how to start on them? See device type "extreme" and router.db(5). From owner-rancid-discuss-outgoing@shrubbery.net Sat Jul 30 23:08:33 2005 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 1D49811CE35 for ; Sat, 30 Jul 2005 23:08:32 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3183686500; Sat, 30 Jul 2005 16:08:32 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2B91F86502; Sat, 30 Jul 2005 16:08:32 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 73AA886501; Sat, 30 Jul 2005 16:08:31 -0700 (PDT) Date: Sat, 30 Jul 2005 16:08:31 -0700 From: john heasley To: Paul Schmidt Cc: rancid-discuss@shrubbery.net Subject: Re: Collecting information from Aruba wireless switches Message-ID: <20050730230831.GB24356@shrubbery.net> References: <42EA3FB7.1030809@dartmouth.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42EA3FB7.1030809@dartmouth.edu> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Jul 29, 2005 at 10:39:51AM -0400, Paul Schmidt: > I'm looking at collecting configs from Aruba wireless switches, which > pretty closely emulates Cisco's interface, though there are enough > differences that the collector will not succeed when treating it as a > cisco device. Has anyone worked out the differences yet so as to > collect information from an Aruba wireless switch? > > Just for reference, here are the errors that I currently get from a run > with a cisco device type. > > aruba-fairchild2-wsw.dartmouth.edu clogin error: Error: TIMEOUT reached > aruba-fairchild2-wsw.dartmouth.edu: missed cmd(s): write term,show > vlan,show running-config > aruba-fairchild2-wsw.dartmouth.edu: End of run not found It is easier to begin with the expect/login script. Get it working with and without -c 'cmd', then worry about the rancid script. From owner-rancid-discuss-outgoing@shrubbery.net Sat Jul 30 23:42:25 2005 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 CD25B11CE35 for ; Sat, 30 Jul 2005 23:42:24 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9D5A886505; Sat, 30 Jul 2005 16:42:23 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 91C5086506; Sat, 30 Jul 2005 16:42:23 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from biola.edu (cgp.biola.edu [4.79.136.25]) by guelah.shrubbery.net (Postfix) with ESMTP id C2F6286503 for ; Sat, 30 Jul 2005 16:42:22 -0700 (PDT) Received: from [10.252.0.202] (account netmanager@biola.edu) by biola.edu (CommuniGate Pro WebUser 4.2.8) with HTTP id 58485974 for rancid-discuss@shrubbery.net; Sat, 30 Jul 2005 16:45:33 -0700 From: "Netmanager" Subject: CVS checkout problems with cvsweb To: rancid-discuss@shrubbery.net X-Mailer: CommuniGate Pro WebUser Interface v.4.2.8 Date: Sat, 30 Jul 2005 16:45:33 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Transfer-Encoding: 8bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello All, I've set up RANCID before with no problems, but I'm setting it up on a new box with the latest OS version (OS X 10.4), and it is retrieving configs, but cvsweb gives the following error when I click the "download" link to retrive the config. ------------- Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute module reference invalid: `/test/configs/cisco-core-6500-ssl.mycompany.com' Check whether the directory /opt/local/var/rancid/CVS/CVSROOT exists and the script has write-access to the CVSROOT/history file if it exists. The script needs to place lock files in the directory the file is in as well. ------------- CVS and CVS/CVSROOT exists, I changed permissions and file ownership but nothing. I'm puzzled that it seems to say `/test/configs/cisco-core-6500-ssl.mycompany.com' is an "absolute module reference". The correct absolute path is contained in the html link, pasted here: http://127.0.0.1/cgi-bin/cvsweb.cgi/~checkout~/test/configs/cisco-core-6500-ssl.mycompany.com?rev=1.2&content-type=text/plain My cvsweb.conf has: %CVSROOT = ( 'Development' => '/opt/local/var/rancid/CVS' ); I've poked around but I don't know how to troubleshoot the problem. Can someone tell me where to look for the trouble? Mark From owner-rancid-discuss-outgoing@shrubbery.net Sat Jul 30 23:53:32 2005 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 F2B4511CE35 for ; Sat, 30 Jul 2005 23:53:31 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id F1BE486506; Sat, 30 Jul 2005 16:53:30 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E675086509; Sat, 30 Jul 2005 16:53:30 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 44ECA86508; Sat, 30 Jul 2005 16:53:30 -0700 (PDT) Date: Sat, 30 Jul 2005 16:53:30 -0700 From: john heasley To: Netmanager Cc: rancid-discuss@shrubbery.net Subject: Re: CVS checkout problems with cvsweb Message-ID: <20050730235330.GD24356@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sat, Jul 30, 2005 at 04:45:33PM -0700, Netmanager: > Hello All, > > I've set up RANCID before with no problems, but I'm > setting it up on a new box with the latest OS version (OS > X 10.4), and it is retrieving configs, but cvsweb gives > the following error when I click the "download" link to > retrive the config. > > ------------- > Error: Unexpected output from cvs co: cvs [checkout > aborted]: Absolute module reference invalid: > `/test/configs/cisco-core-6500-ssl.mycompany.com' > Check whether the directory > /opt/local/var/rancid/CVS/CVSROOT exists and the script > has write-access to the CVSROOT/history file if it exists. > The script needs to place lock files in the directory the > file is in as well. > ------------- > > CVS and CVS/CVSROOT exists, I changed permissions and file > ownership but nothing. I'm puzzled that it seems to say > `/test/configs/cisco-core-6500-ssl.mycompany.com' is an > "absolute module reference". The correct absolute path is > contained in the html link, pasted here: > > http://127.0.0.1/cgi-bin/cvsweb.cgi/~checkout~/test/configs/cisco-core-6500-ssl.mycompany.com?rev=1.2&content-type=text/plain > > My cvsweb.conf has: > > %CVSROOT = ( > 'Development' => '/opt/local/var/rancid/CVS' I dont think you want 'CVS' there. note, the v 3.0.5 has a different format for this line; i dont know what you're using or whats most recent.