[rancid] Re: Recurring Diffs

Yousef Raffah yraffah at gmail.com
Sun Aug 19 08:54:45 UTC 2007


On 8/19/07, Lance <rancid at gheek.net> wrote:
> Yousef,
>
> I have attached a version of rancid that has all the dir statement
> commented out. I will double check my own version when I get to work on
> monday and see exactly what I have. I will let you know.
>
Thanks a lot for your help.

> What error is in the logs? It should not effect any of the connection
> scripts and if a command should fail the device will spit back and error
> or wait for timeout then continue to the next command.
>
It gives this:
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r-----  1 rancid  netteam  16919 Aug 18 09:00 192.168.2.x
-rw-r-----  1 rancid  netteam  16919 Aug 18 09:00 192.168.2.y
-rw-r-----  1 rancid  netteam  16919 Aug 18 09:00 192.168.2.z

It seems like it is affecting the connection scripts somehow!

> > -------- Original Message --------
> > Subject: Re: [rancid] Recurring Diffs
> > From: "Yousef Raffah" <yraffah at gmail.com>
> > Date: Sat, August 18, 2007 5:24 am
> > To: Lance <rancid at gheek.net>
> > Cc: rancid-discuss at shrubbery.net
> >
> > On 8/14/07, Lance <rancid at gheek.net> wrote:
> > > Yousef,
> > >
> > > **NOTE**
> > > In this email when I am talking about the application as a WHOLE is say
> > > "RANCID". When I talk about files I will say something like "rancid"
> > > "clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
> > > what I am talking about.
> > >
> > > If you have the default you will have the follow as your install
> > > location for the bin files of RANCID.
> > >
> > > /usr/local/rancid/bin/
> > >
> > > the file "rancid" in this directory is where you would make the changes.
> > > The "rancid" file is a perl script that makes a system call to an expect
> > > script "clogin". Open up the "rancid" file and do a search for "Main".
> > > You will find below that there is a list of commands. If you are unsure
> > > of what I am talking about send me your "rancid" file. This is a
> > > specific script file that is one of many scripts that come with RANCID.
> > >
> >
> > Dear Lance and group members,
> >
> > Once I comment/remove the line
> > 'dir /all nvram:'       => "DirSlotN",
> > rancid can't connect to ANY of my devices, it sends me this E-mail
> >
> > The following routers have not been successfully contacted for
> > more than 4 hours.
> > -rw-r-----  1 rancid  netteam  28495 Aug 18 09:00 192.168.10.6
> >
> > I have attached the rancid file I have, can someone tell me what is
> > the correct line to comment?
> >
> > Thanks in advance for your great help...
> >
> >
> >
> > >
> > > > -------- Original Message --------
> > > > Subject: Re: [rancid] Recurring Diffs
> > > > From: "Yousef Raffah" <yraffah at gmail.com>
> > > > Date: Tue, August 14, 2007 6:02 am
> > > > To: Lance <rancid at gheek.net>
> > > > Cc: rancid-discuss at shrubbery.net
> > > >
> > > > I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
> > > >
> > > > I couldn't figure out what to comment in that file, can you please
> > > > help me with that?
> > > >
> > > > Thanks in advance.
> > > >
> > > > On 8/13/07, Lance <rancid at gheek.net> wrote:
> > > > > Yousef,
> > > > >
> > > > > edit your bin/rancid file. You will want to search for Main. There
> > > > > should only be one thing that matches that. Comment out the command you
> > > > > don't want to run.
> > > > >
> > > > > If that doesn't help you send me your rancid file I will comment it for
> > > > > you.
> > > > >
> > > > > -lance
> > > > >
> > > > > > -------- Original Message --------
> > > > > > Subject: Re: [rancid] Recurring Diffs
> > > > > > From: "Yousef Raffah" <yraffah at gmail.com>
> > > > > > Date: Sun, August 12, 2007 3:55 pm
> > > > > > To: Lance <rancid at gheek.net>
> > > > > > Cc: rancid-discuss at shrubbery.net
> > > > > >
> > > > > > On 8/12/07, Lance <rancid at gheek.net> wrote:
> > > > > > > Yousef,
> > > > > > >
> > > > > > > Just my guess but probably due to some changes that the system is
> > > > > > > tracking. I personally ignore the collection of this output. I just
> > > > > > > comment out the command.
> > > > > > >
> > > > > > I'm sorry but which command to commend and where to comment it?
> > > > > > Thanks in advance...
> > > > > >
> > > > > > > -Lance
> > > > > > > > -------- Original Message --------
> > > > > > > > Subject: [rancid]  Recurring Diffs
> > > > > > > > From: "Yousef Raffah" <yraffah at gmail.com>
> > > > > > > > Date: Sat, August 11, 2007 11:44 pm
> > > > > > > > To: rancid-discuss at shrubbery.net
> > > > > > > >
> > > > > > > > Hello..
> > > > > > > >
> > > > > > > > I'm a new RANCID user who got really impressed by the project. Thanks
> > > > > > > > a lot for creating such great tools.
> > > > > > > >
> > > > > > > > One little thing is bugging me though, one of my routers (6500) is
> > > > > > > > giving me recurring diffs almost every hour. This is what it shows:
> > > > > > > >
> > > > > > > > @@ -28,10 +28,10 @@
> > > > > > > >   !BootFlash: Configuration register is 0x2102
> > > > > > > >   !
> > > > > > > >   !Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
> > > > > > > >   !Flash: Directory of flash:/
> > > > > > > > - !Flash:     2  -rwx          36   Aug 11 2007 22:26:27  nv_hdr
> > > > > > > >   !Flash:     3  -rwx        5804   Aug 08 2007 13:07:31  config.text
> > > > > > > > + !Flash:     4  -rwx          36   Aug 11 2007 23:26:27  nv_hdr
> > > > > > > >   !Flash: 1792000 bytes total (1784320 bytes free)
> > > > > > > >   !
> > > > > > > >   !Flash: nvram: Directory of nvram:/
> > > > > > > >   !Flash: nvram:   513  -rw-        5804              <no date>  startup-config
> > > > > > > >
> > > > > > > > Why does nv_hdr change every hour? Any idea?
> > > > > > > > I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
> > > > > > > >
> > > > > > > > Thanks in advance for any help
> > > > > > > >
> > > > > > > > --
> > > > > > > >  -------------------
> > > > > > > > |Yousef Raffah|
> > > > > > > >  --------------------------------
> > > > > > > >  http://yousef.raffah.com |
> > > > > > > >  --------------------------------
> > > > > > > > _______________________________________________
> > > > > > > > Rancid-discuss mailing list
> > > > > > > > Rancid-discuss at shrubbery.net
> > > > > > > > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >  -------------------
> > > > > > |Yousef Raffah|
> > > > > >  --------------------------------
> > > > > >  http://yousef.raffah.com |
> > > > > >  --------------------------------
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >  -------------------
> > > > |Yousef Raffah|
> > > >  --------------------------------
> > > >  http://yousef.raffah.com |
> > > >  --------------------------------
> > >
> > >
> >
> >
> > --
> >  -------------------
> > |Yousef Raffah|
> >  --------------------------------
> >  http://yousef.raffah.com |
> >  --------------------------------
>
>


-- 
 -------------------
|Yousef Raffah|
 --------------------------------
 http://yousef.raffah.com |
 --------------------------------


More information about the Rancid-discuss mailing list