Well here is an overview of how I set things up. First, Fedora Core 2
comes with the correct version of the Berkeley DB, but an older version
of the Apache runtime. Here are the steps:
1. Removed (or did not install) Fedora distribute Apache HTTP Server.
2. Downloaded apr-0.9.5-0.4.rpm and applied it to Fedora.
3. Downloaded Apache HTTP Server 2.0.52.
4. In httpd-2.0.52:
$ ./configure --enable-mods-shared=all --enable-dav \
--enable-so --enable-ssl --enable-vhost-alias --enable-deflate
$ make
# make install
5. Downloaded Subversion 1.1.1, unpacked and ran the following:
$ ./autogen.sh
$ ./configure
$ make
# make install
6. This should put the svn modules in the /usr/local/apache2/modules
directory. If not then something is not good.
7. Added the following to the httpd.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn/repos>
DAV svn
SVNPath /media/svn/eel
</Location>
8. Created a SVN project:
$ svnadmin create /media/svn/eel
9. Changed all files to apache user and group with correct permissions.
$ cd /media
$ find svn -exec chmod apache.apache {} \;
$ find svn -type d -exec chmod 770 {} \;
$ find svn -type f -exec chmod 660 {} \;
$ chmod 755 /media
10. Started apache and hit the URL "http://localhost/svn/eel". At first
I forgot to execute the chmod on /media and received a similar error you
are noting.
The only other suggestion I have, is to use a directory off root (like
/media). This will remove any doubts about the issues of the mounted
hard disk. It should work, but do a simple install first. After working,
add more complexity until you have it where you want it.
Hope this helps.
Kurt
Nachiket Gokhale wrote:
>On Mon, 8 Nov 2004, Kurt Kessel wrote:
>
>
>
>>I am running on Fedora Core 2. What OS are you running?
>>
>>
>
> The same. Fedora Core 2.
>
> -Nachiket.
>
>
>
>>K
>>
>>
>>Nachiket Gokhale wrote:
>>
>>
>>
>>>On Sun, 7 Nov 2004, Kurt Kessel wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I had a similar problem, but not quite the same. Make sure that the
>>>>directories up to the "svn" directory are readable. Usually this is
>>>>"755" for the immediate directory and its parents, recursively.
>>>>
>>>>
>>>>
>>>>
>>> Those are exactly my permissions. I wonder what is going wrong.
>>>
>>> -Nachiket.
>>>
>>>
>>>
>>>
>>>
>>>>Kurt
>>>>
>>>>
>>>>Nachiket Gokhale wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>>>>>I get the following error when browsing by repository through Apache.
>>>>>>>>>
>>>>>>>>><D:error>
>>>>>>>>><C:error/>
>>>>>>>>><m:human-readable errcode="160000">
>>>>>>>>>Could not open the requested SVN filesystem
>>>>>>>>></m:human-readable>
>>>>>>>>></D:error>
>>>>>>>>>
>>>>>>>>>relevant httpd.conf is
>>>>>>>>>
>>>>>>>>><Location /NonLin/repos>
>>>>>>>>>DAV svn
>>>>>>>>>SVNPath /mnt/hda1/svn/NonLin/repos
>>>>>>>>></Location>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>The path suggests you have your repos on a mount. Is that true? If so,
>>>>>>it's not supported: you can't run a bdb repository on any kind of
>>>>>>network mount. If you have to, use fsfs.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>It is not a network mount, just a second IDE hard disk. Should that break
>>>>>things.
>>>>>
>>>>>I re-installed apache and subversion to use the same berkeley db (4.2) and
>>>>>now I get this in my http error_log
>>>>>
>>>>>[Sat Nov 06 17:09:29 2004] [error] [client 128.197.173.208] (20014)Error
>>>>>string not specified yet: Berkeley DB error while opening environment for
>>>>>filesystem /mnt/hda1/svn/NonLin/repos/db:\nInvalid argument
>>>>>[Sat Nov 06
>>>>>17:09:29 2004] [error] [client 128.197.173.208] Could not fetch resource
>>>>>information. [500, #0] [Sat Nov 06 17:09:29 2004] [error] [client
>>>>>128.197.173.208] Could not open the requested SVN filesystem [500,
>>>>>#160029]
>>>>>[Sat Nov 06 17:09:29 2004] [error] [client 128.197.173.208] Could
>>>>>not open the requested SVN filesystem [500, #160029]
>>>>>
>>>>>Any ideas on how to correct this?
>>>>>
>>>>>-Nachiket.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>bye,
>>>>>>
>>>>>>
>>>>>>Erik.
>>>>>>
>>>>>>PS: Thanks for the log information, but there may have been one more
>>>>>>line; something like 'resource unavailable'.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>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
>
>
>
>
Received on Tue Nov 9 04:04:58 2004