[rancid] So close yet....

Charles Gagnon charlesg at unixrealm.com
Sat Apr 12 14:38:13 UTC 2014


Thanks to all for the help. I'm new to Rancid and I missed the change from
":" to ";" so I was still using a pre-3.0 DB format.
Thanks again for the help. Looking forward to setting up more devices.


On Sat, Apr 12, 2014 at 10:16 AM, Lee <ler762 at gmail.com> wrote:

> > rancid-run returns no errors. Returns in a few seconds with no output.
> What
> > is the best way to troubleshoot this?
>
> Take a look at http://www.shrubbery.net/rancid/FAQ
> 3) General
> Q. I have a (set of) device(s) on which collection fails.  How can I debug
> this?
>
> What I'm not seeing in the FAQ is a note that if you've been using
> rancid 2.x the router.db separator character changed from : to ;
> 2.3.8 router.db:
> cisco-router.domain.com:cisco:up
>
> 3.0 router.db:
> cisco-router.domain.com;cisco;up
>
> Regards,
> Lee
>
>
> On 4/11/14, Charles Gagnon wrote:
> > So I just tried deploying rancid on a RHEL 6.2 box. I have:
> >
> > rancid 3.0
> > perl v5.10.1
> > expect version 5.44.1.15
> >
> > It seems close to working but whenever I run 'rancid-run', routers end-up
> > in the routers.down file. I am testing right now with a single entry in
> my
> > router.db.
> >
> > I tested w/ clogin myrouter (which works)
> > I can also do rancid -t cisco myroute (and it also saves a file)
> >
> > If I run "rancid myrouter" it failed with:
> > $ rancid myrouter
> > loadtype(): device_type is empty
> > Couldn't load device type spec for
> >
> > But this may be normal.
> >
> > rancid-run returns no errors. Returns in a few seconds with no output.
> What
> > is the best way to troubleshoot this?
> >
> > I check my .db file and it is NOT DOS format. How can I tell if I have a
> > problem with my file.
> >
> > Any good way to troubleshoot this?
> >
> > --
> > Charles Gagnon
> > charlesg at unixrealm.com
> >
>



-- 
Charles Gagnon
charlesg at unixrealm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140412/33f92ff7/attachment.html>


More information about the Rancid-discuss mailing list