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

Could not open the requested SVN filesystem [500, #13]

From: Sanjaya Vitharana <sanjaya_at_wavenet.lk>
Date: 2007-09-10 09:04:49 CEST

Hi,

I am new to SVN and trying to install & make it work for a firsttime in linux. I have tried, but do not think this will be hard as this to configure with Apache. Any experts please help. Where am I doing wrong.

Thanks in Advance,

Sanjaya Vitharana.

------------------
[root@vm_linux repos]# uname -a
Linux vm_linux 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
------------------
Apache Install

[root@vm_linux apache]# pwd
/home/sanjaya/setups/apache
[root@vm_linux apache]# tar -xvzf httpd-2.2.4.tar.gz
[root@vm_linux apache]# cd httpd-2.2.4
[root@vm_linux httpd-2.2.4]# ./buildconf
[root@vm_linux httpd-2.2.4]# ./configure --enable-dav --enable-so --enable-maintainer-mode

------------------
Subversion Install

[root@vm_linux subversion]# pwd
/home/sanjaya/setups/subversion
[root@vm_linux subversion]# tar xzvf subversion-1.4.5.tar.gz
[root@vm_linux subversion]# tar xzvf subversion-deps-1.4.5.tar.gz
[root@vm_linux subversion]# cd subversion-1.4.5
[root@vm_linux subversion-1.4.5]# ./configure --with-apxs=/usr/local/apache2/bin/apxs
[root@vm_linux subversion-1.4.5]# ./make
[root@vm_linux subversion-1.4.5]# ./make install

------------------
Creating a repository:

mkdir /home/sanjaya/svn
mkdir /home/sanjaya/svn/repos
svnadmin create --fs-type fsfs /home/sanjaya/svn/repos

chown -R daemon:daemon /home/sanjaya/svn
chmod g+w /home/sanjaya/svn -R

------------------

Web Server Configuration for Subversion:

vi /usr/local/apache2/conf/httpd.conf

User daemon ## was there -- so i do not change
Group daemon ## was there -- so i do not change

## Below are added

ServerName svn.example.com

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

##add this to the *bottom* of your httpd.conf:

<Location /mysvn>
   DAV svn
   SVNPath /home/sanjaya/svn/repos
</Location>

------------------

[root@vm_linux httpd-2.2.4]# /usr/local/apache2/bin/apachectl start

[root@vm_linux root]# tail -f /usr/local/apache2/logs/error_log
[Sun Sep 09 23:29:27 2007] [notice] Apache/2.2.4 (Unix) DAV/2 SVN/1.4.5 configured -- resuming normal operations

[Sun Sep 09 23:29:40 2007] [error] [client 172.16.8.154] (20014)Internal error: Can't open file '/home/sanjaya/svn/repos/format': Permission denied
[Sun Sep 09 23:29:40 2007] [error] [client 172.16.8.154] Could not fetch resource information. [500, #0]
[Sun Sep 09 23:29:40 2007] [error] [client 172.16.8.154] Could not open the requested SVN filesystem [500, #13]
[Sun Sep 09 23:29:40 2007] [error] [client 172.16.8.154] Could not open the requested SVN filesystem [500, #13]

------------------

[root@vm_linux repos]# ls -lR /home/sanjaya/svn/repos
/home/sanjaya/svn/repos:
total 28
drwxrwxr-x 2 daemon daemon 4096 Sep 9 23:28 conf
drwxrwxr-x 2 daemon daemon 4096 Sep 9 23:28 dav
drwxrwsr-x 5 daemon daemon 4096 Sep 9 23:28 db
-r--rw-r-- 1 daemon daemon 2 Sep 9 23:28 format
drwxrwxr-x 2 daemon daemon 4096 Sep 9 23:28 hooks
drwxrwxr-x 2 daemon daemon 4096 Sep 9 23:28 locks
-rw-rw-r-- 1 daemon daemon 229 Sep 9 23:28 README.txt

/home/sanjaya/svn/repos/conf:
total 12
-rw-rw-r-- 1 daemon daemon 684 Sep 9 23:28 authz
-rw-rw-r-- 1 daemon daemon 309 Sep 9 23:28 passwd
-rw-rw-r-- 1 daemon daemon 1457 Sep 9 23:28 svnserve.conf

/home/sanjaya/svn/repos/dav:
total 0

/home/sanjaya/svn/repos/db:
total 28
-rw-rw-r-- 1 daemon daemon 6 Sep 9 23:28 current
-r--rw-r-- 1 daemon daemon 2 Sep 9 23:28 format
-rw-rw-r-- 1 daemon daemon 5 Sep 9 23:28 fs-type
drwxrwsr-x 2 daemon daemon 4096 Sep 9 23:28 revprops
drwxrwsr-x 2 daemon daemon 4096 Sep 9 23:28 revs
drwxrwsr-x 2 daemon daemon 4096 Sep 9 23:28 transactions
-rw-rw-r-- 1 daemon daemon 37 Sep 9 23:28 uuid
-rw-rw-r-- 1 daemon daemon 0 Sep 9 23:28 write-lock

/home/sanjaya/svn/repos/db/revprops:
total 4
-rw-rw-r-- 1 daemon daemon 50 Sep 9 23:28 0

/home/sanjaya/svn/repos/db/revs:
total 4
-rw-rw-r-- 1 daemon daemon 115 Sep 9 23:28 0

/home/sanjaya/svn/repos/db/transactions:
total 0

/home/sanjaya/svn/repos/hooks:
total 36
-rw-rw-r-- 1 daemon daemon 2015 Sep 9 23:28 post-commit.tmpl
-rw-rw-r-- 1 daemon daemon 1638 Sep 9 23:28 post-lock.tmpl
-rw-rw-r-- 1 daemon daemon 2255 Sep 9 23:28 post-revprop-change.tmpl
-rw-rw-r-- 1 daemon daemon 1567 Sep 9 23:28 post-unlock.tmpl
-rw-rw-r-- 1 daemon daemon 2940 Sep 9 23:28 pre-commit.tmpl
-rw-rw-r-- 1 daemon daemon 2044 Sep 9 23:28 pre-lock.tmpl
-rw-rw-r-- 1 daemon daemon 2764 Sep 9 23:28 pre-revprop-change.tmpl
-rw-rw-r-- 1 daemon daemon 1985 Sep 9 23:28 pre-unlock.tmpl
-rw-rw-r-- 1 daemon daemon 2137 Sep 9 23:28 start-commit.tmpl

/home/sanjaya/svn/repos/locks:
total 8
-rw-rw-r-- 1 daemon daemon 139 Sep 9 23:28 db.lock
-rw-rw-r-- 1 daemon daemon 139 Sep 9 23:28 db-logs.lock
[root@vm_linux repos]#
[root@vm_linux repos]#

------------------
Received on Mon Sep 10 09:02:45 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.