[rancid] Re: Historical logs

Steve Ousley steve at host-it.co.uk
Thu Mar 13 15:20:38 UTC 2008


I can see what you mean.  It does make it *VERY* easy to analyse the changes
made on there.

 

From: Skinner, Michael [mailto:Michael.Skinner at virginmedia.co.uk] 
Sent: 13 March 2008 15:06
To: Steve Ousley
Subject: RE: [rancid] Re: Historical logs

 

No worries, glad you got it working, cvs web is cool, its almost not worth
having rancid without it (ok, maybe I'm exaggerating just a bit).

 

  _____  

From: Steve Ousley [mailto:steve at host-it.co.uk] 
Sent: 13 March 2008 14:57
To: Skinner, Michael
Subject: RE: [rancid] Re: Historical logs

Many thanks Mike.

 

I went through the rancid-cvs file manually and everything seemed to work,
and it seemed to be adding to the CVS repo correctly, so tried to get dvsweb
working, but failed, so decided to reinstall from scratch.

 

Did all of this, and the CVS then seemed to be working ok J however cvsweb
still wasn't working, I then realised the *HUGE* error in my ways... had I
configured cvsweb to read from RANCID's CVSROOT? Nope!! Duh! Did that, and
all ok, and I can see the diff's in cvsweb now :D

 

Thanks for your help.

 

Steve

 

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Skinner, Michael
Sent: 13 March 2008 13:57
To: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Historical logs

 

I recommend you take a look at
<http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Netwo
rk_Backups_With_Rancid>
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Networ
k_Backups_With_Rancid

 

It doesn't look like you have done the cvs checkout yet, so rancid is not
fully configured.  Take a look at step 5 in the "Initial Rancid
Configuration" section.  You might want to run through the other areas in
this doc in case you have missed anything else.

 

Mike

 

 

 

  _____  

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Steve Ousley
Sent: 13 March 2008 13:45
To: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Historical logs

As a further not to this, I notice this in the logs: 

 

starting: Thu Mar 13 13:44:21 GMT 2008

 

cvs status: cannot open CVS/Entries for reading: No such file or directory

cvs status: use `cvs add' to create an entry for `xxx.xxx.xxx.xxx'

cvs add: in directory `.':

cvs [add aborted]: there is no version here; do `cvs checkout' first

CVS added missing router xxx.xxx.xxx.xxx

 

 

Trying to get all of the configs.

All routers sucessfully completed.

 

cvs diff: in directory .:

cvs [diff aborted]: there is no version here; run 'cvs checkout' first

cvs commit: in directory .:

cvs [commit aborted]: there is no version here; run 'cvs checkout' first

 

ending: Thu Mar 13 13:44:32 GMT 2008

 

 

I guess this will be why it cannot put the stuff in CVS, however I cannot
work out where the CVS/Entries file needs to go, I have tried putting it in
the same folder as "CVSROOT", to no avail.

 

Any help much appreciated.

 

Steve

 

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Steve Ousley
Sent: 13 March 2008 12:32
To: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Historical logs

 

Hi, this is great.  I have installed this on my machine, but when I go to
http://server/cgi-bin/cvsweb/ I just see the folder CVSROOT/ and in there I
do not see any of the files that have been downloaded.  Is there a setting
somewhere that I need to enable to ensure that this goes into CVS?

 

Steve

 

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Skinner, Michael
Sent: 13 March 2008 11:31
To: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Historical logs

 

You can generate any given previous configuration from the CVS repository.
Rather than doing this via command line you may wish to install the
excellent CVSweb on your rancid box:
http://www.freebsd.org/projects/cvsweb.html  This will allow you to browse
through config changes over time, produce graphical diff's, and download old
configs.

 

It really does bring rancid to life!

 

Mike

 

  _____  

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Steve Ousley
Sent: 13 March 2008 10:20
To: rancid-discuss at shrubbery.net
Subject: [rancid] Historical logs

Hi

 

I have just installed RANCID on my machine, and have it collecting data from
one firewall.  What I would like is some kind of differential on this
however as it seems to simply overwrite the old configuration with the new
one.

 

I have read the documentation that I can find, and cannot see anything about
keeping old versions of the log files.  The reason for wanting this is that
the firewall config often gets changed and there is the possible requirement
that we will need to roll back the config a few days.

 

Many thanks for any help anyone can provide.

 

Steve Ousley

----------------------------------------------------------------------------
--
Save Paper - Do you really need to print this e-mail?
 
Visit www.virginmedia.com for more information, and more fun.
 
This email and any attachments are or may be confidential and legally
privileged and are sent solely for the attention of the addressee(s). If you
have received this email in error, please delete it from your system: its
use, disclosure or copying is unauthorised. Statements and opinions
expressed in this email may not represent those of Virgin Media. Any
representations or commitments in this email are subject to contract. Please
note that we are migrating our email addresses to a company wide address of
"@virginmedia.co.uk". If you are sending to a Telewest or ntl email address
your email will be re-directed. 
 
Registered office: 160 Great Portland Street, London W1W 5QA. Registered in
England and Wales with number 2591237
 
 
============================================================================
==
----------------------------------------------------------------------------
--
 
Save Paper - Do you really need to print this e-mail?
 
Visit www.virginmedia.com for more information, and more fun.
 
This email and any attachments are or may be confidential and legally
privileged and are sent solely for the attention of the addressee(s). If you
have received this email in error, please delete it from your system: its
use, disclosure or copying is unauthorised. Statements and opinions
expressed in this email may not represent those of Virgin Media. Any
representations or commitments in this email are subject to contract. Please
note that we are migrating our email addresses to a company wide address of
"@virginmedia.co.uk". If you are sending to a Telewest or ntl email address
your email will be re-directed. 
 
Registered office: 160 Great Portland Street, London W1W 5QA. Registered in
England and Wales with number 2591237
 
 
============================================================================
==
----------------------------------------------------------------------------
--
 
Save Paper - Do you really need to print this e-mail?
 
Visit www.virginmedia.com for more information, and more fun.
 
This email and any attachments are or may be confidential and legally
privileged and are sent solely for the attention of the addressee(s). If you
have received this email in error, please delete it from your system: its
use, disclosure or copying is unauthorised. Statements and opinions
expressed in this email may not represent those of Virgin Media. Any
representations or commitments in this email are subject to contract. Please
note that we are migrating our email addresses to a company wide address of
"@virginmedia.co.uk". If you are sending to a Telewest or ntl email address
your email will be re-directed. 
 
Registered office: 160 Great Portland Street, London W1W 5QA. Registered in
England and Wales with number 2591237
 
 
============================================================================
==
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080313/1dbd4281/attachment.html 


More information about the Rancid-discuss mailing list