[rancid] rancid-run returning no output

Ryan Milton ryanmilton74 at gmail.com
Tue Feb 17 21:18:43 UTC 2015


I think that may be what the issue was.


Ryan Douglass Milton


On Mon, Feb 16, 2015 at 8:27 PM, Daniel Tuecks <dtuecks at googlemail.com>
wrote:

> Hey Ryan,
>
> if jlogin is working check your router.db just to make sure your device is
> in there and you are using the correct syntax (delimiter in router.db
> changed from ":" to ";" in rancid 3.0+).
>
> Daniel
> Am 16.02.2015 23:06 schrieb "Ryan Milton" <ryanmilton74 at gmail.com>:
>
>> I deleted the directories, re-ran /usr/local/rancid/bin/rancid-cvs
>>
>> This successfully created the directories again.
>>
>> I know that the jrancid or jerancid is run from /usr/local/rancid/bin/
>>
>> after recreating the directories that end up:
>>
>> /usr/local/rancid/var/networking/ (from rancid-cvs)
>>
>> I test with  bin/jlogin 10.50.1.2
>>
>> works
>>
>> I test with bin/rancid-run 10.50.1.2
>>
>> I get noting in the log but a start and an end time. In the past,
>> rancid-run takes some time. This time it just flashes.
>>
>> I'm feeling stumped on this...
>>
>>
>>
>> Ryan Douglass Milton
>>
>>
>> On Sat, Feb 14, 2015 at 2:35 PM, Alan McKinnon <alan.mckinnon at gmail.com>
>> wrote:
>>
>>> On 14/02/2015 19:44, Ryan Milton wrote:
>>> > That is what I thought would debug, however, this is the output I get:
>>> >
>>> > rancid at FP-RANCID:~$ rancid -d 10.50.1.1
>>> > loadtype(): device_type is empty
>>> > Couldn't load device type spec for
>>> > rancid at FP-RANCID:~$*jrancid -d 10.50.1.1*
>>> > jrancid: command not found
>>> > rancid at FP-RANCID:~$*/usr/local/rancid/bin/jrancid -d 10.50.1.1*
>>> > -bash: /usr/local/rancid/bin/jrancid: No such file or directory
>>> > rancid at FP-RANCID:~$ cd /usr/local/rancid/bin
>>> > rancid at FP-RANCID:/usr/local/rancid/bin$ jrancid -d 10.50.1.2
>>> > jrancid: command not found
>>> > rancid at FP-RANCID:/usr/local/rancid/bin$ jrancid -d 10.50.1.1
>>>
>>>
>>>
>>> Those are Unix errors, you are not giving the correct path to the
>>> jrancid executable. You need to find it and provide that directory path
>>>
>>>
>>>
>>>
>>>
>>>
>>> >
>>> >
>>> >
>>> > Ryan Douglass Milton
>>> >
>>> >
>>> > On Sat, Feb 14, 2015 at 3:23 AM, Alan McKinnon <
>>> alan.mckinnon at gmail.com
>>> > <mailto:alan.mckinnon at gmail.com>> wrote:
>>> >
>>> >     On 14/02/2015 02:32, Ryan Milton wrote:
>>> >     > Hi all,
>>> >     >
>>> >     > I'm getting slowly closer to my goal...
>>> >     >
>>> >     > Rancid IS running...however, it seems that it may NOT be
>>> capturing
>>> >     any configs.
>>> >     > My original problem had been that I couldn't get the rancid-cvs
>>> to
>>> >     function. That did work.
>>> >     > running rancid v 3.1
>>> >     > now, when I run the command:
>>> >     >
>>> >     > /usr/local/rancid/bin/rancid-run   or
>>> >     > /usr/local/rancid/bin/rancid-run -r 10.50.1.1
>>> >     >
>>> >     > I get the following empty message :
>>> >     >
>>> >     > starting: Fri Feb 13 19:16:47 EST 2015
>>> >     >
>>> >     >
>>> >     >
>>> >     > ending: Fri Feb 13 19:16:47 EST 2015
>>> >     > ~
>>> >     > This  works:
>>> >     > rancid at FP-RANCID:/usr/local/rancid/var/logs$ jlogin 10.50.1.3
>>> >     > 10.50.1.3
>>> >     > spawn ssh -c 3des -x -l rancid 10.50.1.3
>>> >     > rancid at 10.50.1.3 <mailto:rancid at 10.50.1.3>'s password:
>>> >     > --- JUNOS 12.3R8.7 built 2014-09-19 15:47:21 UTC
>>> >     > {master:0}
>>> >     > rancid at Distribution_North>
>>> >
>>> >
>>> >     rancid -d <hostname>
>>> >
>>> >     will give debug output so you can see what's going on.
>>> >
>>> >     Looks like you have Junipers, so use
>>> >
>>> >     jrancid for those instead. In either event, it's usually quite
>>> obvious
>>> >     where the problem lies once you get proper debug output
>>> >
>>> >
>>> >
>>> >     --
>>> >     Alan McKinnon
>>> >     alan.mckinnon at gmail.com <mailto:alan.mckinnon at gmail.com>
>>> >
>>> >     _______________________________________________
>>> >     Rancid-discuss mailing list
>>> >     Rancid-discuss at shrubbery.net <mailto:Rancid-discuss at shrubbery.net>
>>> >     http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>> >
>>> >
>>>
>>>
>>> --
>>> Alan McKinnon
>>> alan.mckinnon at gmail.com
>>>
>>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>
> _______________________________________________
> Rancid-discuss mailing list
> 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/20150217/c280599f/attachment.html>


More information about the Rancid-discuss mailing list