21 Şubat 2013 Perşembe

SVN commits fail error- Can't get exclusive lock

To contact us Click HERE
The SVN server is run On the Freebsd server and the subversion repository is NFS mounted. When doing a commit, an error message shown on the svn client:

svn: Can't get exclusive lock on file '/svn/repo/db/transactions/7802-2.txn/rev-lock': No locks available

The problem finally is solved by running rpc.lockd(8) and rpc.statd(8). on the svn server and the nfs server.

To enable rpc.lock and rpc.stat by adding the following to the /etc/rc.conf:

rpc_lockd_enable="YES"
rpc_statd_enable="YES"

Start the application by restarting the machines or using:

# /etc/rc.d/lockd start
# /etc/rc.d/statd start

Reference:
http://www.freebsd.org/doc/handbook/network-nfs.html

Hiç yorum yok:

Yorum Gönder