[rancid] Permissions issue and commands modifications for 2 specific devices

Marcel Sánchez marcelsanchezt at gmail.com
Wed Oct 25 13:47:02 UTC 2017


Hello everyone, I'm new to this community. I wanted to share a problem with
you and see if someone can help:


I'm having osme issues regarding the file "entries", present in every SVN
repository, you can see the error right here:


starting: Wed Oct 25 14:16:59 CEST 2017

svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied
svn: Can't open file '.svn/entries': Permission denied


Trying to get all of the configs.
10.111.24.79: missed cmd(s): write term
10.111.24.78: missed cmd(s): write term
=====================================
Getting missed routers: round 1.
10.111.24.79: missed cmd(s): write term
10.111.24.78: missed cmd(s): write term,show running-config
10.111.24.78: End of run not found
!
=====================================
Getting missed routers: round 2.
10.111.24.78: missed cmd(s): write term,show running-config
10.111.24.78: End of run not found
!
=====================================
Getting missed routers: round 3.
10.111.24.78: missed cmd(s): write term,show running-config
10.111.24.78: End of run not found
!
=====================================
Getting missed routers: round 4.
10.111.24.78: missed cmd(s): write term
10.111.24.78: End of run not found
<--- More --->
svn: Unable to lock 'configs'
svn: Commit failed (details follow):
svn: Unable to lock '/var/rancid/SP/configs'

ending: Wed Oct 25 14:24:20 CEST 2017



And these are the permisisons of the files in this directory:

root at HOSTNAME:/var/rancid/SP/.svn# ls -lha
total 32K
drwxr-x---. 6 rancid rancid 4.0K Oct 25 14:24 .
drwxr-x---. 4 rancid rancid 4.0K Oct 25 14:24 ..
-r--r-----. 1 rancid rancid   73 Dec  5  2013 dir-prop-base
-r--r-----  1 rancid rancid  330 Oct 25 14:16 entries
drwxr-x---. 2 rancid rancid 4.0K Dec  5  2013 prop-base
drwxr-x---. 2 rancid rancid 4.0K Dec  5  2013 props
drwxr-x---. 2 rancid rancid 4.0K Sep 26 10:26 text-base
drwxr-x---  5 rancid rancid 4.0K Oct 25 14:16 tmp


- For some reason, I'm receiving this error (Permission denied) but the
permissions seem right to me.
- For these 2 specific CISCO ASA device, it seem I need to run the specific
command: "terminal pager 10000" before the "show running-config" command,
to avoid the "<-- More -->" banner. How can I modify the rancid config
files to only execute that command for these 2 specific host and not the
rest of CISCO ASA?

*Marcel Sánchez Toledano*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20171025/2da5897f/attachment.html>


More information about the Rancid-discuss mailing list