[rancid] Permissions and files

Ryan Milton rmilton at mvsusa.com
Thu Sep 12 14:59:00 UTC 2013


I don't know where to go on this. I can't tell if my Rancid configuration is even working. I'm at the point of testing rancid-run manually to see what happens. I am getting a combination of "Permission Denied" errors on the .cloginrc file, "End of Run Not found" errors, and some others that I excerpted below. That said, I have an example of the file in /var/log/rancid from today and from Friday:

sudo -i su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid

gets me:

starting: Thu Sep 12 10:53:28 EDT 2013



ending: Thu Sep 12 10:53:28 EDT 2013

VS:

starting: Fri Sep 6 15:57:50 EDT 2013

/usr/lib/rancid/bin/control_rancid: 206: /usr/lib/rancid/bin/control_rancid: cannot create routers.db: Permission denied
comm: file 2 is not in sorted order
comm: file 2 is not in sorted order
comm: file 2 is not in sorted order
cvs add: scheduling file `94.229.11.1' for addition
cvs add: use `cvs commit' to add this file permanently
/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.1,v  <--  94.229.11.1
initial revision: 1.1
Added 94.229.11.1
cvs add: scheduling file `94.229.11.2' for addition
cvs add: use `cvs commit' to add this file permanently
/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.2,v  <--  94.229.11.2
initial revision: 1.1
Added 94.229.11.2
cvs add: scheduling file `94.229.11.3' for addition
cvs add: use `cvs commit' to add this file permanently
/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.3,v  <--  94.229.11.3
initial revision: 1.1
Added 94.229.11.3

***TRUNCATED***

94.229.11.2 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied
94.229.11.2: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps
94.229.11.2: End of run not found
94.229.11.3 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied
94.229.11.3: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps
94.229.11.3: End of run not found
94.229.11.1 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied

***TRUNCATED***

94.229.14.250: missed cmd(s): show stack,show module,show flash,show version,show system-information,write term,show system information
94.229.14.250: End of run not found
;
unknown router manufacturer for 94.229.11.218: junper
94.229.11.92 clogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied

***TRUNCATED***

94.229.11.210: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps
94.229.11.210: End of run not found








Regards,
Ryan Milton
MVS Network Manager
o: 201-447-1505 x124
c: 862-249-5230
www.mvsusa.com<http://www.mvsusa.com/>
[MVS final logo GOOD very small]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130912/477ddf46/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 569 bytes
Desc: image001.gif
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130912/477ddf46/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 2723 bytes
Desc: image004.jpg
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130912/477ddf46/attachment.jpg>


More information about the Rancid-discuss mailing list