You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Russell Gold <ru...@gold-family.us> on 2004/12/01 06:49:25 UTC

http access and fsfs?

I have set up my repository for fsfs, using 1.1.1. I  can access the 
files locally just fine, but when I try http access, I get complaints 
about the Berkely DB:

(20014)Error string not specified yet: Berkeley DB error while opening 
'nodes' table for filesystem /svnroot/yiml/db:\nNo such file or 
directory
[Could not fetch resource information.  [500, #0]
Could not open the requested SVN filesystem  [500, #160029]
Could not open the requested SVN filesystem  [500, #160029]

Is this mode supported by mod_dav_svn?  Or do I have to use Berkely DB 
to get http access?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: STILL Still looking for help on this...

Posted by Jeremy Pereira <je...@ntlworld.com>.
I didn't use Fink.  I built from source.

This is my configure command line

./configure --prefix=/Users/jeremyp/unix --with-ssl 
--with-apxs=/Users/jeremyp/unix/apache2/bin/apxs 
--with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-editor=/usr/bin/vi

You have to make sure that there are no stray old libsvn libraries that 
the linker could pick up, since the linker seems to go for them in 
preference to your newly built ones.


On Dec 10, 2004, at 12:34, Russell Gold wrote:

>
> On Dec 10, 2004, at 5:03 AM, Jeremy Pereira wrote:
>
>>
>> On Dec 10, 2004, at 05:26, Branko Čibej wrote:
>>> From this it's quite obvious that your mod_dav_svn is loading the 
>>> wrong version of the SVN libraries; it's loading 1.0, not 1.1, and 
>>> 1.0 knows nothing about FSFS. Looks like your SVN installation is 
>>> broken.
>>
>> Actually, it's not.  Even with 1.1.1 library versions are reported as 
>> 1.0.0:
>
> OK, then what else could be causing my problems? I usd Fink to build 
> the latest sources, but it doesn't seem to be working...
>
>>
>> and I can assure you my repository is functional with Apache.
>>
>
> how did you do it?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
--
Jeremy Pereira
http://www.jeremyp.net


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: STILL Still looking for help on this...

Posted by Russell Gold <ru...@gold-family.us>.
On Dec 10, 2004, at 5:03 AM, Jeremy Pereira wrote:

>
> On Dec 10, 2004, at 05:26, Branko Čibej wrote:
>> From this it's quite obvious that your mod_dav_svn is loading the 
>> wrong version of the SVN libraries; it's loading 1.0, not 1.1, and 
>> 1.0 knows nothing about FSFS. Looks like your SVN installation is 
>> broken.
>
> Actually, it's not.  Even with 1.1.1 library versions are reported as 
> 1.0.0:

OK, then what else could be causing my problems? I usd Fink to build 
the latest sources, but it doesn't seem to be working...

>
> and I can assure you my repository is functional with Apache.
>

how did you do it?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: STILL Still looking for help on this...

Posted by Jeremy Pereira <je...@ntlworld.com>.
On Dec 10, 2004, at 05:26, Branko Čibej wrote:

> Russell Gold wrote:
>
>> Doesn't *anybody* have an idea of how to get this working?
>>
>> On Dec 6, 2004, at 7:26 AM, Russell Gold wrote:
>>
>>>
>>> On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:
>>>
>>>> So, the separate question is:  why does mod_dav_svn trying to use 
>>>> BDB to open the repository?  My guess is that your mod_dav_svn 
>>>> isn't really 1.1.  Or perhaps it's linking to 1.0 libraries hiding 
>>>> somewhere on your Mac.
>>>>
>>>
>>> Does this make the answer obvious? I ran otool -L and got:
>>>
>>> Russell-Golds-Computer:/sw russgold$ otool -L 
>>> /sw/lib/apache2/modules/mod_dav_svn.so
>>> /sw/lib/apache2/modules/mod_dav_svn.so:
>>>         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
>>> current version 1.0.0)
>>
> etc.
>
> From this it's quite obvious that your mod_dav_svn is loading the 
> wrong version of the SVN libraries; it's loading 1.0, not 1.1, and 1.0 
> knows nothing about FSFS. Looks like your SVN installation is broken.

Actually, it's not.  Even with 1.1.1 library versions are reported as 
1.0.0:

jeremyp@dhcp-2-1-53:libsvn_repos$ otool -L 
~/unix/apache2/modules/mod_dav_svn.so
/Users/jeremyp/unix/apache2/modules/mod_dav_svn.so:
         /Users/jeremyp/unix/lib/libsvn_repos-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)

jeremyp@dhcp-2-1-53:libsvn_repos$ pwd
/Users/jeremyp/unix/src/subversion-1.1.1/subversion/libsvn_repos
jeremyp@dhcp-2-1-53:libsvn_repos$ svn --version
svn, version 1.1.1 (r11581)
    compiled Nov 29 2004, 16:40:56

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) 
protocol.
   - handles 'http' schema
   - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network 
protocol.
   - handles 'svn' schema

jeremyp@dhcp-2-1-53:libsvn_repos$ ls .libs
libsvn_repos-1.0.0.0.dylib          libsvn_repos-1.a
libsvn_repos-1.0.0.0.dylib-master.o libsvn_repos-1.dylib
libsvn_repos-1.0.0.0.dylibT         libsvn_repos-1.la
libsvn_repos-1.0.dylib              libsvn_repos-1.lai

and I can assure you my repository is functional with Apache.

>
> -- Brane
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
--
Jeremy Pereira
http://www.jeremyp.net


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: STILL Still looking for help on this...

Posted by Branko Čibej <br...@xbc.nu>.
Russell Gold wrote:

> Doesn't *anybody* have an idea of how to get this working?
>
> On Dec 6, 2004, at 7:26 AM, Russell Gold wrote:
>
>>
>> On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:
>>
>>> So, the separate question is:  why does mod_dav_svn trying to use 
>>> BDB to open the repository?  My guess is that your mod_dav_svn isn't 
>>> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding 
>>> somewhere on your Mac.
>>>
>>
>> Does this make the answer obvious? I ran otool -L and got:
>>
>> Russell-Golds-Computer:/sw russgold$ otool -L 
>> /sw/lib/apache2/modules/mod_dav_svn.so
>> /sw/lib/apache2/modules/mod_dav_svn.so:
>>         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
>> current version 1.0.0)
>
etc.

 From this it's quite obvious that your mod_dav_svn is loading the wrong 
