alq16
2015-05-10 02:19:54 UTC
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-***@shrubbery.net
åéæ¶éŽïŒ2015-05-09 04:00
äž»é¢ïŒRancid-discuss Digest, Vol 55, Issue 6
æ¶ä»¶äººïŒ"rancid-discuss"<rancid-***@shrubbery.net>
æéïŒ
Send Rancid-discuss mailing list submissions to
rancid-***@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-***@shrubbery.net
You can reach the person managing the list at
rancid-discuss-***@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 <***@shrubbery.net>
To: Alex DEKKER <***@ale.cx>
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] blank log files on initial install
Message-ID: <***@shrubbery.net>
Content-Type: text/plain; charset=us-ascii
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
+@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" <***@unifiedbrands.net>
To: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
Subject: [rancid] No mail flow
Message-ID:
<***@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" <***@unifiedbrands.net>
To: Scott Granados <***@gmail.com>
Cc: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
Subject: Re: [rancid] blank config files
Message-ID:
<***@SN1PR0401MB1789.namprd04.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Awesome.. did the trick. Thanks Scott.
From: Scott Granados [mailto:***@gmail.com]
Sent: Thursday, May 7, 2015 1:11 PM
To: Hart, Benjamin
Cc: rancid-***@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 <***@unifiedbrands.net<mailto:***@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-***@shrubbery.net<mailto:Rancid-***@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-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
------------------------------
End of Rancid-discuss Digest, Vol 55, Issue 6
*********************************************
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-***@shrubbery.net
åéæ¶éŽïŒ2015-05-09 04:00
äž»é¢ïŒRancid-discuss Digest, Vol 55, Issue 6
æ¶ä»¶äººïŒ"rancid-discuss"<rancid-***@shrubbery.net>
æéïŒ
Send Rancid-discuss mailing list submissions to
rancid-***@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-***@shrubbery.net
You can reach the person managing the list at
rancid-discuss-***@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 <***@shrubbery.net>
To: Alex DEKKER <***@ale.cx>
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] blank log files on initial install
Message-ID: <***@shrubbery.net>
Content-Type: text/plain; charset=us-ascii
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'dworked great.
Thank you. Your help was very much appreciated.
added a little check/warning to rancid to cover this :-)
alexd
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
+@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" <***@unifiedbrands.net>
To: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
Subject: [rancid] No mail flow
Message-ID:
<***@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" <***@unifiedbrands.net>
To: Scott Granados <***@gmail.com>
Cc: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
Subject: Re: [rancid] blank config files
Message-ID:
<***@SN1PR0401MB1789.namprd04.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Awesome.. did the trick. Thanks Scott.
From: Scott Granados [mailto:***@gmail.com]
Sent: Thursday, May 7, 2015 1:11 PM
To: Hart, Benjamin
Cc: rancid-***@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 <***@unifiedbrands.net<mailto:***@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-***@shrubbery.net<mailto:Rancid-***@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-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
------------------------------
End of Rancid-discuss Digest, Vol 55, Issue 6
*********************************************