Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 307EB118B1 for ; Wed, 9 Jul 2014 09:46:32 +0000 (UTC) Received: (qmail 95694 invoked by uid 500); 9 Jul 2014 09:46:31 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 95658 invoked by uid 500); 9 Jul 2014 09:46:31 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 95647 invoked by uid 99); 9 Jul 2014 09:46:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 09:46:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.199.154.83] (HELO emea01-db3-obe.outbound.protection.outlook.com) (213.199.154.83) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 09:46:26 +0000 Received: from DBXPR07CA003.eurprd07.prod.outlook.com (10.255.191.161) by AMSPR07MB342.eurprd07.prod.outlook.com (10.242.20.142) with Microsoft SMTP Server (TLS) id 15.0.980.8; Wed, 9 Jul 2014 09:46:00 +0000 Received: from AM1FFO11FD023.protection.gbl (2a01:111:f400:7e00::169) by DBXPR07CA003.outlook.office365.com (2a01:111:e400:9800::33) with Microsoft SMTP Server (TLS) id 15.0.980.8 via Frontend Transport; Wed, 9 Jul 2014 09:46:00 +0000 Received: from CHIXEDG01.BSKYB.COM (80.238.1.152) by AM1FFO11FD023.mail.protection.outlook.com (10.174.64.212) with Microsoft SMTP Server (TLS) id 15.0.980.11 via Frontend Transport; Wed, 9 Jul 2014 09:45:59 +0000 From: "Grierson, David" To: Giuliani Paolo , "users@subversion.apache.org" Subject: RE: Problems with subversion Thread-Topic: Problems with subversion Thread-Index: Ac+bWIdQCYHqviejQKisR7A5CTXeBgAAV+XQ Date: Wed, 9 Jul 2014 09:45:34 +0000 Message-ID: <841FE3240F12C441AF08EABCD5B00AFB4DA8E358@CHIXMBX04.bskyb.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.80.10] Content-Type: multipart/alternative; boundary="_000_841FE3240F12C441AF08EABCD5B00AFB4DA8E358CHIXMBX04bskybc_" MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:80.238.1.152;CTRY:GB;IPV:CAL;IPV:NLI;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(428002)(66654002)(189002)(505014003)(199002)(252514010)(107046002)(19580405001)(77096002)(95666004)(92726001)(25786005)(53416004)(64706001)(86362001)(74502001)(19580395003)(92566001)(16236675004)(106466001)(2656002)(105586002)(4396001)(33656002)(84326002)(15202345003)(6806004)(44976005)(81542001)(87936001)(83072002)(83322001)(85852003)(512934002)(46102001)(99396002)(21056001)(19625215002)(76482001)(101416001)(31966008)(55846006)(77982001)(85306003)(76176999)(20776003)(81342001)(71186001)(26826002)(54356999)(16601075003)(79102001)(74662001)(107886001)(15975445006)(80022001)(50986999);DIR:OUT;SFP:;SCL:1;SRVR:AMSPR07MB342;H:CHIXEDG01.BSKYB.COM;FPR:;MLV:ovrnspm;PTR:ip-80-238-1-152.bskyb.com;MX:1;A:0;LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 0267E514F9 Received-SPF: None (: bskyb.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is 80.238.1.152) smtp.mailfrom=David.Grierson@bskyb.com; X-OriginatorOrg: bskyb.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_841FE3240F12C441AF08EABCD5B00AFB4DA8E358CHIXMBX04bskybc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If I remember correctly Subversion 1.1 used Berkeley DB (BDB) for various p= urposes - 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 Subversi= on /and/ to a service based serving of the Subversion data rather than usin= g file:// based access to the repository. David. ________________________________ -- David Grierson - SDLC Tools S= pecialist Sky Broadcasting - Customer Business Systems - SDLC Tools Tel: +44 1506 325100 / Email: David.Grierson@bskyb.com / Chatter: CBS SDLC Tools 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) =CA Fax: 01452 654916 * E-mail: 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= ' svn: Error opening db lockfile svn: Can't get shared lock on file '/ENGDATA/DeFRAC/defracdev/repository/lo= cks/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/repos= itory/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) =CA Fax: 01452 654916 * E-mail: 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 ad= dressee 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 an= y viruses. All e-mails sent and received by us are monitored. Contracts can= not be concluded with us by e-mail. This message has been sent from EDF Energy Nuclear Generation Ltd , a compa= ny 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, conf= idential and is intended exclusively for the addressee. The views expressed= may not be official policy, but the personal views of the originator. If y= ou 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, r= etransmit, use or disclose its contents to anyone. Please note we reserve t= he right to monitor all e-mail communication through our internal and exter= nal networks. SKY and the SKY marks are trademarks of British Sky Broadcast= ing Group plc and Sky International AG and are used under licence. British = Sky Broadcasting Limited (Registration No. 2906991), Sky-In-Home Service Li= mited (Registration No. 2067075) and Sky Subscribers Services Limited (Regi= stration No. 2340150) are direct or indirect subsidiaries of British Sky Br= oadcasting Group plc (Registration No. 2247735). All of the companies menti= oned in this paragraph are incorporated in England and Wales and share the = same registered office at Grant Way, Isleworth, Middlesex TW7 5QD. --_000_841FE3240F12C441AF08EABCD5B00AFB4DA8E358CHIXMBX04bskybc_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Problems with subversion