version of the SVN libraries; it's loading 1.0, not 1.1, and 1.0 knows 
nothing about FSFS. Looks like your SVN installation is broken.

-- Brane



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

STILL Still looking for help on this...

Posted by Russell Gold <ru...@gold-family.us>.
Doesn't *anybody* have an idea of how to get this working?

On Dec 6, 2004, at 7:26 AM, Russell Gold wrote:

>
> On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:
>
>> So, the separate question is:  why does mod_dav_svn trying to use BDB 
>> to open the repository?  My guess is that your mod_dav_svn isn't 
>> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding 
>> somewhere on your Mac.
>>
>
> Does this make the answer obvious? I ran otool -L and got:
>
> Russell-Golds-Computer:/sw russgold$ otool -L 
> /sw/lib/apache2/modules/mod_dav_svn.so
> /sw/lib/apache2/modules/mod_dav_svn.so:
>         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
> current version 10.5.0)
>         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
> version 3.0.0)
>         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
> version 4.2.52)
>         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
> version 6.0.0)
>         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, 
> current version 10.5.0)
>         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
> version 5.0.0)
>         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
> version 2.1.0)
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
> current version 71.1.1)
>
> Russell-Golds-Computer:/sw russgold$ otool -L /sw/bin/svn
> /sw/bin/svn:
>         /sw/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_wc-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_ra-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_diff-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_ra_local-1.0.dylib (compatibility version 
> 1.0.0, current version 1.0.0)
>         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_ra_svn-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_ra_dav-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
> current version 1.0.0)
>         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
> current version 10.5.0)
>         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
> version 3.0.0)
>         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
> version 4.2.52)
>         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
> version 6.0.0)
>         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, 
> current version 10.5.0)
>         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, 
> current version 324.6.0)
>         /sw/lib/libneon.24.dylib (compatibility version 25.0.0, 
> current version 25.7.0)
>         /sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current 
> version 9.7.0)
>         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
> version 1.0.0)
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
> current version 71.1.1)
>         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
> version 2.1.0)
>         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
> version 5.0.0)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Russell Gold <ru...@gold-family.us>.
On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:

> So, the separate question is:  why does mod_dav_svn trying to use BDB 
> to open the repository?  My guess is that your mod_dav_svn isn't 
> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding somewhere 
> on your Mac.
>

