[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem: Unable to open an ra_local session to URL

From: Joakim Hove <joakim.hove_at_ntnu.no>
Date: 2005-12-14 17:46:18 CET


please forgive me if this turns out be a repost. I did not get it
myself the first time. (I *gurantee* that there will bo no third




I have been using subversion for about one year, and I am very happy
with it. Unfortunately I recently got some problems which I hope
someone here can help me with.

My setup:

 o Subversion repository located in my home directory, which is again
   an NFS mounted volume. The repository is of type fsfs.

 o I am the only user of this repository, and I access it either as

     bash% svn <cmd> file:////heim/hove/Subversion/Repository

   from my local computer, or alternatively as

     bash% svn <cmd> svn+ssh://logon.host:/path

   From an outside computer. This has worked flawlessly for several

 o The server hosting the repository runs linux, and svn-1.1.3 (I have
   also brifely tried version 1.2.3 of subversion, but to no avail.)

 o The computer hosting the repository is a login host for my
   department, this is the only computer open to SSH login from the
   outside world. However the filesystem is not actually located on
   this server, but on another computer. The actual fileserver is
   completely sealed down for login. Hence the computers involved are
   related somewhat like this:

  |------------------| | |----------------|
  | Outside computer |----< ssh >----|---- | Logon computer |
  |------------------| | |----------------|
                                     | | |
                                     | | |
                                     | | <ssh>
                                     | <nfs> |---------
                                     | | |Internal|
                                     | /------------\ |computer|
                                     | |File server | ----------
                                     | \------------/ |
                             Department boundary

The problem/symptoms

 o When trying to access the repository from the logon computer
   (i.e. local access barring the NFS mount of the filessyste), I
   get the following response:

     bash> svn ls file:////heim/hove/Subversion/Repository
     svn: Unable to open an ra_local session to URL
     svn: Unable to open repository 'file:///heim/hove/Subversion/Repository'
     svn: Error opening db lockfile
     svn: Can't get shared lock on file '/heim/hove/Subversion/Repository/locks/db.lock': Input/output error

 o When trying to access the repository from an outside computer,
   using svn+ssh I get the following:

    bash> svn ls $svn+ssh://logon.host:/heim/hove/Subversion/Repository
    svn: Error opening db lockfile
    svn: Can't get shared lock on file '/heim/hove/Subversion/Repository/locks/db.lock': Input/output error

 o When accessing the repository from one of the "internal computers"
   in the department, distinct from the logon computer it works

As mentioned everything has worked flawlessly previously, and without
any changes on my behalf it suddenly stopped working. A colleague with
another respository reports of identical behaviour. So, I suspect
there is something with one of the departmental computers which is
broken. Unfortunately the local system administrator is really less
than thrilled by trying to help me out with this, so I am trying to
debug it for him - hopefully with some input from the svn community.

All suggestions greatly appreciated.


Joakim Hove
hove AT ntnu.no                    /    
Tlf: +47 (55 5)8 27 13            /     Stabburveien 18		 
Fax: +47 (55 5)8 94 40           /      N-5231 Paradis		 
http://www.ift.uib.no/~hove/    /      	55 91 28 18 / 92 68 57 04
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 14 17:50:51 2005

This is an archived mail posted to the Subversion Users mailing list.