Discussion:
[rancid] rancid -t cisco host works but rancid host does not.
Andrei Sabau
2014-04-07 16:09:35 UTC
Permalink
Hello. I've recently installed Rancid on a Centos 6. I have worked with it
before a bit but never encountered this issue.

I have hosts assigned in the hosts file. I have the host added in
<group>/router.db
The clogin command works. The clogin -c command works.

The log from run-rancid shows almost empty. I tried running the comands
separately but 'rancid host' gives me a:

loadtype(): device_type is empty
Couldn't load device type spec for

but 'rancid -t cisco host' works. I'm thinking this has to do with rancid
and the group's router.db.

my group is in rancid.conf (LIST_OF_GROUPS="networking") but is the
networking/router.db even read?


Any ideas are helpful, thanks.
Gavin Jones
2014-05-05 06:22:53 UTC
Permalink
Post by Andrei Sabau
Hello. I've recently installed Rancid on a Centos 6. I have worked with it
before a bit but never encountered this issue.
Post by Andrei Sabau
I have hosts assigned in the hosts file. I have the host added in
<group>/router.db
Post by Andrei Sabau
The clogin command works. The clogin -c command works.
The log from run-rancid shows almost empty. I tried running the comands
separately but 'rancid host' gives me a:loadtype(): device_type is empty
Post by Andrei Sabau
Couldn't load device type spec for
but 'rancid -t cisco host' works. I'm thinking this has to do with rancid
and the group's router.db.
Post by Andrei Sabau
my group is in rancid.conf (LIST_OF_GROUPS="networking") but is the
networking/router.db even read?
Post by Andrei Sabau
Any ideas are helpful, thanks.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
I too am having this exact problem, surely there is a fix??

Thanks
Alan McKinnon
2014-05-06 23:37:58 UTC
Permalink
Post by Andrei Sabau
Post by Andrei Sabau
Hello. I've recently installed Rancid on a Centos 6. I have worked with it
before a bit but never encountered this issue.
Post by Andrei Sabau
I have hosts assigned in the hosts file. I have the host added in
<group>/router.db
Post by Andrei Sabau
The clogin command works. The clogin -c command works.
The log from run-rancid shows almost empty. I tried running the comands
separately but 'rancid host' gives me a:loadtype(): device_type is empty
Post by Andrei Sabau
Couldn't load device type spec for
but 'rancid -t cisco host' works. I'm thinking this has to do with rancid
and the group's router.db.
Post by Andrei Sabau
my group is in rancid.conf (LIST_OF_GROUPS="networking") but is the
networking/router.db even read?
Post by Andrei Sabau
Any ideas are helpful, thanks.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
I too am having this exact problem, surely there is a fix??
Thanks
Two things stand out to be checked in router.db:

1. If you are using rancid 2.x the device type is "cisco" and the field
separator is a colon ":"
2. If you are using rancid 3.x the device type is "cisco" and the field
separator is a semi-colon ";"
--
Alan McKinnon
***@gmail.com
Loading...