Does this make the answer obvious? I ran otool -L and got:

Russell-Golds-Computer:/sw russgold$ otool -L 
/sw/lib/apache2/modules/mod_dav_svn.so
/sw/lib/apache2/modules/mod_dav_svn.so:
         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
current version 10.5.0)
         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
version 3.0.0)
         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
version 4.2.52)
         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
version 6.0.0)
         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, current 
version 10.5.0)
         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)
         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
version 2.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)

Russell-Golds-Computer:/sw russgold$ otool -L /sw/bin/svn
/sw/bin/svn:
         /sw/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_wc-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_diff-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_local-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_svn-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_dav-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
current version 10.5.0)
         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
version 3.0.0)
         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
version 4.2.52)
         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
version 6.0.0)
         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, current 
version 10.5.0)
         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, 
current version 324.6.0)
         /sw/lib/libneon.24.dylib (compatibility version 25.0.0, current 
version 25.7.0)
         /sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current 
version 9.7.0)
         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)
         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
version 2.1.0)
         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Russell Gold <ru...@gold-family.us>.
On Dec 3, 2004, at 2:05 PM, Garrett Rooney wrote:

> anton wrote:
>> ldd modulename.so
>> ldd httpd
>> and then examine the output to make sure it looks sensible.
>
> Actually, if he's on OS X that would be otool -L, not ldd.
>

yup.  But I suspect somebody who knows the svn internals would have to 
interpret this:

Russell-Golds-Computer:/sw russgold$ otool -L 
/sw/lib/apache2/modules/mod_dav_svn.so
/sw/lib/apache2/modules/mod_dav_svn.so:
         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
current version 10.5.0)
         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
version 3.0.0)
         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
version 4.2.52)
         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
version 6.0.0)
         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, current 
version 10.5.0)
         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)
         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
version 2.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)

Russell-Golds-Computer:/sw russgold$ otool -L /sw/bin/svn
/sw/bin/svn:
         /sw/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_wc-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_diff-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_local-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_fs_base-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_svn-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_ra_dav-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
         /sw/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, 
current version 10.5.0)
         /sw/lib/libgdbm.2.dylib (compatibility version 3.0.0, current 
version 3.0.0)
         /sw/lib/libdb-4.2.dylib (compatibility version 4.2.0, current 
version 4.2.52)
         /sw/lib/libexpat.0.dylib (compatibility version 6.0.0, current 
version 6.0.0)
         /sw/lib/libapr-0.0.dylib (compatibility version 10.0.0, current 
version 10.5.0)
         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, 
current version 324.6.0)
         /sw/lib/libneon.24.dylib (compatibility version 25.0.0, current 
version 25.7.0)
         /sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current 
version 9.7.0)
         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)
         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current 
version 2.1.0)
         /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
anton wrote:
> Russell Gold wrote:
> 
>>
>> On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:
>>
>>> Hm, I spoke too quickly, sorry.
>>>
>>> This looks like an FSFS repository, but it has a bunch of extra BDB 
>>> junk inside it... the __db.* files, and the log.* file.
>>>
>>> I can reproduce this by running 'db_recover' on an FSFS repository.  
>>> How weird.
>>>
>>> So, the separate question is:  why does mod_dav_svn trying to use BDB 
>>> to open the repository?  My guess is that your mod_dav_svn isn't 
>>> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding 
>>> somewhere on your Mac.
>>>
>>
>> How do I verify this? I used Fink to build everything.
>>
>> Does the size indicate anything useful? Are version numbers available 
>> from the image?
>>
>> Russell-Golds-Computer:/sw russgold$ ls -al 
>> /sw/lib/apache2/modules/mod_dav_svn.so
>> -rwxr-xr-x  1 root  admin  335920 30 Nov 08:26 
>> /sw/lib/apache2/modules/mod_dav_svn.so
>>
>> Russell-Golds-Computer:/sw russgold$ ls -al /sw/bin/svn
>> -rwxr-xr-x  1 root  admin  321712 30 Nov 08:26 /sw/bin/svn
>>
>>
> 
> ldd modulename.so
> ldd httpd
> and then examine the output to make sure it looks sensible.

