subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grierson, David" <David.Grier...@bskyb.com>
Subject RE: Problems with subversion
Date Wed, 09 Jul 2014 09:45:34 GMT
If I remember correctly Subversion 1.1 used Berkeley DB (BDB) for various purposes - for example
the repository format might be BDB.

BDB relied upon file locking to enforce data consistency.

As I mentioned not all implementations of NFS servers fully implement file locking - this
is why you are receiving these errors.

My recommendation is that you should migrate to a newer version of Subversion /and/ to a service
based serving of the Subversion data rather than using file:// based access to the repository.

David.
________________________________
--
David Grierson<https://confluence.bskyb.com/display/~DGR02/> - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools<https://confluence.bskyb.com/display/TwikiImport/>
Tel: +44 1506 325100 / Email: David.Grierson@bskyb.com<mailto:David.Grierson@bskyb.com>
/ Chatter: CBS SDLC Tools<https://bskyb.my.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9200000008Z8b>
Watermark Building, Alba Campus, Livingston, EH54 7HH

From: Giuliani Paolo [mailto:paolo.giuliani@edf-energy.com]
Sent: 09 July 2014 10:31
To: users@subversion.apache.org
Subject: RE: Problems with subversion


Hello,
I connect to a remote file system through a XVC terminal emulator.
Platform: UNIX linux
Subversion version: 1.1.4
Following my previous e-mail below,
I was able to establish that the problem resides in my repository.
Whenever I issue any subversion command to the repository like:
svnlook tree /altroot/ENGDATA/DeFRAC/defracdev/repository
The problem now I face is the following:
svn: Error opening db lockfile
svn: Can't get shared lock on file 'locks/db.lock': No locks available
It seems a file locking problem...
The output of command:
df -T /altroot/ENGDATA/DeFRAC/defracdev/repository
is the following:
Filesystem Type 1K-blocks Used Available Use% Mounted on
engarchive:/export/engarchive/ENGDATA
nfs 528417056 384972448 138160448 74% /altroot/ENGDATA

Any ideas?

Many thanks
Paolo

Paolo Giuliani
Reactor Physics Group
Nuclear Technology Branch
EDF Energy
Barnett Way
Barnwood
Gloucester
GL4 3RS
( Tel: 01452 654346 (Internal 777 4346)
Ê Fax: 01452 654916
* E-mail: Paolo.Giuliani@edf-energy.com<mailto:Paolo.Giuliani@edf-energy.com>
http://www.edfenergy.com - Powering the low carbon generation
Ask yourself whether you need a hard copy. If you do, print it double sided
______________________________________________
From: Giuliani Paolo
Sent: 02 July 2014 15:43
To: 'users@subversion.apache.org'
Subject: Problems with subversion
Hello,
I have been using subversion for while now and without problems.
But recently when I was trying to commit my changes (svn commit -m "DeFrac final changes"),
from my local working copy, I got the following error message:
svn: Commit failed (details follow):
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///ENGDATA/DeFRAC/defracdev/repository/maintv2/trunk<file:///\\ENGDATA\DeFRAC\defracdev\repository\maintv2\trunk>'
svn: Error opening db lockfile
svn: Can't get shared lock on file '/ENGDATA/DeFRAC/defracdev/repository/locks/db.lock': No
locks available
I tried to issue the recover subcommand (svnadmin recover /altroot/ENGDATA/DeFRAC/defracdev/repository),
but
still I received the following message:
Repository lock acquired.
Please wait; recovering the repository may take some time...
Recovery completed.
svn: Error opening db lockfile
svn: Can't get shared lock on file '/altroot/ENGDATA/DeFRAC/defracdev/repository/locks/db.lock':
No locks available
I would appreciate your help.
Many thanks
Paolo

Paolo Giuliani
Reactor Physics Group
Nuclear Technology Branch
EDF Energy
Barnett Way
Barnwood
Gloucester
GL4 3RS

( Tel: 01452 654346 (Internal 777 4346)
Ê Fax: 01452 654916
* E-mail: Paolo.Giuliani@edf-energy.com<mailto:Paolo.Giuliani@edf-energy.com>
http://www.edfenergy.com - Powering the low carbon generation
Ask yourself whether you need a hard copy. If you do, print it double sided





This e-mail, and any attachments, is confidential and for the use of the addressee only. If
you are not the intended recipient, please telephone +44 (0) 1355 846000. We do not accept
legal responsibility for this e-mail or any viruses. All e-mails sent and received by us are
monitored. Contracts cannot be concluded with us by e-mail.

This message has been sent from EDF Energy Nuclear Generation Ltd , a company registered in
England and Wales No. 03076445, with registered office at Barnett Way, Barnwood, Gloucester,
GL4 3RS.

Information in this email including any attachments may be privileged, confidential and is
intended exclusively for the addressee. The views expressed may not be official policy, but
the personal views of the originator. If you have received it in error, please notify the
sender by return e-mail and delete it from your system. You should not reproduce, distribute,
store, retransmit, use or disclose its contents to anyone. Please note we reserve the right
to monitor all e-mail communication through our internal and external networks. SKY and the
SKY marks are trademarks of British Sky Broadcasting Group plc and Sky International AG and
are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky-In-Home
Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration
No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration
No. 2247735). All of the companies mentioned in this paragraph are incorporated in England
and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.

Mime
View raw message