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

electro electro93 at gmail.com
Thu Sep 8 19:50:02 UTC 2016


David,

Thanks for the response.  Please see the results of the requested
information:

cat /etc/rancid/rancid.conf |grep BASEDIR

# Under BASEDIR (i.e.: --localstatedir), there will be a "logs" directory
for

# Use a full path (no sym-links) for BASEDIR.

BASEDIR=/var/lib/rancid; export BASEDIR

# - an (absolute) path (a subdirectory of BASEDIR by default).  BASEDIR/CVS,

#   BASEDIR/.svn, or BASEDIR/.git, but it does not matter.

CVSROOT=$BASEDIR/CVS; export CVSROOT

LOGDIR=$BASEDIR/logs; export LOGDIR


# grep -e cvs /var/lib/rancid/Cisco/router.db

#


There is no value in there, however, there's an entry in
/var/lib/rancid/Cisco/routers.all   and routers.up


Very strange and I cant see to find out why.


Thanks,


Mike

On Wed, Sep 7, 2016 at 5:38 PM, David Jones <djones at ena.com> wrote:

> From that output, it looks like you have an entry in
> $BASEDIR/Cisco/router.db 'cvs;cisco;up' that you need to remove.  Check
> the BASEDIR variable to make sure you are looking in the right place for
> the router.db file.
>
> ------------------------------
> *From:* electro <electro93 at gmail.com>
> *Sent:* Wednesday, September 7, 2016 5:14 PM
> *To:* David Jones
> *Cc:* Charles T. Brooks; rancid-discuss at shrubbery.net
>
> *Subject:* Re: [rancid] Device CVS hasn't been contacted in over 24 hours
>
> David,
>
> Thanks for the response:
>
> cat /etc/rancid/rancid.conf |grep GROUP
>
> LIST_OF_GROUPS="Cisco"; export LIST_OF_GROUPS
>
>
> grep -e cvs /var/lib/rancid/logs/*:
>
>
> Cisco.20160830.161409:cvs: missed cmd(s): all commands
>
> Cisco.20160830.161409:cvs: End of run not found
>
> Cisco.20160830.161409:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.161409:cvs: missed cmd(s): all commands
>
> Cisco.20160830.161409:cvs: End of run not found
>
> Cisco.20160830.161409:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.161409:cvs: missed cmd(s): all commands
>
> Cisco.20160830.161409:cvs: End of run not found
>
> Cisco.20160830.161409:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.161409:cvs: missed cmd(s): all commands
>
> Cisco.20160830.161409:cvs: End of run not found
>
> Cisco.20160830.161409:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.161409:cvs: missed cmd(s): all commands
>
> Cisco.20160830.161409:cvs: End of run not found
>
> Cisco.20160830.161409:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.161409:cvs diff: Diffing .
>
> Cisco.20160830.161409:cvs diff: Diffing configs
>
> Cisco.20160830.161409:cvs commit: Examining .
>
> Cisco.20160830.161409:cvs commit: Examining configs
>
> Cisco.20160830.180101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.180101:cvs: End of run not found
>
> Cisco.20160830.180101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.180101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.180101:cvs: End of run not found
>
> Cisco.20160830.180101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.180101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.180101:cvs: End of run not found
>
> Cisco.20160830.180101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.180101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.180101:cvs: End of run not found
>
> Cisco.20160830.180101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.180101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.180101:cvs: End of run not found
>
> Cisco.20160830.180101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.180101:cvs diff: Diffing .
>
> Cisco.20160830.180101:cvs diff: Diffing configs
>
> Cisco.20160830.180101:cvs commit: Examining .
>
> Cisco.20160830.180101:cvs commit: Examining configs
>
> Cisco.20160830.190101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.190101:cvs: End of run not found
>
> Cisco.20160830.190101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.190101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.190101:cvs: End of run not found
>
> Cisco.20160830.190101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.190101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.190101:cvs: End of run not found
>
> Cisco.20160830.190101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.190101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.190101:cvs: End of run not found
>
> Cisco.20160830.190101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.190101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.190101:cvs: End of run not found
>
> Cisco.20160830.190101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.190101:cvs diff: Diffing .
>
> Cisco.20160830.190101:cvs diff: Diffing configs
>
> Cisco.20160830.190101:cvs commit: Examining .
>
> Cisco.20160830.190101:cvs commit: Examining configs
>
> Cisco.20160830.200101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.200101:cvs: End of run not found
>
> Cisco.20160830.200101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.200101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.200101:cvs: End of run not found
>
> Cisco.20160830.200101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.200101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.200101:cvs: End of run not found
>
> Cisco.20160830.200101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.200101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.200101:cvs: End of run not found
>
> Cisco.20160830.200101:cvs clogin error: Error: Couldn't login: cvs
>
> Cisco.20160830.200101:cvs: missed cmd(s): all commands
>
> Cisco.20160830.200101:cvs: End of run not found
>
> On Wed, Sep 7, 2016 at 1:46 PM, David Jones <djones at ena.com> wrote:
>
>> 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> 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] on behalf
>>> of electro [electro93 at gmail.com]
>>> *Sent:* Wednesday, September 07, 2016 10:46 AM
>>> *To:* heasley
>>> *Cc:* 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> 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> 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
>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160908/9d37e1ec/attachment.html>


More information about the Rancid-discuss mailing list