Actually, if he's on OS X that would be otool -L, not ldd.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by anton <an...@nezzwerk.com>.
Russell Gold wrote:
> 
> On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:
> 
>> Hm, I spoke too quickly, sorry.
>>
>> This looks like an FSFS repository, but it has a bunch of extra BDB 
>> junk inside it... the __db.* files, and the log.* file.
>>
>> I can reproduce this by running 'db_recover' on an FSFS repository.  
>> How weird.
>>
>> So, the separate question is:  why does mod_dav_svn trying to use BDB 
>> to open the repository?  My guess is that your mod_dav_svn isn't 
>> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding somewhere 
>> on your Mac.
>>
> 
> How do I verify this? I used Fink to build everything.
> 
> Does the size indicate anything useful? Are version numbers available 
> from the image?
> 
> Russell-Golds-Computer:/sw russgold$ ls -al 
> /sw/lib/apache2/modules/mod_dav_svn.so
> -rwxr-xr-x  1 root  admin  335920 30 Nov 08:26 
> /sw/lib/apache2/modules/mod_dav_svn.so
> 
> Russell-Golds-Computer:/sw russgold$ ls -al /sw/bin/svn
> -rwxr-xr-x  1 root  admin  321712 30 Nov 08:26 /sw/bin/svn
> 
> 

ldd modulename.so
ldd httpd
and then examine the output to make sure it looks sensible.

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Russell Gold <ru...@gold-family.us>.
On Dec 3, 2004, at 1:24 PM, Ben Collins-Sussman wrote:

> Hm, I spoke too quickly, sorry.
>
> This looks like an FSFS repository, but it has a bunch of extra BDB 
> junk inside it... the __db.* files, and the log.* file.
>
> I can reproduce this by running 'db_recover' on an FSFS repository.  
> How weird.
>
> So, the separate question is:  why does mod_dav_svn trying to use BDB 
> to open the repository?  My guess is that your mod_dav_svn isn't 
> really 1.1.  Or perhaps it's linking to 1.0 libraries hiding somewhere 
> on your Mac.
>

How do I verify this? I used Fink to build everything.

Does the size indicate anything useful? Are version numbers available 
from the image?

Russell-Golds-Computer:/sw russgold$ ls -al 
/sw/lib/apache2/modules/mod_dav_svn.so
-rwxr-xr-x  1 root  admin  335920 30 Nov 08:26 
/sw/lib/apache2/modules/mod_dav_svn.so

Russell-Golds-Computer:/sw russgold$ ls -al /sw/bin/svn
-rwxr-xr-x  1 root  admin  321712 30 Nov 08:26 /sw/bin/svn



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 3, 2004, at 11:59 AM, Ben Collins-Sussman wrote:
>
> Because you have a BDB repository.  Look, there it is:
>
>> drwxrwsr-x  15 russgold  svnuser     510 30 Nov 22:51 .
>> drwxrwxr-x   9 russgold  svnuser     306 30 Nov 19:40 ..
>> -rw-r--r--   1 www       svnuser    8192 30 Nov 22:51 __db.001
>> -rw-r--r--   1 www       svnuser  270336 30 Nov 22:51 __db.002
>> -rw-r--r--   1 www       svnuser   98304 30 Nov 22:51 __db.003
>> -rw-r--r--   1 www       svnuser  368640 30 Nov 22:51 __db.004
>> -rw-r--r--   1 www       svnuser   16384 30 Nov 22:51 __db.005
>> -rw-rw-r--   1 russgold  svnuser       8 30 Nov 19:40 current
>> -rw-rw-r--   1 russgold  svnuser       5 30 Nov 19:40 fs-type
>> -rw-r--r--   1 www       svnuser      64 30 Nov 22:51 log.0000000001
>> drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revprops
>> drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revs
>> drwxrwxr-x   2 russgold  svnuser      68 30 Nov 19:40 transactions
>> -rw-rw-r--   1 russgold  svnuser      37 30 Nov 19:40 uuid
>> -rw-rw-r--   1 russgold  svnuser       0 30 Nov 19:40 write-lock
>>

Hm, I spoke too quickly, sorry.

This looks like an FSFS repository, but it has a bunch of extra BDB 
junk inside it... the __db.* files, and the log.* file.

I can reproduce this by running 'db_recover' on an FSFS repository.  
How weird.

