[rancid] Device CVS hasn't been contacted in over 24 hours

David Jones djones at ena.com
Wed Sep 7 18:46:59 UTC 2016


Start with your LIST_OF_GROUPS in etc/rancid.conf.  Do you you only have one group called "Cisco"?

Then look through your BASEDIR for each GROUP's router.db.  The LOGDIR will have logs based on the GROUP.  Search (grep) those logs for "cvs" and see if you can tell where this "cvs" is coming from.


________________________________
From: Rancid-discuss <rancid-discuss-bounces at shrubbery.net> on behalf of electro <electro93 at gmail.com>
Sent: Wednesday, September 7, 2016 12:04 PM
To: Charles T. Brooks
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Device CVS hasn't been contacted in over 24 hours

Charles,

I am using CVS and also have ViewVC tied in, to allow my GUI-based admins to see color coded changes in the environment.  What I am not completely able to resolve is that rancid feels there is a device called "cvs", which there clearly isnt.  By performing a grep in the Group directory, I see the following:


rancid at rancid:~/Cisco$ grep -e cvs *

routers.all:cvs;cisco

routers.up:cvs;cisco

However, this device is not configured in routers.db.   When I've added cvs;cisco;down to the routers.db file, it will add that route, but will continue to inform me that the original "cvs" is unable to be contacted.  I was hoping that someone could provide me some insight into any possibilities.  I'm running rancid 3.5 and have stood up many environments and never once ran into this issue.  Thanks for all the assistance and please let me know if you have any additional ideas.


Thanks,

Mike


On Wed, Sep 7, 2016 at 10:06 AM, Charles T. Brooks <Charles.Brooks at hbcs.org<mailto:Charles.Brooks at hbcs.org>> wrote:
cvs is the name of a process that rancid runs in order to detect and archive changes in configuration files.

Originally, it was called this because the process ran the Concurrent Versioning System which you will find in Wikipedia under CVS (alternatively, google CVS).

Today, rancid's cvs process can use CVS, Subversion or Git.  You should be using Git, if you don't know what CVS is.

It looks like you are trying to use CVS but don't have it set up?  Hard for me to tell, I only use Git.  CVS is ancient.

--Charlie


________________________________
From: Rancid-discuss [rancid-discuss-bounces at shrubbery.net<mailto:rancid-discuss-bounces at shrubbery.net>] on behalf of electro [electro93 at gmail.com<mailto:electro93 at gmail.com>]
Sent: Wednesday, September 07, 2016 10:46 AM
To: heasley
Cc: rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>
Subject: Re: [rancid] Device CVS hasn't been contacted in over 24 hours

I've even tried adding the device in router.db as:

cvs;cisco;down

and it still complains about the original mysterious cvs.

On Wed, Sep 7, 2016 at 8:53 AM, heasley <heas at shrubbery.net<mailto:heas at shrubbery.net>> wrote:
Wed, Sep 07, 2016 at 08:43:40AM -0500, electro:
> The only errors in the log file pertain to the missed routers:
>
> cvs: missed cmd(s): all commands
>
> cvs: End of run not found
>
> cvs clogin error: Error: Couldn't login: cvs

so...what does that error tell you?  also see FAQ S3Q2

>
>
>
> On Wed, Sep 7, 2016 at 7:40 AM, heasley <heas at shrubbery.net<mailto:heas at shrubbery.net>> wrote:
>
> > Tue, Sep 06, 2016 at 03:37:17PM -0500, electro:
> > > All,
> > >
> > > I'm having a strange issue with a device called CVS not being contacted
> > in
> > > over 24 hours.
> > >
> > > The following routers have not been successfully contacted for
> > >
> > > more than 24 hours.
> > >
> > > -rw-r----- 1 rancid rancid 0 Sep  1 10:01 cvs
> > >
> > >
> > > Going to the server itself:
> > >
> > > rancid at rancid:~/Cisco$ grep -e cvs *
> > >
> > > routers.all:cvs;cisco
> > >
> > > routers.up:cvs;cisco
> > >
> > > How is this possible without a cvs;cisco;up in ~/Cisco/router.db?
> >
> > any errors in the group's log file?
> >


      ------------------  CONFIDENTIALITY NOTICE  ---------------

  This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain privileged confidential information
protected by law. Any unauthorized review, use, disclosure or distribution
of this message is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this message.

      ------------------  CONFIDENTIALITY NOTICE  ---------------

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net<mailto: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/20160907/650ac03d/attachment.html>


More information about the Rancid-discuss mailing list