Thank you so much, problem seems to be solved.<br>
My excolleague put some space chars after the "up".<br>(Probably a notepad->putty copy-paste problem.)<br><br><br><div class="gmail_quote">2009/10/6 john heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Tue, Oct 06, 2009 at 08:31:55PM +0200, Rozs Norbert:<br>
<div class="im">> Jose Madrid ?rta:<br>
>> That is most likely your problem. Routers.up gets filled with the<br>
>> devices that are marked as up in router.db. Please paste your<br>
>> router.db here and maybe we can help you find the problem. What does<br>
>> your routers.down say?<br>
> routers.down say all routers in router.db are down, so routers.down<br>
> filled up with entries from router.db without :up.<br>
> The router.db look like this:<br>
> --- cut ---<br>
> <something what is in /etc/hosts and reachable>:cisco:up<br>
> <something what is in /etc/hosts and reachable>:cisco:up<br>
> <something what is in /etc/hosts and reachable>:cisco:up<br>
> ...<br>
> 12..14 times<br>
> --- cut ---<br>
> I wrote that routers are reachable, clogin can login, commands can be<br>
> executed on the routers.<br>
<br>
</div>then you probably have trailing shit after "up". Insert a colon after "up".<br>
<div><div></div><div class="h5"><br>
>> On Tue, Oct 6, 2009 at 12:20 PM, Rozs Norbert <<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a><br>
>> <mailto:<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a>>> wrote:<br>
>><br>
>> john heasley ?rta:<br>
>> > Tue, Oct 06, 2009 at 10:27:15AM +0200, Norbert Rozs:<br>
>> ><br>
>> >> 2009/10/6 john heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a><br>
>> <mailto:<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>>><br>
>> >><br>
>> >><br>
>> >>> Tue, Oct 06, 2009 at 07:16:22AM +0200, Rozs Norbert:<br>
>> >>><br>
>> >>>> john heasley ?rta:<br>
>> >>>><br>
>> >>>>> Mon, Oct 05, 2009 at 06:01:41PM +0200, Rozs Norbert:<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>>> Yes, I executed rancid-cvs, it made the directory structure<br>
>> for all<br>
>> >>>>>> entries of LIST_OF_GROUPS, rancid-run<br>
>> >>>>>> make all the things for the cvs (the "source of the<br>
>> diff's") but no<br>
>> >>>>>> configs in the group/config directory.<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>> check the group's router.db file. it'l need at least 1<br>
>> device that is<br>
>> >>>>> marked 'up'. also see router.db(5).<br>
>> >>>>><br>
>> >>>>><br>
>> >>>> The router.db for the group has 12 entries, all in the format<br>
>> >>>> <name>:cisco:up<br>
>> >>>> and all the names are in the /etc/hosts. (I wrote before that<br>
>> clogin can<br>
>> >>>> login and<br>
>> >>>> can execute commands.)<br>
>> >>>><br>
>> >>> If rancid-cvs created stuff for the group, and there are<br>
>> devices in the<br>
>> >>> group, and the group is in LIST_OF_GROUPS, and cron is<br>
>> working, then at a<br>
>> >>> minimum the log file for the group look similar to:<br>
>> >>><br>
>> >>><br>
>> >>> Trying to get all of the configs.<br>
>> >>> All routers sucessfully completed.<br>
>> >>><br>
>> >>> cvs diff: Diffing .<br>
>> >>> cvs diff: Diffing configs<br>
>> >>> cvs commit: Examining .<br>
>> >>> cvs commit: Examining configs<br>
>> >>><br>
>> >>> ending: Sat Oct 3 15:10:59 UTC 2009<br>
>> >>><br>
>> >>><br>
>> >>> debug it. sh -x rancid-run or sh -x control_rancid groupname<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >> So, the logs are similar as this:<br>
>> >><br>
>> >> --- cut ---<br>
>> >> begin: Sat Oct 3 15:10:59 UTC 2009<br>
>> >><br>
>> >><br>
>> >><br>
>> >> ending: Sat Oct 3 15:10:59 UTC 2009<br>
>> >> --- cut ---<br>
>> >><br>
>> >> Nothing more, nothing less.<br>
>> >><br>
>> ><br>
>> > are group/routers.{all,up} populated?<br>
>> ><br>
>> ><br>
>> Sorry for my english, but what is it mean "populated"?<br>
>> If that mean group/routers.all and group/routers.up are created, my<br>
>> answer is yes,<br>
>> but the file routers.up is empty and routers.all is filled with lines<br>
>> from router.db<br>
>> without ':up' in the end of the entries.<br>
>> >> I will try the sh -x rancid-run or sh -x control_rancid<br>
>> groupname method to<br>
>> >> test/debug it.<br>
>> >><br>
>> >><br>
>> >><br>
>> >>>>>> Shane Kavanagh ?rta:<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>>> Hi<br>
>> >>>>>>><br>
>> >>>>>>> have you executed rancid-cvs<br>
>> (/usr/lib/rancid/bin/rancid-cvs) to<br>
>> >>>>>>> update the rancid and populate the cvs app<br>
>> >>>>>>><br>
>> >>>>>>> SK<br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> 2009/10/5 Norbert Rozs <<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a><br>
>> <mailto:<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a>> <mailto:<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a><br>
>> <mailto:<a href="mailto:crok.bic@gmail.com">crok.bic@gmail.com</a>><br>
>> >>>>>>><br>
>> >>>>>>> Hi Everyone<br>
>> >>>>>>><br>
>> >>>>>>> I have a strange problem with RANCID. Everything<br>
>> working fine with<br>
>> >>>>>>> it, I have about 14..16 groups<br>
>> >>>>>>> in my install and the problem is some of the groups<br>
>> working<br>
>> >>>>>>> (login, make commands, get output,<br>
>> >>>>>>> format the output and get cvs infos, make the config<br>
>> files in<br>
>> >>>>>>> right place) but some of the groups<br>
>> >>>>>>> not working (login, make commands, get output, format<br>
>> output but<br>
>> >>>>>>> no configs in the right dirs.).<br>
>> >>>>>>> So I tried all thing to troubleshoot: clogin works,<br>
>> all commands<br>
>> >>>>>>> can run on the devices, but it is<br>
>> >>>>>>> not working. Please give me some ideas what goes<br>
>> wrong, what could<br>
>> >>>>>>> be the problem. The logs<br>
>> >>>>>>> are empty, just a start statement and an end statement<br>
>> is in<br>
>> >>>>>>><br>
>> >>> there.<br>
>> >>><br>
>> >>>>>>> Thank you!<br>
>> >>>>>>><br>
>> >>>>>>> --<br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> Best regards:<br>
>> >>>>>>> -----------<br>
>> >>>>>>> Norbert Rozs<br>
>> >>>>>>><br>
>> >>>>>>> _______________________________________________<br>
>> >>>>>>> Rancid-discuss mailing list<br>
>> >>>>>>> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
>> <mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>><br>
>> <mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
>> <mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>><br>
>> >>>>>>><br>
>> >>>>>>><br>
>> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>> _______________________________________________<br>
>> >>>>>> Rancid-discuss mailing list<br>
>> >>>>>> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
>> <mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>><br>
>> >>>>>> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
>> >>>>>><br>
>> >>>>>><br>
>> >><br>
>> >> --<br>
>> >><br>
>> >><br>
>> >> Best regards:<br>
>> >> -----------<br>
>> >> Norbert Rozs<br>
>> >><br>
>><br>
>> _______________________________________________<br>
>> Rancid-discuss mailing list<br>
>> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a> <mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>><br>
>> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> It has to start somewhere, it has to start sometime. What better<br>
>> place than here? What better time than now?<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><br>Best regards:<br>-----------<br>Norbert Rozs<br>