So, the separate question is:  why does mod_dav_svn trying to use BDB 
to open the repository?  My guess is that your mod_dav_svn isn't really 
1.1.  Or perhaps it's linking to 1.0 libraries hiding somewhere on your 
Mac.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Still looking for help (was Re: http access and fsfs?)

Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 3, 2004, at 11:45 AM, Russell Gold wrote:
>
> 2. I create a subversion repository, specifying it as fsfs

Apparently not.  Did you run 'svnadmin create --fs-type fsfs reposname'?

>
> Any ideas on what is happening here? Why is it even *mentioning* the 
> Berkeley DB?
>

Because you have a BDB repository.  Look, there it is:

> drwxrwsr-x  15 russgold  svnuser     510 30 Nov 22:51 .
> drwxrwxr-x   9 russgold  svnuser     306 30 Nov 19:40 ..
> -rw-r--r--   1 www       svnuser    8192 30 Nov 22:51 __db.001
> -rw-r--r--   1 www       svnuser  270336 30 Nov 22:51 __db.002
> -rw-r--r--   1 www       svnuser   98304 30 Nov 22:51 __db.003
> -rw-r--r--   1 www       svnuser  368640 30 Nov 22:51 __db.004
> -rw-r--r--   1 www       svnuser   16384 30 Nov 22:51 __db.005
> -rw-rw-r--   1 russgold  svnuser       8 30 Nov 19:40 current
> -rw-rw-r--   1 russgold  svnuser       5 30 Nov 19:40 fs-type
> -rw-r--r--   1 www       svnuser      64 30 Nov 22:51 log.0000000001
> drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revprops
> drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revs
> drwxrwxr-x   2 russgold  svnuser      68 30 Nov 19:40 transactions
> -rw-rw-r--   1 russgold  svnuser      37 30 Nov 19:40 uuid
> -rw-rw-r--   1 russgold  svnuser       0 30 Nov 19:40 write-lock
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Still looking for help (was Re: http access and fsfs?)

Posted by Russell Gold <ru...@gold-family.us>.
To summarize:

1. I am using Subversion 1.1.1-11 on MacOS X 10.3.6
2. I create a subversion repository, specifying it as fsfs
3. It has owner: russgold group:svnuser
4. I can access the repository using a local: url just fine
5. I am using Apache 2.0.50-10 with mod-svn 1.1.1-11
6. It runs with process owner www, which is in the svnuser group, and 
with group specified as svnuser
7. When I try to access the svn repository, I get:

