From owner-rancid-discuss@shrubbery.net Thu Oct 3 13:52:01 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93Dq1u27364 for ; Thu, 3 Oct 2002 13:52:01 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93DlnL06271 for rancid-discuss-outgoing; Thu, 3 Oct 2002 13:47:49 GMT Received: from smtp.vtx.ch (smtp.vtx.ch [212.147.0.55]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93DliL06267 for ; Thu, 3 Oct 2002 13:47:45 GMT Received: from onyx (nat.pul.lsn.ch.vtxnet.net [212.147.0.100]) by smtp.vtx.ch (VTX Services) with ESMTP id 563CAFCFC for ; Thu, 3 Oct 2002 15:47:21 +0200 (CEST) Reply-To: From: "Nicolas Strina" To: Subject: Debug Date: Thu, 3 Oct 2002 15:47:45 +0200 Organization: VTX Services SA Message-ID: <002901c26ae3$74325010$dea8a8c0@onyx> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello, Is there any way to debug with Rancid ? I am actually trying to understand why it don't work. But when i use clogin (On cisco's) it's working perfectly. Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Manager VTX Services - Internet Service Provider Av. de Lavaux 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From owner-rancid-discuss@shrubbery.net Thu Oct 3 14:19:15 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93EJFu27631 for ; Thu, 3 Oct 2002 14:19:15 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93EJ8706407 for rancid-discuss-outgoing; Thu, 3 Oct 2002 14:19:08 GMT Received: from smtp.vtx.ch (smtp.vtx.ch [212.147.0.55]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93EJ3L06403 for ; Thu, 3 Oct 2002 14:19:04 GMT Received: from onyx (nat.pul.lsn.ch.vtxnet.net [212.147.0.100]) by smtp.vtx.ch (VTX Services) with ESMTP id 7012AFC9F for ; Thu, 3 Oct 2002 16:18:56 +0200 (CEST) Reply-To: From: "Nicolas Strina" To: Subject: Debug Again Date: Thu, 3 Oct 2002 16:19:21 +0200 Organization: VTX Services SA Message-ID: <002a01c26ae7$ddcd8ae0$dea8a8c0@onyx> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello Again, If i do a tail on the log file i have this : $ tail -f backbone.20021003.161605 !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found ===================================== If i run directly from clogin i am able to see the result of wr term. Someone have an idea ? Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Manager VTX Services - Internet Service Provider Av. de Lavaux 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From owner-rancid-discuss@shrubbery.net Thu Oct 3 14:41:09 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93Ef9u28726 for ; Thu, 3 Oct 2002 14:41:09 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93Eddk06481 for rancid-discuss-outgoing; Thu, 3 Oct 2002 14:39:40 GMT Received: from outbound.ea.com (outbound.ea.com [159.153.6.6]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93EdZL06475 for ; Thu, 3 Oct 2002 14:39:35 GMT Received: from eahq-bh2.rws.ad.ea.com (eahq-bh2.rws.ad.ea.com [10.14.204.33]) by outbound.ea.com (Switch-2.2.2/Switch-2.2.0) with ESMTP id g93EdPD08482; Thu, 3 Oct 2002 07:39:25 -0700 (PDT) Received: from eahq-mb3.rws.ad.ea.com ([10.14.204.120]) by eahq-bh2.rws.ad.ea.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 3 Oct 2002 07:39:22 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: Debug Again Date: Thu, 3 Oct 2002 07:39:22 -0700 Message-ID: <194487E5B6AC1E4E82FCBD56E5799791BC6581@eahq-mb3.rws.ad.ea.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Debug Again Thread-Index: AcJq5+NTVwRuzDVoTKSHYP/fwRCP5gAAkHlA From: "Rizzo, Joe" To: , X-OriginalArrivalTime: 03 Oct 2002 14:39:22.0758 (UTC) FILETIME=[AA0BB260:01C26AEA] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g93EdZL06476 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I usually set NOPIPE=foo, then run rancid with "-d". IE rancid -d router_to_debug A file will be created in the current directory named (router name).raw Maybe reviewing the .raw file will help you determine what is going on. Hope that helps, Joe -----Original Message----- From: Nicolas Strina [mailto:nicolas.strina@smart-telecom.ch] Sent: Thursday, October 03, 2002 9:19 AM To: rancid-discuss@shrubbery.net Subject: Debug Again Hello Again, If i do a tail on the log file i have this : $ tail -f backbone.20021003.161605 !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found ===================================== If i run directly from clogin i am able to see the result of wr term. Someone have an idea ? Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Manager VTX Services - Internet Service Provider Av. de Lavaux 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From owner-rancid-discuss@shrubbery.net Thu Oct 3 15:21:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93FLuu29142 for ; Thu, 3 Oct 2002 15:21:56 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93FKqu06761 for rancid-discuss-outgoing; Thu, 3 Oct 2002 15:20:53 GMT Received: from smtp.vtx.ch (smtp.vtx.ch [212.147.0.55]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93FKmL06757 for ; Thu, 3 Oct 2002 15:20:48 GMT Received: from onyx (nat.pul.lsn.ch.vtxnet.net [212.147.0.100]) by smtp.vtx.ch (VTX Services) with ESMTP id D7325FC1D for ; Thu, 3 Oct 2002 17:20:37 +0200 (CEST) Reply-To: From: "Nicolas Strina" To: Subject: Debug Again. Date: Thu, 3 Oct 2002 17:21:02 +0200 Organization: VTX Services SA Message-ID: <002e01c26af0$7bed4dc0$dea8a8c0@onyx> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello, Some news. I have that: $ ./rancid -d ir00.pul.lsn.fe0-0.ch.vtxnet.net executing clogin -t 90 -c"show version;write term" ir00.pul.lsn.fe0-0.ch.vtxnet.net HIT COMMAND:VTX-PUL-1(3620)#show version In ShowVersion: VTX-PUL-1(3620)#show version TYPE = 3600 ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) $ If i run the .clogin directly it work. Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Manager VTX Services - Internet Service Provider Av. de Lavaux 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From owner-rancid-discuss@shrubbery.net Thu Oct 3 16:18:32 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g93GIVu01055 for ; Thu, 3 Oct 2002 16:18:31 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93GGrb07052 for rancid-discuss-outgoing; Thu, 3 Oct 2002 16:16:53 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g93GGlW07047; Thu, 3 Oct 2002 16:16:47 GMT Date: Thu, 3 Oct 2002 09:16:46 -0700 From: john heasley To: Nicolas Strina Cc: rancid-discuss@shrubbery.net Subject: Re: Debug Again. Message-ID: <20021003091646.D6799@shrubbery.net> References: <002e01c26af0$7bed4dc0$dea8a8c0@onyx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <002e01c26af0$7bed4dc0$dea8a8c0@onyx>; from nicolas.strina@smart-telecom.ch on Thu, Oct 03, 2002 at 05:21:02PM +0200 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Oct 03, 2002 at 05:21:02PM +0200, Nicolas Strina: > Hello, > > Some news. I have that: > > $ ./rancid -d ir00.pul.lsn.fe0-0.ch.vtxnet.net > executing clogin -t 90 -c"show version;write term" > ir00.pul.lsn.fe0-0.ch.vtxnet.net > HIT COMMAND:VTX-PUL-1(3620)#show version > In ShowVersion: VTX-PUL-1(3620)#show version > TYPE = 3600 > ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term > ir00.pul.lsn.fe0-0.ch.vtxnet.net: missed cmd(s): write term > ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found > ir00.pul.lsn.fe0-0.ch.vtxnet.net: End of run not found > !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE > (fc1) > $ > > If i run the .clogin directly it work. rancid is apparently missing something; most likely the end of the previous command. if you send the .raw file, i can tell you what is being missed. From owner-rancid-discuss@shrubbery.net Wed Oct 9 12:37:48 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99Cbmu11058 for ; Wed, 9 Oct 2002 12:37:48 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g99CXV512843 for rancid-discuss-outgoing; Wed, 9 Oct 2002 12:33:31 GMT Received: from pegase1.cie-signaux.fr (pegase1.cie-signaux.fr [194.2.40.7]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99CXPL12838 for ; Wed, 9 Oct 2002 12:33:25 GMT Received: from pegase0.si.c-s.fr by pegase1.cie-signaux.fr with ESMTP id OAA24450 for ; Wed, 9 Oct 2002 14:36:09 +0200 (MET DST) Received: from pegase0.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id OAA01215 for ; Wed, 9 Oct 2002 14:32:29 +0200 (MET DST) Received: from hermes17.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id OAA01211 for ; Wed, 9 Oct 2002 14:32:29 +0200 (MET DST) Received: from CLEOPATRE ([194.2.55.165]) by hermes17.si.c-s.fr (Netscape Messaging Server 3.6) with ESMTP id AAA134F for ; Wed, 9 Oct 2002 14:28:56 +0200 From: "BELMONT Christophe" To: Subject: Rancid & Sendmail Date: Wed, 9 Oct 2002 14:30:21 +0200 Message-ID: <004801c26f8f$a26bdea0$a53702c2@CLEOPATRE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g99CXRL12840 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi all, I have a server running Solaris in production. I would like to install rancid but I would prefer not to install sendmail on this machine (sendmail is huge and not really trivial to administrate) since rancid should be able to send an email using normal "mail" command. I would like to know if it's possible to do that and how? Thanks in advance, Christophe. --- Christophe Belmont Network Engineer NOC GÉANT Tel : +33 6 81 73 29 56 From owner-rancid-discuss@shrubbery.net Wed Oct 9 15:25:05 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99FP4u16753 for ; Wed, 9 Oct 2002 15:25:05 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g99FNXx13504 for rancid-discuss-outgoing; Wed, 9 Oct 2002 15:23:33 GMT Received: from skinner.villanova.edu (skinner.villanova.edu [153.104.6.6]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99FNSL13500 for ; Wed, 9 Oct 2002 15:23:29 GMT Received: from villanova.edu ([153.104.244.2]) by skinner.villanova.edu (Netscape Messaging Server 4.15) with ESMTP id H3PYLD00.M2M; Wed, 9 Oct 2002 10:51:13 -0400 Message-ID: <3DA44260.5020802@villanova.edu> Date: Wed, 09 Oct 2002 10:51:12 -0400 From: "Sean McNamara" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: BELMONT Christophe CC: rancid-discuss@shrubbery.net Subject: Re: Rancid & Sendmail References: <004801c26f8f$a26bdea0$a53702c2@CLEOPATRE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Christophe, This shouldn't be a problem at all. It's not necessary to have sendmail running as a daemon (or configured beyond the default Sun package) in order to send mail from a machine. Sendmail should still be installed; however, you can prevent it from daemonizing at startup by renaming the file /etc/rc2.d/S88sendmail to /etc/rc2.d/.S88sendmail (files starting with a dot will be ignored at boot). Basically, to sum up: sendmail _is_ required to be installed in order to send messages with mail, but it does not need to run at startup, or have any non-default configuration performed. Good luck.. ..Sean. BELMONT Christophe wrote: >Hi all, > >I have a server running Solaris in production. I would like to install >rancid but I would prefer not to install sendmail on this machine >(sendmail is huge and not really trivial to administrate) since rancid >should be able to send an email using normal "mail" command. I would >like to know if it's possible to do that and how? > >Thanks in advance, >Christophe. > >--- >Christophe Belmont >Network Engineer >NOC GÉANT >Tel : +33 6 81 73 29 56 > > > > > > From owner-rancid-discuss@shrubbery.net Wed Oct 9 17:33:41 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99HXfu21486 for ; Wed, 9 Oct 2002 17:33:41 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g99HWYY14126 for rancid-discuss-outgoing; Wed, 9 Oct 2002 17:32:34 GMT Received: from og.latency.net (postfix@og.latency.net [209.123.200.27]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99HWUL14122 for ; Wed, 9 Oct 2002 17:32:30 GMT Received: by og.latency.net (Postfix, from userid 1000) id EF4FA140250; Wed, 9 Oct 2002 13:32:28 -0400 (EDT) Date: Wed, 9 Oct 2002 13:32:28 -0400 From: Adam Rothschild To: BELMONT Christophe Cc: rancid-discuss@shrubbery.net Subject: Re: Rancid & Sendmail Message-ID: <20021009133228.B35193@latency.net> References: <004801c26f8f$a26bdea0$a53702c2@CLEOPATRE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004801c26f8f$a26bdea0$a53702c2@CLEOPATRE>; from christophe.belmont@c-s.fr on Wed, Oct 09, 2002 at 02:30:21PM +0200 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On 2002-10-09-08:30:21, BELMONT Christophe wrote: > I have a server running Solaris in production. I would like to > install rancid but I would prefer not to install sendmail on this > machine (sendmail is huge and not really trivial to administrate) > since rancid should be able to send an email using normal "mail" > command. I would like to know if it's possible to do that and how? No need for Sendmail. So long as your MTA's wrappers and 'mail' command know how to behave (I'm running rancid on boxen w/ qmail and postfix), you're fine. -a From owner-rancid-discuss@shrubbery.net Wed Oct 9 18:09:14 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g99I9Du22877 for ; Wed, 9 Oct 2002 18:09:13 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g99I8bK14377 for rancid-discuss-outgoing; Wed, 9 Oct 2002 18:08:38 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g99I8Ve14372; Wed, 9 Oct 2002 18:08:31 GMT Date: Wed, 9 Oct 2002 11:08:30 -0700 From: john heasley To: Sean McNamara Cc: BELMONT Christophe , rancid-discuss@shrubbery.net Subject: Re: Rancid & Sendmail Message-ID: <20021009110830.A14365@shrubbery.net> References: <004801c26f8f$a26bdea0$a53702c2@CLEOPATRE> <3DA44260.5020802@villanova.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DA44260.5020802@villanova.edu>; from sean.mcnamara@villanova.edu on Wed, Oct 09, 2002 at 10:51:12AM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Oct 09, 2002 at 10:51:12AM -0400, Sean McNamara: > Christophe, > > This shouldn't be a problem at all. It's not necessary to have > sendmail running as a daemon (or configured beyond the default Sun > package) in order to send mail from a machine. Sendmail should still > be installed; however, you can prevent it from daemonizing at startup by > renaming the file /etc/rc2.d/S88sendmail to /etc/rc2.d/.S88sendmail > (files starting with a dot will be ignored at boot). > btw, if you do this, you will want to have a cron job that periodically runs the queue (sendmail -q). so, if a message is temporarily undeliverable, it will be retried. From owner-rancid-discuss@shrubbery.net Thu Oct 10 08:13:58 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9A8Dwu23089 for ; Thu, 10 Oct 2002 08:13:58 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9A8CHP18207 for rancid-discuss-outgoing; Thu, 10 Oct 2002 08:12:17 GMT Received: from pegase1.cie-signaux.fr (pegase1.cie-signaux.fr [194.2.40.7]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9A8CCL18203 for ; Thu, 10 Oct 2002 08:12:12 GMT Received: from pegase0.si.c-s.fr by pegase1.cie-signaux.fr with ESMTP id KAA11988 for ; Thu, 10 Oct 2002 10:14:56 +0200 (MET DST) Received: from pegase0.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id KAA23132 for ; Thu, 10 Oct 2002 10:11:13 +0200 (MET DST) Received: from hermes17.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id KAA23128 for ; Thu, 10 Oct 2002 10:11:13 +0200 (MET DST) Received: from CLEOPATRE ([194.2.55.165]) by hermes17.si.c-s.fr (Netscape Messaging Server 3.6) with ESMTP id AAA63AA for ; Thu, 10 Oct 2002 10:07:39 +0200 From: "BELMONT Christophe" To: Subject: RE : Rancid & Sendmail Date: Thu, 10 Oct 2002 10:09:02 +0200 Message-ID: <004301c27034$4bdc1500$a53702c2@CLEOPATRE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <3DA44260.5020802@villanova.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g9A8CEL18204 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thank you all, I have it running now. Btw, thanks to the developers and contributors, that's a very nice and useful tool. Christophe. --- Christophe Belmont Network Engineer NOC GÉANT Tel : +33 6 81 73 29 56 -----Message d'origine----- De : Sean McNamara [mailto:sean.mcnamara@villanova.edu] Envoyé : 09 October 2002 16:51 À : BELMONT Christophe Cc : rancid-discuss@shrubbery.net Objet : Re: Rancid & Sendmail Christophe, This shouldn't be a problem at all. It's not necessary to have sendmail running as a daemon (or configured beyond the default Sun package) in order to send mail from a machine. Sendmail should still be installed; however, you can prevent it from daemonizing at startup by renaming the file /etc/rc2.d/S88sendmail to /etc/rc2.d/.S88sendmail (files starting with a dot will be ignored at boot). Basically, to sum up: sendmail _is_ required to be installed in order to send messages with mail, but it does not need to run at startup, or have any non-default configuration performed. Good luck.. ..Sean. BELMONT Christophe wrote: >Hi all, > >I have a server running Solaris in production. I would like to install >rancid but I would prefer not to install sendmail on this machine >(sendmail is huge and not really trivial to administrate) since rancid >should be able to send an email using normal "mail" command. I would >like to know if it's possible to do that and how? > >Thanks in advance, >Christophe. > >--- >Christophe Belmont >Network Engineer >NOC GÉANT >Tel : +33 6 81 73 29 56 > > > > > > From owner-rancid-discuss@shrubbery.net Mon Oct 14 21:23:54 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9ELNru19466 for ; Mon, 14 Oct 2002 21:23:53 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9ELJWY26257 for rancid-discuss-outgoing; Mon, 14 Oct 2002 21:19:32 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9ELJSL26253 for ; Mon, 14 Oct 2002 21:19:28 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9ELJRL18100 for ; Mon, 14 Oct 2002 17:19:27 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Mon, 14 Oct 2002 17:19:27 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: rancid-discuss@shrubbery.net Subject: telnet hanging Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I've installed rancid-2.2.2 on a Red Hat 7.2 system and have noticed a problem where telnet (spawned from clogin) hangs on one particular router (the first in router.db). When I check the router, the telnet session has successfully logged in and is just sitting idle. I've seen it hung for as much as an hour before I've killed the telnet process. I did a quick search of the archive and didn't see anyone reporting something similar. Anyone seen/solved this before? ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Mon Oct 14 21:47:46 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9ELlku20749 for ; Mon, 14 Oct 2002 21:47:46 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9ELlaY26454 for rancid-discuss-outgoing; Mon, 14 Oct 2002 21:47:36 GMT Received: from type2.uits.indiana.edu (type2.uits.indiana.edu [129.79.17.130]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9ELlXL26450 for ; Mon, 14 Oct 2002 21:47:33 GMT Received: (from mpd@localhost) by type2.uits.indiana.edu (8.12.2/8.10.2) id g9ELlRKD009150; Mon, 14 Oct 2002 16:47:27 -0500 (EST) Date: Mon, 14 Oct 2002 16:47:27 -0500 From: Matthew Davy To: jlewis@lewis.org Cc: rancid-discuss@shrubbery.net Subject: Re: telnet hanging Message-ID: <20021014164726.R8743@indiana.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jlewis@lewis.org on Mon, Oct 14, 2002 at 05:19:27PM -0400 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I've had problems with telnet and ssh hanging on certain routers for a while now. Seems to get better or worse depending on what version of IOS we're running. (Incidentally, I haven't seen any problems with Junipers). Last week it started hanging on the same router about every other time I ran a diff. I saw a note about a possible expect bug on Linux, but I couldn't get the older version which was posted on the rancid page to build and I upgraded to the newest versions of expect and tcl and it didn't fix it either. I installed the same versions of rancid (2.2.2), expect (5.38) and tcl (8.3) on a FreeBSD box last Friday and have been running diffs every hour since without a problem. - Matt On Mon, Oct 14, 2002 at 05:19:27PM -0400, jlewis@lewis.org wrote: > I've installed rancid-2.2.2 on a Red Hat 7.2 system and have noticed a > problem where telnet (spawned from clogin) hangs on one particular router > (the first in router.db). When I check the router, the telnet session has > successfully logged in and is just sitting idle. I've seen it hung for as > much as an hour before I've killed the telnet process. > > I did a quick search of the archive and didn't see anyone reporting > something similar. Anyone seen/solved this before? > > ---------------------------------------------------------------------- > Jon Lewis *jlewis@lewis.org*| I route > System Administrator | therefore you are > Atlantic Net | > _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Mon Oct 14 22:32:30 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9EMWUu21847 for ; Mon, 14 Oct 2002 22:32:30 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9EMW1b26678 for rancid-discuss-outgoing; Mon, 14 Oct 2002 22:32:01 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9EMVvL26674 for ; Mon, 14 Oct 2002 22:31:57 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9EMVtX18496 for ; Mon, 14 Oct 2002 18:31:55 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Mon, 14 Oct 2002 18:31:55 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: rancid-discuss@shrubbery.net Subject: Re: telnet hanging In-Reply-To: <00d501c273c9$ab184370$0200a8c0@dipsy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk [attribution removed since he didn't appear to cc: the list] > I had the same problem with the version of expect that came stock with > RH7.2. The following is mentioned on the RANCID site: > > Linux users with expect 5.32.* (or > 5.25.*); there appears to be a bug in > tcl 8.3 that causes collections to hang often and likely all the time. Below Doh! I should have scrolled down that page...it's actually been open in one of my Opera tabs since I installed RANCID. The Red Hat 7.3 expect rpm installed without any complaints, so I'll see if that solves it. Sorry for wasting everyone's time. ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Mon Oct 14 22:52:52 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9EMqqu22663 for ; Mon, 14 Oct 2002 22:52:52 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9EMqkU26790 for rancid-discuss-outgoing; Mon, 14 Oct 2002 22:52:46 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9EMqfv26785; Mon, 14 Oct 2002 22:52:41 GMT Date: Mon, 14 Oct 2002 15:52:41 -0700 From: john heasley To: jlewis@lewis.org Cc: rancid-discuss@shrubbery.net Subject: Re: telnet hanging Message-ID: <20021014155241.R24879@shrubbery.net> References: <00d501c273c9$ab184370$0200a8c0@dipsy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jlewis@lewis.org on Mon, Oct 14, 2002 at 06:31:55PM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Mon, Oct 14, 2002 at 06:31:55PM -0400, jlewis@lewis.org: > [attribution removed since he didn't appear to cc: the list] > > I had the same problem with the version of expect that came stock with > > RH7.2. The following is mentioned on the RANCID site: > > > > Linux users with expect 5.32.* (or > 5.25.*); there appears to be a bug in > > tcl 8.3 that causes collections to hang often and likely all the time. Below > > Doh! I should have scrolled down that page...it's actually been open in > one of my Opera tabs since I installed RANCID. > > The Red Hat 7.3 expect rpm installed without any complaints, so I'll see > if that solves it. if you refresh that page, you'll also see: Update: we're told that kernel 2.4.11 + expect-5.32.2-62 + tcl-8.3.3-65 are a winning combination. We have not tested this ourselves. seems odd that its just that one box. anyway, i'm sure we'll hear from folks if these do not solve it. From owner-rancid-discuss@shrubbery.net Wed Oct 16 02:28:38 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9G2Scu14328 for ; Wed, 16 Oct 2002 02:28:38 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9G2PdT04754 for rancid-discuss-outgoing; Wed, 16 Oct 2002 02:25:39 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9G2PVL04750 for ; Wed, 16 Oct 2002 02:25:35 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9G2PUR27697 for ; Tue, 15 Oct 2002 22:25:30 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Tue, 15 Oct 2002 22:25:30 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: rancid-discuss@shrubbery.net Subject: Re: telnet hanging In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Mon, 14 Oct 2002 jlewis@lewis.org wrote: > The Red Hat 7.3 expect rpm installed without any complaints, so I'll see > if that solves it. Just upgrading expect and tcl to Red Hat 7.3's rpms didn't solve the problem. I'm currently running expect-5.32.2-67 tcl-8.3.3-67 kernel-2.4.9-13 Tomorrow, I'll try upgrading to kernel-2.4.18-10 and see if it makes a difference. If not, I guess I'll try rebuilding an expect rpm with the suggested patch. ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Fri Oct 18 14:37:20 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9IEbKu28461 for ; Fri, 18 Oct 2002 14:37:20 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9IEXW502428 for rancid-discuss-outgoing; Fri, 18 Oct 2002 14:33:32 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9IEXPL02424 for ; Fri, 18 Oct 2002 14:33:26 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9IEXNH14705 for ; Fri, 18 Oct 2002 10:33:24 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Fri, 18 Oct 2002 10:33:23 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: rancid-discuss@shrubbery.net Subject: Re: telnet hanging In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, 15 Oct 2002 jlewis@lewis.org wrote: > Just upgrading expect and tcl to Red Hat 7.3's rpms didn't solve the > problem. I'm currently running > > expect-5.32.2-67 > tcl-8.3.3-67 > kernel-2.4.9-13 > > Tomorrow, I'll try upgrading to kernel-2.4.18-10 and see if it makes a > difference. If not, I guess I'll try rebuilding an expect rpm with the > suggested patch. The kernel upgrade didn't help either. I ended up rebuilding the tcltk src.rpm for Red Hat 7.2 with the suggested one line patch, and that seems to have solved the telnet hanging problem. Now I have another odd one that I hope isn't a FAQ. I've added a bunch of cisco access-servers (5200's, 5300's, and a 5800) to my rancid setup, and for some reason, these ciscos seem to vary the number of !'s separating sections of the config from one 'write term' to the next even though nobody has logged in and made changes to the config. So I'm constantly being emailed diffs like: ip classless ip route 0.0.0.0 0.0.0.0 209.208.16.1 no ip http server ! + ! access-list 20 permit ... access-list 20 permit ... access-list 20 permit ... access-list 20 deny any followed by ip classless ip route 0.0.0.0 0.0.0.0 209.208.16.1 no ip http server ! - ! access-list 20 permit ... access-list 20 permit ... access-list 20 permit ... access-list 20 deny any Obviously, this would appear to be more of a cisco problem than a rancid one, but I suspect someone else must have run into this and wonder if anyone's come up with a fix or knows how to get the cisco's to stop doing this. ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Fri Oct 18 19:22:01 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9IJM1u13414 for ; Fri, 18 Oct 2002 19:22:01 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9IJKng03838 for rancid-discuss-outgoing; Fri, 18 Oct 2002 19:20:49 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9IJKhj03831; Fri, 18 Oct 2002 19:20:43 GMT Date: Fri, 18 Oct 2002 12:20:42 -0700 From: john heasley To: jlewis@lewis.org Cc: rancid-discuss@shrubbery.net Subject: Re: telnet hanging Message-ID: <20021018122042.J16223@shrubbery.net> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jlewis@lewis.org on Fri, Oct 18, 2002 at 10:33:23AM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Fri, Oct 18, 2002 at 10:33:23AM -0400, jlewis@lewis.org: > On Tue, 15 Oct 2002 jlewis@lewis.org wrote: > > > Just upgrading expect and tcl to Red Hat 7.3's rpms didn't solve the > > problem. I'm currently running > > > > expect-5.32.2-67 > > tcl-8.3.3-67 > > kernel-2.4.9-13 > > > > Tomorrow, I'll try upgrading to kernel-2.4.18-10 and see if it makes a > > difference. If not, I guess I'll try rebuilding an expect rpm with the > > suggested patch. > > The kernel upgrade didn't help either. I ended up rebuilding the tcltk > src.rpm for Red Hat 7.2 with the suggested one line patch, and that seems > to have solved the telnet hanging problem. with the same versions of expect and tcl listed above? > Now I have another odd one that I hope isn't a FAQ. I've added a bunch of > cisco access-servers (5200's, 5300's, and a 5800) to my rancid setup, and > for some reason, these ciscos seem to vary the number of !'s separating > sections of the config from one 'write term' to the next even though > nobody has logged in and made changes to the config. never seen this, but the attached patch ought to do it. > So I'm constantly being emailed diffs like: > > ip classless > ip route 0.0.0.0 0.0.0.0 209.208.16.1 > no ip http server > ! > + ! > access-list 20 permit ... > access-list 20 permit ... > access-list 20 permit ... > access-list 20 deny any > > followed by > > ip classless > ip route 0.0.0.0 0.0.0.0 209.208.16.1 > no ip http server > ! > - ! > access-list 20 permit ... > access-list 20 permit ... > access-list 20 permit ... > access-list 20 deny any > > Obviously, this would appear to be more of a cisco problem than a rancid > one, but I suspect someone else must have run into this and wonder if > anyone's come up with a fix or knows how to get the cisco's to stop doing > this. > > ---------------------------------------------------------------------- > Jon Lewis *jlewis@lewis.org*| I route > System Administrator | therefore you are > Atlantic Net | > _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff Index: rancid.in =================================================================== RCS file: /home/rancid/.CVS/rancid/bin/rancid.in,v retrieving revision 1.119 diff -d -u -r1.119 rancid.in --- rancid.in 2002/09/29 23:00:41 1.119 +++ rancid.in 2002/10/18 19:16:05 @@ -869,7 +869,7 @@ # This routine processes a "write term" sub WriteTerm { print STDERR " In WriteTerm: $_" if ($debug); - my($lineauto) = 0; + my($lineauto,$comment) = (0,0); while () { tr/\015//d; @@ -897,6 +897,16 @@ # some versions have other crap mixed in with the bits in the # block above /^! (Last configuration|NVRAM config last)/ && next; + + # skip multiple comment lines to avoid toggling extra comment on some + # access servers. grrr. + if (/^!/) { + next if ($comment); + ProcessHistory("","","",$_); + $comment++; + next; + } + $comment = 0; # Dog gone Cool matches to process the rest of the config /^tftp-server flash / && next; # kill any tftp remains --mYCpIKhGyMATD0i+-- From owner-rancid-discuss@shrubbery.net Fri Oct 18 19:52:27 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9IJqQu15080 for ; Fri, 18 Oct 2002 19:52:26 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9IJq2v07813 for rancid-discuss-outgoing; Fri, 18 Oct 2002 19:52:02 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9IJptL07800; Fri, 18 Oct 2002 19:51:55 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9IJpst16450; Fri, 18 Oct 2002 15:51:54 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Fri, 18 Oct 2002 15:51:54 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: john heasley cc: rancid-discuss@shrubbery.net Subject: Re: telnet hanging In-Reply-To: <20021018122042.J16223@shrubbery.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, 18 Oct 2002, john heasley wrote: > > > expect-5.32.2-67 > > > tcl-8.3.3-67 > > > kernel-2.4.9-13 > > > > > The kernel upgrade didn't help either. I ended up rebuilding the tcltk > > src.rpm for Red Hat 7.2 with the suggested one line patch, and that seems > > to have solved the telnet hanging problem. > > with the same versions of expect and tcl listed above? tcl-8.3.3-65rancid expect-5.32.2-65rancid These were built from the source rpm for tcltk that came with Red Hat 7.2. > never seen this, but the attached patch ought to do it. Cool. I'll give it a try. ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Tue Oct 22 12:07:13 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MC7Dc24748 for ; Tue, 22 Oct 2002 12:07:13 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MC1o420493 for rancid-discuss-outgoing; Tue, 22 Oct 2002 12:01:51 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MC1lL20489 for ; Tue, 22 Oct 2002 12:01:47 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 183xjD-000Hpt-00 for rancid-discuss@shrubbery.net; Tue, 22 Oct 2002 05:01:43 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rancid users Subject: juniper mode problem Message-Id: Date: Tue, 22 Oct 2002 05:01:43 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk i have a juniper problem which appears to be related to the class of the user. when the user had superuser privs, i got the failure as follows: psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show \ chassis environment,show version,show chassis ssb,show chassis \ scb,show chassis sfm detail,show configuration,show chassis \ routing-engine,show chassis fpc detail,show chassis \ firmware,show chassis feb,show chassis clocks,show system \ boot-messages psg1.psg.com: End of run not found so i made the class of the rancid user 'operator' and now i get: Index: configs/psg1.psg.com =================================================================== retrieving revision 1.2 diff -u -4 -r1.2 psg1.psg.com @@ -173,15 +173,9 @@ # # psg1> show configuration groups { statics { - routing-options { - rib { - static { - route 205.238.48.0/24 discard; - } - } - } + routing-options { /* ACCESS-DENIED */ }; } } etc randy From owner-rancid-discuss@shrubbery.net Tue Oct 22 13:25:11 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MDPAc27144 for ; Tue, 22 Oct 2002 13:25:10 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MDN2q20807 for rancid-discuss-outgoing; Tue, 22 Oct 2002 13:23:02 GMT Received: from beta.jnpr.net (natint.juniper.net [207.17.136.129]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MDMxL20803 for ; Tue, 22 Oct 2002 13:22:59 GMT Received: from juniper.net ([207.17.136.39]) by beta.jnpr.net with Microsoft SMTPSVC(5.0.2195.5329); Tue, 22 Oct 2002 06:22:53 -0700 Date: Tue, 22 Oct 2002 09:22:52 -0400 Subject: Re: juniper mode problem Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: rancid users To: Randy Bush From: Avram Dorfman In-Reply-To: Message-Id: <5E1E50A6-E5C1-11D6-9F95-0003938CDB0C@juniper.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.546) X-OriginalArrivalTime: 22 Oct 2002 13:22:53.0759 (UTC) FILETIME=[20A344F0:01C279CE] Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Getting a timeout while logging in has nothing to do with user class. Have you traced the login script to see what it's timing out on? One thing to lookout for is that if you're logging into the same router multiple times in rapid succession, you might get rate limited - no obvious signs of that here, but it does appear as a login timeout b/c the RE rate limiters start to drop SYNs. -Avram On Tuesday, October 22, 2002, at 08:01 AM, Randy Bush wrote: > i have a juniper problem which appears to be related to the class of > the > user. > > when the user had superuser privs, i got the failure as follows: > > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show \ > chassis environment,show version,show chassis ssb,show chassis \ > scb,show chassis sfm detail,show configuration,show chassis \ > routing-engine,show chassis fpc detail,show chassis \ > firmware,show chassis feb,show chassis clocks,show system \ > boot-messages > psg1.psg.com: End of run not found > > so i made the class of the rancid user 'operator' and now i get: > > Index: configs/psg1.psg.com > =================================================================== > retrieving revision 1.2 > diff -u -4 -r1.2 psg1.psg.com > @@ -173,15 +173,9 @@ > # > # psg1> show configuration > groups { > statics { > - routing-options { > - rib { > - static { > - route 205.238.48.0/24 discard; > - } > - } > - } > + routing-options { /* ACCESS-DENIED */ }; > } > } > > etc > > randy > > From owner-rancid-discuss@shrubbery.net Tue Oct 22 18:45:00 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MIj0c09462 for ; Tue, 22 Oct 2002 18:45:00 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MIgOR22730 for rancid-discuss-outgoing; Tue, 22 Oct 2002 18:42:24 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MIgLL22726 for ; Tue, 22 Oct 2002 18:42:21 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 1843yu-00031N-00 for rancid-discuss@shrubbery.net; Tue, 22 Oct 2002 11:42:21 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rancid users Subject: breaking juniper ssh session Message-Id: Date: Tue, 22 Oct 2002 11:42:21 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk i suspect that rancid is being rude, well different, in some way when it terminates a juniper ssh session Oct 22 18:25:03 psg1 sshd[4921]: Connection closed by 147.28.0.39 Oct 22 18:25:03 psg1 inetd[577]: /usr/sbin/sshd[4921]: exit status 0xff00 anyone have a clue? randy From owner-rancid-discuss@shrubbery.net Tue Oct 22 19:47:22 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MJlLc11720 for ; Tue, 22 Oct 2002 19:47:21 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MJjHU22995 for rancid-discuss-outgoing; Tue, 22 Oct 2002 19:45:17 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MJjDL22991 for ; Tue, 22 Oct 2002 19:45:13 GMT Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.3/8.12.3) with ESMTP id g9MJj6V7067821; Tue, 22 Oct 2002 15:45:06 -0400 (EDT) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.3/8.12.3/Submit) id g9MJj6tm067820; Tue, 22 Oct 2002 15:45:06 -0400 (EDT) (envelope-from asp) Date: Tue, 22 Oct 2002 15:45:06 -0400 From: Andrew Partan To: Randy Bush Cc: rancid users Subject: Re: breaking juniper ssh session Message-ID: <20021022194506.GA67570@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Oct 22, 2002 at 11:42:21AM -0700, Randy Bush wrote: > i suspect that rancid is being rude, well different, in some way > when it terminates a juniper ssh session Its just more verbose than others. Newer version of junos are less noisy. --asp From owner-rancid-discuss@shrubbery.net Tue Oct 22 22:36:51 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MMaoc17329 for ; Tue, 22 Oct 2002 22:36:51 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MMYYZ25523 for rancid-discuss-outgoing; Tue, 22 Oct 2002 22:34:34 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MMYVL25519 for ; Tue, 22 Oct 2002 22:34:31 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 1847bb-0008s7-00; Tue, 22 Oct 2002 15:34:31 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Andrew Partan Cc: rancid users Subject: Re: breaking juniper ssh session References: <20021022194506.GA67570@partan.com> Message-Id: Date: Tue, 22 Oct 2002 15:34:31 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk >> i suspect that rancid is being rude, well different, in some way >> when it terminates a juniper ssh session > Its just more verbose than others. Newer version of junos are less > noisy. it is a rather new version of junos, and it does not make such noises when i manually ssh in and quit out. randy From owner-rancid-discuss@shrubbery.net Tue Oct 22 23:00:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MN0uc18479 for ; Tue, 22 Oct 2002 23:00:56 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MMxUH25607 for rancid-discuss-outgoing; Tue, 22 Oct 2002 22:59:30 GMT Received: from redhat1.mmaero.com (IDENT:root@redhat1.mmaero.com [208.152.224.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MMxQL25603 for ; Tue, 22 Oct 2002 22:59:27 GMT Received: from localhost (jlewis@localhost) by redhat1.mmaero.com (8.11.6/8.9.3) with ESMTP id g9MMxMF20231; Tue, 22 Oct 2002 18:59:22 -0400 X-Authentication-Warning: redhat1.mmaero.com: jlewis owned process doing -bs Date: Tue, 22 Oct 2002 18:59:22 -0400 (EDT) From: jlewis@lewis.org X-X-Sender: jlewis@redhat1.mmaero.com To: Randy Bush cc: Andrew Partan , rancid users Subject: Re: breaking juniper ssh session In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, 22 Oct 2002, Randy Bush wrote: > >> i suspect that rancid is being rude, well different, in some way > >> when it terminates a juniper ssh session > > Its just more verbose than others. Newer version of junos are less > > noisy. > > it is a rather new version of junos, and it does not make such > noises when i manually ssh in and quit out. I wonder what would happen if you just add the appropriate quit command to the end of @commands in jrancid? ---------------------------------------------------------------------- Jon Lewis *jlewis@lewis.org*| I route System Administrator | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From owner-rancid-discuss@shrubbery.net Tue Oct 22 23:09:30 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9MN9Uc18571 for ; Tue, 22 Oct 2002 23:09:30 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MN7tw25677 for rancid-discuss-outgoing; Tue, 22 Oct 2002 23:07:55 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9MN7kb25672; Tue, 22 Oct 2002 23:07:46 GMT Date: Tue, 22 Oct 2002 16:07:46 -0700 From: john heasley To: jlewis@lewis.org Cc: Randy Bush , Andrew Partan , rancid users Subject: Re: breaking juniper ssh session Message-ID: <20021022160746.O11429@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jlewis@lewis.org on Tue, Oct 22, 2002 at 06:59:22PM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Tue, Oct 22, 2002 at 06:59:22PM -0400, jlewis@lewis.org: > On Tue, 22 Oct 2002, Randy Bush wrote: > > > >> i suspect that rancid is being rude, well different, in some way > > >> when it terminates a juniper ssh session > > > Its just more verbose than others. Newer version of junos are less > > > noisy. > > > > it is a rather new version of junos, and it does not make such > > noises when i manually ssh in and quit out. > > I wonder what would happen if you just add the appropriate quit command to > the end of @commands in jrancid? > jlogin (-c blah) does this for you. even waits for EOF. this problem has been there for ages and last i recall asking juniper about it, they recognized it as a bug. From owner-rancid-discuss@shrubbery.net Wed Oct 23 04:33:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N4Xuc26734 for ; Wed, 23 Oct 2002 04:33:56 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N4WHT28470 for rancid-discuss-outgoing; Wed, 23 Oct 2002 04:32:17 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N4WDL28466 for ; Wed, 23 Oct 2002 04:32:14 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 184DBl-000HJu-00 for rancid-discuss@shrubbery.net; Tue, 22 Oct 2002 21:32:13 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rancid users Subject: juniper being silly Message-Id: Date: Tue, 22 Oct 2002 21:32:13 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk manually i can login just fine % rancid/bin/jlogin -c 'show conf;show conf' psg1.psg.com psg1.psg.com spawn ssh -c 3des -x -l rancid psg1.psg.com RGnet / PSGnet / NSRC Bainbridge Island, WA USA psg1.psg.com 2002.10.22-1 +1 206 780-0431 / 206 356 8341 Last login: Wed Oct 23 04:26:59 2002 from rip.psg.com^M --- JUNOS 5.4R2.4 built 2002-09-11 01:27:32 UTC rancid@psg1> rancid@psg1> set cli complete-on-space off Disabling complete-on-space rancid@psg1> set cli screen-length 0 Screen length set to 0 rancid@psg1> show conf groups { statics { routing-options { rib { static { route 205.238.48.0/24 discard; } } } } } /* ------------------------------------------------------------------------ system configuration ------------------------------------------------------------------------ */ system { host-name psg1; domain-name psg.com; no-redirects; authentication-order password; location { country-code US; postal-code 98110; npa-nxx 206780; latitude 47.6107864; longitude -122.5752106; altitude 20; } root-authentication { ... but from the logs, i get psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found ===================================== and then sometimes it works. randy From owner-rancid-discuss@shrubbery.net Wed Oct 23 05:21:05 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N5L4c05682 for ; Wed, 23 Oct 2002 05:21:04 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N5Kf629793 for rancid-discuss-outgoing; Wed, 23 Oct 2002 05:20:41 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N5KbL29789 for ; Wed, 23 Oct 2002 05:20:37 GMT Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.3/8.12.3) with ESMTP id g9N5KTV7003350; Wed, 23 Oct 2002 01:20:30 -0400 (EDT) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.3/8.12.3/Submit) id g9N5KTfN003349; Wed, 23 Oct 2002 01:20:29 -0400 (EDT) (envelope-from asp) Date: Wed, 23 Oct 2002 01:20:29 -0400 From: Andrew Partan To: Randy Bush Cc: rancid users Subject: Re: juniper being silly Message-ID: <20021023052028.GA3288@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Oct 22, 2002 at 09:32:13PM -0700, Randy Bush wrote: > but from the logs, i get > psg1.psg.com jlogin error: Error: TIMEOUT reached > and then sometimes it works. I only get these sorts of occaisional failures from old ciscos with no longer adequate CPUs. Or if routing is flapping. Or if name->IP mapping is hitting more than one router. Or expands to multiple IP addrs some of which are down. Or you have duplicate IP addrs. --asp From owner-rancid-discuss@shrubbery.net Wed Oct 23 05:32:42 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N5Wfc08782 for ; Wed, 23 Oct 2002 05:32:41 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N5WWA01097 for rancid-discuss-outgoing; Wed, 23 Oct 2002 05:32:33 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N5WQZ01086; Wed, 23 Oct 2002 05:32:27 GMT Date: Wed, 23 Oct 2002 05:32:26 +0000 From: john heasley To: Andrew Partan Cc: Randy Bush , rancid users Subject: Re: juniper being silly Message-ID: <20021023053226.A29490@shrubbery.net> References: <20021023052028.GA3288@partan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021023052028.GA3288@partan.com>; from asp@partan.com on Wed, Oct 23, 2002 at 01:20:29AM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Oct 23, 2002 at 01:20:29AM -0400, Andrew Partan: > On Tue, Oct 22, 2002 at 09:32:13PM -0700, Randy Bush wrote: > > but from the logs, i get > > psg1.psg.com jlogin error: Error: TIMEOUT reached > > and then sometimes it works. > > I only get these sorts of occaisional failures from old ciscos with > no longer adequate CPUs. > > Or if routing is flapping. Or if name->IP mapping is hitting more > than one router. Or expands to multiple IP addrs some of which are > down. Or you have duplicate IP addrs. > --asp try (or sh morale equiv) setenv NOPIPE YES jrancid -d psg1.psg.com if you manage to get an instance where it fails, send the .raw file to me. from the error log, its getting as far as as "show chassis fpc detail" and getting buggered somewhere in there, assuming the error point is consistent. From owner-rancid-discuss@shrubbery.net Wed Oct 23 05:53:33 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N5rXc12579 for ; Wed, 23 Oct 2002 05:53:33 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N5qrZ02284 for rancid-discuss-outgoing; Wed, 23 Oct 2002 05:52:53 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N5qmL02277; Wed, 23 Oct 2002 05:52:48 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 184ERj-000JKa-00; Tue, 22 Oct 2002 22:52:47 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: john heasley Cc: rancid users Subject: Re: juniper being silly References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> Message-Id: Date: Tue, 22 Oct 2002 22:52:47 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk yes, always at the same place. see appended and i succeed many many many times with the test you recommended % env | grep PIPE NOPIPE=YES % jrancid -d psg1.psg.com executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com HIT COMMAND:rancid@psg1> show chassis clocks In ShowChassisClocks: rancid@psg1> show chassis clocks HIT COMMAND:rancid@psg1> show chassis environment In ShowChassisEnvironment: rancid@psg1> show chassis environment HIT COMMAND:rancid@psg1> show chassis firmware In ShowChassisFirmware: rancid@psg1> show chassis firmware HIT COMMAND:rancid@psg1> show chassis fpc detail In ShowChassisFpcDetail: rancid@psg1> show chassis fpc detail HIT COMMAND:rancid@psg1> show chassis hardware detail In ShowChassisHardware: rancid@psg1> show chassis hardware detail HIT COMMAND:rancid@psg1> show chassis routing-engine In ShowChassisRoutingEngine: rancid@psg1> show chassis routing-engine HIT COMMAND:rancid@psg1> show chassis scb In ShowChassisSCB: rancid@psg1> show chassis scb HIT COMMAND:rancid@psg1> show chassis sfm detail In ShowChassisSCB: rancid@psg1> show chassis sfm detail HIT COMMAND:rancid@psg1> show chassis ssb In ShowChassisSCB: rancid@psg1> show chassis ssb HIT COMMAND:rancid@psg1> show chassis feb In ShowChassisSCB: rancid@psg1> show chassis feb HIT COMMAND:rancid@psg1> show system boot-messages In ShowSystemBootMessages: rancid@psg1> show system boot-messages HIT COMMAND:rancid@psg1> show version In ShowVersion: rancid@psg1> show version HIT COMMAND:rancid@psg1> show configuration In ShowConfiguration: rancid@psg1> show configuration % but it is six hours since i managed to snatch a copy of psg1's config :-( randy --- starting: Tue Oct 22 22:15:00 PDT 2002 Trying to get all of the configs. # psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found ===================================== Getting missed routers: round 1. # psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found ===================================== Getting missed routers: round 2. # psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found ===================================== Getting missed routers: round 3. # psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found ===================================== Getting missed routers: round 4. # psg1.psg.com jlogin error: Error: TIMEOUT reached psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages psg1.psg.com: End of run not found cvs diff: Diffing . cvs diff: Diffing configs cvs commit: Examining . cvs commit: Examining configs ending: Tue Oct 22 22:25:03 PDT 2002 From owner-rancid-discuss@shrubbery.net Wed Oct 23 06:10:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9N6Atc14164 for ; Wed, 23 Oct 2002 06:10:55 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N6ANu02360 for rancid-discuss-outgoing; Wed, 23 Oct 2002 06:10:23 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9N6AHQ02352; Wed, 23 Oct 2002 06:10:17 GMT Date: Wed, 23 Oct 2002 06:10:17 +0000 From: john heasley To: Randy Bush Cc: john heasley , rancid users Subject: Re: juniper being silly Message-ID: <20021023061017.B29490@shrubbery.net> References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from randy@psg.com on Tue, Oct 22, 2002 at 10:52:47PM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk hmm. now i suspect tcl or expect. try setting NOPIPE in bin/env and letting the collection run. Tue, Oct 22, 2002 at 10:52:47PM -0700, Randy Bush: > yes, always at the same place. see appended > > and i succeed many many many times with the test you recommended > > % env | grep PIPE > NOPIPE=YES > % jrancid -d psg1.psg.com > executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com > executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com > HIT COMMAND:rancid@psg1> show chassis clocks > In ShowChassisClocks: rancid@psg1> show chassis clocks > HIT COMMAND:rancid@psg1> show chassis environment > In ShowChassisEnvironment: rancid@psg1> show chassis environment > HIT COMMAND:rancid@psg1> show chassis firmware > In ShowChassisFirmware: rancid@psg1> show chassis firmware > HIT COMMAND:rancid@psg1> show chassis fpc detail > In ShowChassisFpcDetail: rancid@psg1> show chassis fpc detail > HIT COMMAND:rancid@psg1> show chassis hardware detail > In ShowChassisHardware: rancid@psg1> show chassis hardware detail > HIT COMMAND:rancid@psg1> show chassis routing-engine > In ShowChassisRoutingEngine: rancid@psg1> show chassis routing-engine > HIT COMMAND:rancid@psg1> show chassis scb > In ShowChassisSCB: rancid@psg1> show chassis scb > HIT COMMAND:rancid@psg1> show chassis sfm detail > In ShowChassisSCB: rancid@psg1> show chassis sfm detail > HIT COMMAND:rancid@psg1> show chassis ssb > In ShowChassisSCB: rancid@psg1> show chassis ssb > HIT COMMAND:rancid@psg1> show chassis feb > In ShowChassisSCB: rancid@psg1> show chassis feb > HIT COMMAND:rancid@psg1> show system boot-messages > In ShowSystemBootMessages: rancid@psg1> show system boot-messages > HIT COMMAND:rancid@psg1> show version > In ShowVersion: rancid@psg1> show version > HIT COMMAND:rancid@psg1> show configuration > In ShowConfiguration: rancid@psg1> show configuration > % > > but it is six hours since i managed to snatch a copy of psg1's config :-( > > randy > > --- > > starting: Tue Oct 22 22:15:00 PDT 2002 > > > Trying to get all of the configs. > # > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages > psg1.psg.com: End of run not found > ===================================== > Getting missed routers: round 1. > # > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages > psg1.psg.com: End of run not found > ===================================== > Getting missed routers: round 2. > # > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages > psg1.psg.com: End of run not found > ===================================== > Getting missed routers: round 3. > # > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages > psg1.psg.com: End of run not found > ===================================== > Getting missed routers: round 4. > # > psg1.psg.com jlogin error: Error: TIMEOUT reached > psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages > psg1.psg.com: End of run not found > > cvs diff: Diffing . > cvs diff: Diffing configs > cvs commit: Examining . > cvs commit: Examining configs > > ending: Tue Oct 22 22:25:03 PDT 2002 From owner-rancid-discuss@shrubbery.net Wed Oct 23 15:04:27 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NF4Rc24679 for ; Wed, 23 Oct 2002 15:04:27 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NF1K305881 for rancid-discuss-outgoing; Wed, 23 Oct 2002 15:01:20 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NF1GL05874; Wed, 23 Oct 2002 15:01:16 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 184N0V-0007Dw-00; Wed, 23 Oct 2002 08:01:15 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: john heasley Cc: rancid users Subject: Re: juniper being silly References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> <20021023061017.B29490@shrubbery.net> Message-Id: Date: Wed, 23 Oct 2002 08:01:15 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > hmm. now i suspect tcl or expect. try setting NOPIPE in bin/env and > letting the collection run. no change randy From owner-rancid-discuss@shrubbery.net Wed Oct 23 21:35:25 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NLZPc08107 for ; Wed, 23 Oct 2002 21:35:25 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NLYKV09498 for rancid-discuss-outgoing; Wed, 23 Oct 2002 21:34:20 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NLYGI09490; Wed, 23 Oct 2002 21:34:16 GMT Date: Wed, 23 Oct 2002 14:34:15 -0700 From: john heasley To: Randy Bush Cc: john heasley , rancid users Subject: Re: juniper being silly Message-ID: <20021023143415.P8823@shrubbery.net> References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> <20021023061017.B29490@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from randy@psg.com on Wed, Oct 23, 2002 at 08:01:15AM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Oct 23, 2002 at 08:01:15AM -0700, Randy Bush: > > hmm. now i suspect tcl or expect. try setting NOPIPE in bin/env and > > letting the collection run. > > no change > > randy stumped. possible solutions 1) set NOPIPE to YES in bin/eng and $debug to 1 in bin/jrancid and send the .raw from the next failure. 2) give me access to the router sorry; this one seems tricky. From owner-rancid-discuss@shrubbery.net Wed Oct 23 23:22:29 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NNMTc26112 for ; Wed, 23 Oct 2002 23:22:29 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NNLWC10547 for rancid-discuss-outgoing; Wed, 23 Oct 2002 23:21:32 GMT Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NNLSL10540; Wed, 23 Oct 2002 23:21:28 GMT Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.10) id 184Uoa-000OJe-00; Wed, 23 Oct 2002 16:21:28 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: john heasley Cc: rancid users Subject: Re: juniper being silly References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> <20021023061017.B29490@shrubbery.net> <20021023143415.P8823@shrubbery.net> Message-Id: Date: Wed, 23 Oct 2002 16:21:28 -0700 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk got it! psg1.psg.com spawn ssh -c 3des -x -l rancid psg1.psg.com RGnet / PSGnet / NSRC Bainbridge Island, WA USA psg1.psg.com 2002.10.22-1 +1 206 780-0431 / 206 356 8341 Enter passphrase for key '/usr/home/randy/.ssh/id_dsa': Error: TIMEOUT reached the conf file says the user is rancid, but it is running from my cron job, and i have a public key over there. any way out of this one? i ain't putting my ssh passphrase in an unencrypted text file anywhere. create a separate rancid user i guess. pita. randy From owner-rancid-discuss@shrubbery.net Wed Oct 23 23:33:19 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g9NNXJc27399 for ; Wed, 23 Oct 2002 23:33:19 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NNXEH10651 for rancid-discuss-outgoing; Wed, 23 Oct 2002 23:33:14 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g9NNXA010646; Wed, 23 Oct 2002 23:33:10 GMT Date: Wed, 23 Oct 2002 16:33:10 -0700 From: john heasley To: Randy Bush Cc: rancid users Subject: Re: juniper being silly Message-ID: <20021023163310.F8823@shrubbery.net> References: <20021023052028.GA3288@partan.com> <20021023053226.A29490@shrubbery.net> <20021023061017.B29490@shrubbery.net> <20021023143415.P8823@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from randy@psg.com on Wed, Oct 23, 2002 at 04:21:28PM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Oct 23, 2002 at 04:21:28PM -0700, Randy Bush: > got it! > > psg1.psg.com > spawn ssh -c 3des -x -l rancid psg1.psg.com > RGnet / PSGnet / NSRC Bainbridge Island, WA USA > psg1.psg.com 2002.10.22-1 +1 206 780-0431 / 206 356 8341 > > Enter passphrase for key '/usr/home/randy/.ssh/id_dsa': > Error: TIMEOUT reached > > the conf file says the user is rancid, but it is running from my > cron job, and i have a public key over there. > > any way out of this one? i ain't putting my ssh passphrase in > an unencrypted text file anywhere. create a separate rancid user > i guess. pita. > > randy cloginrc(5) cloginrc(5) ... add identity {} May be used to specify an alternate identity file for use with ssh(1). See ssh's -i option for details. Default: your default identity file. see ssh(1). From ApergesSwaggart@alloymail.com Fri Oct 25 17:24:56 2002 Received: from mx.bezeqint.net (mx.bezeqint.net [192.115.106.20]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id g9PHOp101346; Fri, 25 Oct 2002 17:24:55 GMT Received: from 212.179.228.27 (bzq-228-27.red.bezeqint.net [212.179.228.27]) by mx.bezeqint.net (Bezeq International Mail Server) with SMTP id 5DD34312F2; Fri, 25 Oct 2002 19:15:15 -0200 (GMT+2) From: "Holizna Santacroce" To: "Fralix Feldstein" Subject: check this out (278i61p2) Date: Fri, 25 Oct 2002 10:24:25 -0400 Reply-To: "oujhj2000@yahoo.com"@yahoo.com X-Mailer: ccMail Link to SMTP R8.00.00 X-Priority: 3 (Normal) X-Comment: NVa3TK8obA4mh2K6ow0QulX50aU X-Sender: "Holizna Santacroce" Errors-To: <"oujhj2000@yahoo.com"@yahoo.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=xymMimeex22aderUgl7KeRCa08j7ywXLwc1Bu3Sqsha2qN==" Content-Transfer-Encoding: 7bit Message-Id: <20021025211515.5DD34312F2@mx.bezeqint.net> --=xymMimeex22aderUgl7KeRCa08j7ywXLwc1Bu3Sqsha2qN== Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="US-ASCII"
$$$   Free Mortgage Loan Quote!   $$$


Already found a home or just need to get pre-qualified to buy one? You may be able to qualify for more than you ever thought possible! Here is the best part its completely FREE

>> Click Here to Get Started! <<

We offer you great rates and flexible options that meet your needs, no matter who you are!

Whether you are purchasing your first home, moving your mortgage, re-financing, or just looking for a pre-approval, we can help you save your money

Getting Approved Has Never Been Easier!

>> Click Here to Get Your Free Quote! <<

This is your chance to receive the cash you need simplyby filling out our short questionnaire! Its worked for thousands and now it can work for you!

To unsubscribe from this message please reply with the word REMOVE in the Subject Line.
6la6q053Wh12DV01 --=xymMimeex22aderUgl7KeRCa08j7ywXLwc1Bu3Sqsha2qN==--