[rancid] Rancid configuration - switches The following routers have not been successfully contacted for more than 24 hours.

Anwar Durrani durrani.anwar at gmail.com
Sat Sep 2 13:55:33 UTC 2023


Hi Heasley,

Thanks for your email, The configuration of my switches in rancid has begun
functioning as intended. The recent changes I implemented as per the
earlier email, have proven to be effective in resolving the issue.

On Fri, 1 Sept 2023 at 01:28, heasley <heas at shrubbery.net> wrote:

> Thu, Aug 31, 2023 at 02:52:43PM +0530, Anwar Durrani:
> > Hi Ugo,
> >
> > Earlier My config file  /etc/rancid/rancid.type.base looks like
>
> If you wish to alter a rancid device type, you should create your own name
> that does not conflict with one in rancid.types.base, and place it in
> rancid.types.conf.  rancid.types.base will be overwritten during the next
> upgrade.
>
> > >>>>>>>> properly but every 2 days, I am getting the following routers
> have not been
> > >>>>>>>> successfully contacted message, to resolve this issue I have to
> run the
> > >>>>>>>> following command
> > >>>>>>>>
> > >>>>>>>> cd /var/lib/rancid/
> > >>>>>>>>
> > >>>>>>>> rm -rf switches/
> > >>>>>>>>
> > >>>>>>>> /usr/lib/rancid/bin/rancid-cvs
> > >>>>>>>>
> > >>>>>>>> A    switches/.cvsignore
> > >>>>>>>>
> > >>>>>>>> A    switches/configs
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/.cvsignore
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/switch2.xxxx.com
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/switch7.xxxx.com
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/switch8.xxxx.xxxx.xxxx.com
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/switch9-xxxx.com
> > >>>>>>>>
> > >>>>>>>> A    switches/configs/switch5.xxxx.com
> > >>>>>>>>
> > >>>>>>>> A    switches/router.db
> > >>>>>>>>
> > >>>>>>>>  U   switches
> > >>>>>>>>
> > >>>>>>>> Checked out revision 50872.
> > >>>>>>>>
> > >>>>>>>> Updating '.':
> > >>>>>>>>
> > >>>>>>>> At revision 50872.
>
> That is very odd.  Needing to remove the group directory to restore
> collections implies that something is conflicting with the rancid
> processes.  Without seeing the contents of your log file, possibly
> two rancid-run processes running at the same time because the lock
> file has been removed or some other process is altering the group
> directory.
>
> you should share the entire contents of the group's log file.
>


-- 
Thanks & regards,
Anwar M. Durrani
+91-9923205011
<http://in.linkedin.com/pub/anwar-durrani/20/b55/60b>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20230902/0e46b57b/attachment.htm>


More information about the Rancid-discuss mailing list