Discussion:
[rancid] Centos 6 rancid problem
Cédric B
2016-01-25 10:14:29 UTC
Permalink
Hello,
I'm trying to make rancid mark for about 3 days, and I don't know why it
doesn't...

clogin works well.

I've found this thread :
http://www.shrubbery.net/pipermail/rancid-discuss/2008-April/003004.html
telling that it could be a diff problem : changes nothing.

In logfile, I just get a start date and an end date, nothing between the
two.

The only way I made it work is by running :
PATH=$PATH:/usr/local/rancid/bin bin/rancid -t cisco <router>

PATH=$PATH:/usr/local/rancid/bin bin/rancid-run always set the router as
down (in routers.down) and does not get the router's config

I'm using rancid 3.1 (with SVN backend) because of the perl problem
affecting rancid 3.2 on centos 6

Does anybody have met this problem ?

Regards,
Cédric
Kenneth Lind
2016-01-26 00:07:25 UTC
Permalink
Check your delimiters in router.db.

RANCID 3.x uses ; (semicolon) instead of : (colon).

Example:
hostname;cisco;up


-----Original Message-----
From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Cédric B
Sent: Monday, January 25, 2016 5:14 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Centos 6 rancid problem

Hello,
I'm trying to make rancid mark for about 3 days, and I don't know why it doesn't...

clogin works well.

I've found this thread :
http://www.shrubbery.net/pipermail/rancid-discuss/2008-April/003004.html
telling that it could be a diff problem : changes nothing.

In logfile, I just get a start date and an end date, nothing between the two.

The only way I made it work is by running :
PATH=$PATH:/usr/local/rancid/bin bin/rancid -t cisco <router>

PATH=$PATH:/usr/local/rancid/bin bin/rancid-run always set the router as down (in routers.down) and does not get the router's config

I'm using rancid 3.1 (with SVN backend) because of the perl problem affecting rancid 3.2 on centos 6

Does anybody have met this problem ?

Regards,
Cédric
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Cédric B
2016-01-26 08:26:33 UTC
Permalink
That was the problem...
Thanks.
Regards,
Cédric
Post by Kenneth Lind
Check your delimiters in router.db.
RANCID 3.x uses ; (semicolon) instead of : (colon).
hostname;cisco;up
-----Original Message-----
Sent: Monday, January 25, 2016 5:14 AM
Subject: [rancid] Centos 6 rancid problem
Hello,
I'm trying to make rancid mark for about 3 days, and I don't know why it doesn't...
clogin works well.
http://www.shrubbery.net/pipermail/rancid-discuss/2008-April/003004.html
telling that it could be a diff problem : changes nothing.
In logfile, I just get a start date and an end date, nothing between the two.
PATH=$PATH:/usr/local/rancid/bin bin/rancid -t cisco <router>
PATH=$PATH:/usr/local/rancid/bin bin/rancid-run always set the router as down (in routers.down) and does not get the router's config
I'm using rancid 3.1 (with SVN backend) because of the perl problem affecting rancid 3.2 on centos 6
Does anybody have met this problem ?
Regards,
Cédric
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...