Discussion:
[rancid] Initial Rancid configuration and first output
Rebecca Jones
2017-02-06 13:27:57 UTC
Permalink
Hi guys. I really hope someone can point me in the right direction.

I have setup Rancid as per guide
http://www.shrubbery.net/rancid/RhysEvans_overview_0.3.pdf and
http://www.itnotes.eu/?p=365 but I am having issues running it for the
first time.

I have added a Cisco switch to my config for checking and I can manually
connect to it by running "bin/clogin 192.168.1.1". I have ran
"bin/rancid-run" and I get the following in the log files:

starting: Mon 6 Feb 11:18:12 GMT 2017

WARNING: Have you forgotten to update the FS in router.db?


cvs commit: Examining .
cvs commit: Examining configs
Checking in router.db;
/usr/local/rancid/var/CVS/networking/router.db,v <-- router.db
new revision: 1.4; previous revision: 1.3
done

ending: Mon 6 Feb 11:18:14 GMT 2017
networking.20170206.111812 (END)

If I then browse to var/networking/configs/ I have to file/directory
specifically for my device, only the main CVS directory.

Can anyone advise where I may have gone wrong?

Thanks,
Becky
--
The information contained in this e-mail is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you are not the intended recipient of this e-mail,
the use of this information or any disclosure, copying or distribution is
strictly prohibited and may be unlawful. If you received this e-mail in
error, please contact the sender immediately and delete the material from
any computer.

The views expressed in this e-mail may not necessarily be the views of
Hayley Group Limited and should not be taken as authority to carry out any
instruction contained within.
Lee
2017-02-06 21:01:49 UTC
Permalink
Post by Rebecca Jones
Hi guys. I really hope someone can point me in the right direction.
I have setup Rancid as per guide
http://www.shrubbery.net/rancid/RhysEvans_overview_0.3.pdf and
http://www.itnotes.eu/?p=365 but I am having issues running it for the
first time.
I have added a Cisco switch to my config for checking and I can manually
connect to it by running "bin/clogin 192.168.1.1". I have ran
starting: Mon 6 Feb 11:18:12 GMT 2017
WARNING: Have you forgotten to update the FS in router.db?
router.db field separator is a semi-colon now -
http://www.itnotes.eu/?p=365 is for an older version of rancid that
used colons

man router.db
SYNTAX
One device is listed per-line, where the syntax is:
<device_name>;<device_type>;<state>[;comments]

Regards,
Lee
Lee
2017-02-09 15:28:40 UTC
Permalink
Hi Lee,
Thanks for the suggestion.
I have updated the : to a : and got a little bit further.
I can test that all of my devices are accesible by running bin/clogin
192.168.0.2 but when I run bin/rancid-run no configurations appear
in /usr/local/rancid/var/logs.
configs are in /usr/local/rancid/var/$GROUP/configs
where $GROUP comes from your LIST_OF_GROUPS=" ... " in rancid.conf
Running it manually does not produce any errors. I simply get the
starting: Thu 9 Feb 10:01:59 GMT 2017
cvs commit: Examining .
cvs commit: Examining configs
ending: Thu 9 Feb 10:01:59 GMT 2017
I feel I have missed something very important. Can you give me any ideas?
take another look at the 'Quick Installation Guide' steps in
/usr/local/rancid/share/rancid/README

did you do everything in there?

Regards,
Lee
Thanks,
Becky
Post by Lee
Post by Rebecca Jones
Hi guys. I really hope someone can point me in the right direction.
I have setup Rancid as per guide
http://www.shrubbery.net/rancid/RhysEvans_overview_0.3.pdf and
http://www.itnotes.eu/?p=365 but I am having issues running it for the
first time.
I have added a Cisco switch to my config for checking and I can manually
connect to it by running "bin/clogin 192.168.1.1". I have ran
starting: Mon 6 Feb 11:18:12 GMT 2017
WARNING: Have you forgotten to update the FS in router.db?
router.db field separator is a semi-colon now -
http://www.itnotes.eu/?p=365 is for an older version of rancid that
used colons
man router.db
SYNTAX
<device_name>;<device_type>;<state>[;comments]
Regards,
Lee
--
Rebecca Jones - Group IT Support
Hayley Group Limited (Site 4)
Shelah Road, Halesowen, West Midlands, B63 3PG, England
Company No: 1257303. VAT No: GB 287546119
[Tel] +44 (0)121 585 5334 | [Fax] +44 (0)121 585 7924
<http://intranet.hayley-group.local/helpdesk/>
--
The information contained in this e-mail is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you are not the intended recipient of this e-mail,
the use of this information or any disclosure, copying or distribution is
strictly prohibited and may be unlawful. If you received this e-mail in
error, please contact the sender immediately and delete the material from
any computer.
The views expressed in this e-mail may not necessarily be the views of
Hayley Group Limited and should not be taken as authority to carry out any
instruction contained within.
Loading...