If I remember correctly S= ubversion 1.1 used Berkeley DB (BDB) for various purposes – for examp= le the repository format might be BDB.

 <= /p>

BDB relied upon file lock= ing to enforce data consistency.

 <= /p>

As I mentioned not all im= plementations of NFS servers fully implement file locking – this is w= hy you are receiving these errors.

 <= /p>

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

 <= /p>

David.<= /p>


--
David Grierson – SDLC Tools Specialist

Sky Broadcasting - Customer B= usiness Systems - SDLC Tools

Tel: +44 1506 325100 / Em= ail: David.Grierson@bskyb.com / Chatter: CBS SDLC Tools

Watermark Building, Alba Camp= us, Livingston, EH54 7HH

 <= /p>

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)
=CA Fax: 01452 654916
* E-mail: Paolo.Giuliani@e= df-energy.com
http://www.edfenergy.com - Powerin= g the low carbon generation
Ask yourself whether you need a hard copy. If you do, print it double si= ded
______________________________________________
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 "De= Frac 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/reposi= tory/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/re= pository/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)
=CA Fax: 01452 654916
* E-mail: Paolo.Giuliani@e= df-energy.com
http://www.edfenergy.com - Powerin= g the low carbon generation
Ask yourself whether you need a hard copy. If you do, print it double si= ded





This e-mail, and any attachm= ents, 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 no= t 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 f= rom EDF Energy Nuclear Generation Ltd , a company registered in England and= Wales No. 03076445, with registered office at Barnett Way, Barnwood, Glouc= ester, GL4 3RS.

Information in this email including any attachments may be privileged, conf= idential and is intended exclusively for the addressee. The views expressed= may not be official policy, but the personal views of the originator. If y= ou have received it in error, please notify the sender by return e-mail and delete it from your system. You sho= uld not reproduce, distribute, store, retransmit, use or disclose its conte= nts to anyone. Please note we reserve the right to monitor all e-mail commu= nication through our internal and external networks. SKY and the SKY marks are trademarks of British Sky Bro= adcasting Group plc and Sky International AG and are used under licence. Br= itish Sky Broadcasting Limited (Registration No. 2906991), Sky-In-Home Serv= ice Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct= or indirect subsidiaries of British Sky Broadcasting Group plc (Registrati= on No. 2247735). All of the companies mentioned in this paragraph are incor= porated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5Q= D. --_000_841FE3240F12C441AF08EABCD5B00AFB4DA8E358CHIXMBX04bskybc_--