[Fri Dec 03 12:10:10 2004] [error] [client ::1] (20014)Error string not 
specified yet: Berkeley DB error while opening 'nodes' table for 
filesystem /svnroot/yiml/db:\nNo such file or directory
[Fri Dec 03 12:10:10 2004] [error] [client ::1] Could not fetch 
resource information.  [500, #0]
[Fri Dec 03 12:10:10 2004] [error] [client ::1] Could not open the 
requested SVN filesystem  [500, #160029]
[Fri Dec 03 12:10:10 2004] [error] [client ::1] Could not open the 
requested SVN filesystem  [500, #160029]


Any ideas on what is happening here? Why is it even *mentioning* the 
Berkeley DB?


BTW, the directory structure referred to above is:

Russell-Golds-Computer:~ russgold$ ls -al /svnroot/yiml/db
total 1520
drwxrwsr-x  15 russgold  svnuser     510 30 Nov 22:51 .
drwxrwxr-x   9 russgold  svnuser     306 30 Nov 19:40 ..
-rw-r--r--   1 www       svnuser    8192 30 Nov 22:51 __db.001
-rw-r--r--   1 www       svnuser  270336 30 Nov 22:51 __db.002
-rw-r--r--   1 www       svnuser   98304 30 Nov 22:51 __db.003
-rw-r--r--   1 www       svnuser  368640 30 Nov 22:51 __db.004
-rw-r--r--   1 www       svnuser   16384 30 Nov 22:51 __db.005
-rw-rw-r--   1 russgold  svnuser       8 30 Nov 19:40 current
-rw-rw-r--   1 russgold  svnuser       5 30 Nov 19:40 fs-type
-rw-r--r--   1 www       svnuser      64 30 Nov 22:51 log.0000000001
drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revprops
drwxrwxr-x  28 russgold  svnuser     952 30 Nov 19:40 revs
drwxrwxr-x   2 russgold  svnuser      68 30 Nov 19:40 transactions
-rw-rw-r--   1 russgold  svnuser      37 30 Nov 19:40 uuid
-rw-rw-r--   1 russgold  svnuser       0 30 Nov 19:40 write-lock


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: http access and fsfs?

Posted by Russell Gold <ru...@gold-family.us>.
On Dec 1, 2004, at 8:03 PM, anton wrote:

> what does apache run as? could you put the following lines in your 
> httpd.conf:
>
> User russgold
> Group svnuser
>
> try that and see if it makes any difference. (run ps to verify that 
> apache does indeed run as that user).
>

Yes, apache does wind up running under the specified user. But the only 
difference I see is that the error message changed from:

(20014)Error string not specified yet: Berkeley DB error while opening 
'nodes' table for filesystem /svnroot/yiml/db:\nNo such file or 
directory

to

(20014)Error string not specified yet: Berkeley DB error while opening 
environment for filesystem /svnroot/yiml/db:\nPermission denied


I don't see why it is saying *anything* about Berkeley DB when I am not 
using it...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: http access and fsfs?

Posted by anton <an...@nezzwerk.com>.
Russell Gold wrote:
> 
> 
> 
> Yes:
> 
> Russell-Golds-Computer:~ russgold$ ls -l /svnroot/yiml
> total 16
> -rw-rw-r--   1 russgold  svnuser  379 30 Nov 19:40 README.txt
> drwxrwxr-x   3 russgold  svnuser  102 30 Nov 19:40 conf
> drwxrwxr-x   2 russgold  svnuser   68 30 Nov 19:40 dav
> drwxrwsr-x  15 russgold  svnuser  510 30 Nov 22:51 db
> -r--rw-r--   1 russgold  svnuser    2 30 Nov 19:40 format
> drwxrwxr-x   7 russgold  svnuser  238 30 Nov 19:40 hooks
> drwxrwxr-x   4 russgold  svnuser  136 30 Nov 19:40 locks
> Russell-Golds-Computer:~ russgold$ groups www
> www svnuser
> 
> 
>>  could you post relevant svn lines from httpd.conf?
>>
> 
>     <Location /svn>
>         DAV svn
>         SVNParentPath /svnroot
>         AuthType Basic
>         AuthName "Subversion repository"
>         AuthUserFile /www/meterware/authent/users
>         Require valid-user
>     </Location>

what does apache run as? could you put the following lines in your 
httpd.conf:

User russgold
Group svnuser

try that and see if it makes any difference. (run ps to verify that 
apache does indeed run as that user).

thanks,

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: http access and fsfs?

Posted by anton <an...@nezzwerk.com>.
Russell Gold wrote:
> I have set up my repository for fsfs, using 1.1.1. I  can access the 
> files locally just fine, but when I try http access, I get complaints 
> about the Berkely DB:
> 
> (20014)Error string not specified yet: Berkeley DB error while opening 
> 'nodes' table for filesystem /svnroot/yiml/db:\nNo such file or directory
> [Could not fetch resource information.  [500, #0]
> Could not open the requested SVN filesystem  [500, #160029]
> Could not open the requested SVN filesystem  [500, #160029]
> 
> Is this mode supported by mod_dav_svn?  Or do I have to use Berkely DB 
> to get http access?
> 
> 

did you create your repository with 'svnadmin create --fs-type fsfs 
/repository/path'?

does the user apache runs as have proper access to your repository 
directory and directories beneath it (User and Group directives in 
httpd.conf and ls -lR /repository/path)?  could you post relevant svn 
lines from httpd.conf?

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: http access and fsfs?

Posted by ar...@betasystems.com.



did you use:

svnadmin create /pat/to/repos --fs-type fsfs

to create your repos?

unless, I gues something is wrong with your Installation.

best regards,
arash

Russell Gold <ru...@gold-family.us> wrote on 01.12.2004 07:49:25:

> I have set up my repository for fsfs, using 1.1.1. I  can access the
> files locally just fine, but when I try http access, I get complaints
> about the Berkely DB:
>
> (20014)Error string not specified yet: Berkeley DB error while opening
> 'nodes' table for filesystem /svnroot/yiml/db:\nNo such file or
> directory
> [Could not fetch resource information.  [500, #0]
> Could not open the requested SVN filesystem  [500, #160029]
> Could not open the requested SVN filesystem  [500, #160029]
>
> Is this mode supported by mod_dav_svn?  Or do I have to use Berkely DB
> to get http access?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org