[rancid] Rancid-discuss Digest, Vol 55, Issue 6

alq16 alq16 at 163.com
Sun May 10 02:19:54 UTC 2015


Hi All,

I found the same problem.

Previously I used ";" instead of ":" on router.db,and some config files were recovered.

But still,some configs could not be found ,either.

And,these are "Dell" & "F5" devices. 

Please help.

Thanks,
Kevin

2015-05-10



alq16



发件人:rancid-discuss-request at shrubbery.net
发送时间:2015-05-09 04:00
主题:Rancid-discuss Digest, Vol 55, Issue 6
收件人:"rancid-discuss"<rancid-discuss at shrubbery.net>
抄送:

Send Rancid-discuss mailing list submissions to 
    rancid-discuss at shrubbery.net 

To subscribe or unsubscribe via the World Wide Web, visit 
    http://www.shrubbery.net/mailman/listinfo/rancid-discuss 
or, via email, send a message with subject or body 'help' to 
    rancid-discuss-request at shrubbery.net 

You can reach the person managing the list at 
    rancid-discuss-owner at shrubbery.net 

When replying, please edit your Subject line so it is more specific 
than "Re: Contents of Rancid-discuss digest..." 


Today's Topics: 

   1. Re: blank log files on initial install (heasley) 
   2. No mail flow (Hart, Benjamin) 
   3. Re: blank config files (Hart, Benjamin) 


---------------------------------------------------------------------- 

Message: 1 
Date: Thu, 7 May 2015 20:45:02 +0000 
From: heasley <heas at shrubbery.net> 
To: Alex DEKKER <rancid at ale.cx> 
Cc: rancid-discuss at shrubbery.net 
Subject: Re: [rancid] blank log files on initial install 
Message-ID: <20150507204502.GA36025 at shrubbery.net> 
Content-Type: text/plain; charset=us-ascii 

Thu, May 07, 2015 at 08:41:40PM +0100, Alex DEKKER: 
> On 07/05/15 17:36, Scott Granados wrote: 
> > This was the exact problem.  I switched to using ; delimiters and it  
> > worked great. 
> > 
> > Thank you.  Your help was very much appreciated. 
> > 
> The number of times this comes up in here, I bet heasley wishes he'd  
> added a little check/warning to rancid to cover this :-) 
>  
> alexd 

perhaps this 

Index: bin/control_rancid.in 
=================================================================== 
--- bin/control_rancid.in    (revision 3088) 
+++ bin/control_rancid.in    (working copy) 
@@ -278,6 +278,9 @@ 
     exit 1; 
 fi 
  
+# reading test 
+ at PERLV@ -F\; -ane '{if ($F[0] !~ /^\s*#/ && $F[0] !~ /^\s*$/ && $#F < 2 && $F[0] =~ /:/) {print "WARNING: Have you forgotten to update the FS in router.db?\n"; exit;}}' router.db 
+ 
 # generate the list of all, up, & down routers 
 cd $DIR 
 trap 'rm -fr routers.db routers.all.new routers.down.new routers.up.new \ 


------------------------------ 

Message: 2 
Date: Thu, 7 May 2015 18:40:31 +0000 
From: "Hart, Benjamin" <bhart at unifiedbrands.net> 
To: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net> 
Subject: [rancid] No mail flow 
Message-ID: 
    <SN1PR0401MB178964B37450EB0FE212ABB1B2DF0 at SN1PR0401MB1789.namprd04.prod.outlook.com> 
     
Content-Type: text/plain; charset="us-ascii" 

Fresh install, Rancid is pulling configs now.  I've got the main.cf settings for the relayhost, and postfix is running.  However I get no mail after rancid-run is processed.  Postfix does work when telnet mailing.. since there's no postfix or mail related entries in the rancid logs where can I look for this? 

Thanks 
Ben 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150507/bc25000d/attachment-0001.html> 

------------------------------ 

Message: 3 
Date: Thu, 7 May 2015 17:38:54 +0000 
From: "Hart, Benjamin" <bhart at unifiedbrands.net> 
To: Scott Granados <scott.granados at gmail.com> 
Cc: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net> 
Subject: Re: [rancid] blank config files 
Message-ID: 
    <SN1PR0401MB1789AB5BE76F7BB33B065D30B2DF0 at SN1PR0401MB1789.namprd04.prod.outlook.com> 
     
Content-Type: text/plain; charset="us-ascii" 

Awesome.. did the trick.  Thanks Scott. 

From: Scott Granados [mailto:scott.granados at gmail.com] 
Sent: Thursday, May 7, 2015 1:11 PM 
To: Hart, Benjamin 
Cc: rancid-discuss at shrubbery.net 
Subject: Re: [rancid] blank config files 

This is the exact problem I had and Kenneth set me straight. 

in your routers.db file make sure you use a ; in stead of a : so for example 

bobsrouter.bobu.edu<http://bobsrouter.bobu.edu>;juniper;up 

the normal method previously was to use a : but that no longer does the trick.  You'llhave the exact symptoms that you're expressing. 

Thanks 

Scott 

On May 7, 2015, at 10:11 AM, Hart, Benjamin <bhart at unifiedbrands.net<mailto:bhart at unifiedbrands.net>> wrote: 


So I followed the setup here: http://ciscoskills.net/2015/01/03/install-rancid-and-viewvc-on-centos-7/ 
I get no errors, the log files are empty after each rancid-run.  However clogin x.x.x.x connected, enables and gives me an ssh prompt, responded to commands like sh run.  This is indeed on CentOS 7, rancid 3.2. 
Thanks 
_______________________________________________ 
Rancid-discuss mailing list 
Rancid-discuss at shrubbery.net<mailto:Rancid-discuss at shrubbery.net> 
http://www.shrubbery.net/mailman/listinfo/rancid-discuss 

-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150507/f65bd99a/attachment-0001.html> 

------------------------------ 

Subject: Digest Footer 

_______________________________________________ 
Rancid-discuss mailing list 
Rancid-discuss at shrubbery.net 
http://www.shrubbery.net/mailman/listinfo/rancid-discuss 

------------------------------ 

End of Rancid-discuss Digest, Vol 55, Issue 6 
********************************************* 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150510/6f17109e/attachment.html>


More information about the Rancid-discuss mailing list