Prerequisites
Netaudit (Rancid) must be added in Opsview
Problem
Devices are not being committed.
File status (uncommitted) appears when running this command.
# /opt/opsview/netaudit/var/svn
status
Running with commit
option gives the error message /opt/opsview/netaudit/var/svn' is already locked
.
Ex.
# /opt/opsview/local/bin/svn commit -m "Adding unversioned files"
###################
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Commit failed (details follow):
svn: E155004: Working copy '/opt/opsview/netaudit/var/svn' locked.
svn: E155004: '/opt/opsview/netaudit/var/svn' is already locked.
###################
Solution
Restart the component
# /opt/ospview/watchdog/bin/opsview-monit restart opsview-netaudit
Check for file permissions and correct if needed
# ls -lR /opt/opsview/netaudit/var/repository/rancid/
Do a cleanup
# /opt/opsview/netaudit/var/svn
cleanup
Look for lock files and remove
# find /opt/opsview/netaudit/var/svn/ -name *lock* -ls
If Issue Persists
- Please contact with our Client Services team via the chat service box available in any of our websites or via email to support@itrsgroup.com
- Make sure you provide to us:
- ANY LOG FILE OR DIAGNOSTIC
- ANY SCREENSHOT
- ANY VENDOR/VERSION OF WHAT THEY ARE TRYING TO CONNECT TO
-Any troubleshooting step already verified from the ones described in this article.
Comments
0 comments
Please sign in to leave a comment.