SOLVED: subversion/apache2 errors
On Fri, 2008-01-11 at 09:28 +0100, brucosta@pt.lu wrote:
> Quoting michael <cs@networkingnewsletter.org.uk>:
>
> > I've tried numerous variations for getting subversion working on apache2
> > but whatever I tried gave the "Could not open the requested SVN
> > filesystem" error. Does anybody have a simple guide to getting this
> > working on Debian etch? Particularly, I guess, the necessary permissions
> > for the repository (I'm using /usr/local/SUBVERSION for the root for
> > repositories eg /usr/local/SUBVERSION/repos1). Thanks, Michael
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
> Hello,
>
> could you please indicate your commands or more info ?
> Note: if I remember correctly, three characters '/' are needed, eg.
> svn import . file:///var/svn/repos/test
Here's some more info:
michael@ratty:/etc/apache2/mods-available$ sudo /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)... waiting .
michael@ratty:/etc/apache2/mods-available$ ps -elf | grep apache2
1 S root 20585 1 0 78 0 - 2664 - 09:56 ? 00:00:00 /usr/sbin/apache2 -k start
5 S www-data 20586 20585 0 84 0 - 2607 377250 09:56 ? 00:00:00 /usr/sbin/apache2 -k start
5 S www-data 20587 20585 0 85 0 - 58037 pipe_w 09:56 ? 00:00:00 /usr/sbin/apache2 -k start
5 S www-data 20589 20585 0 84 0 - 57998 pipe_w 09:56 ? 00:00:00 /usr/sbin/apache2 -k start
0 S michael 20648 20429 0 78 0 - 820 pipe_w 09:56 pts/3 00:00:00 grep apache2
michael@ratty:/etc/apache2/mods-available$ grep -v -e '^#' -e ' #' dav_svn.conf|cat -s
<Location /svn>
DAV svn
SVNPath /var/www/michael/SUB
</Location>
michael@ratty:/etc/apache2/mods-available$ ls -alt /var/www/michael/SUB/test/
total 36
drwxr-xr-x 7 www-data www-data 4096 Jan 11 10:05 ./
drwxr-xr-x 3 www-data www-data 4096 Jan 11 10:05 ../
drwxr-xr-x 2 www-data www-data 4096 Jan 11 10:05 conf/
drwxr-xr-x 2 www-data www-data 4096 Jan 11 10:05 dav/
drwxr-sr-x 5 www-data www-data 4096 Jan 11 10:05 db/
-r--r--r-- 1 www-data www-data 2 Jan 11 10:05 format
drwxr-xr-x 2 www-data www-data 4096 Jan 11 10:05 hooks/
drwxr-xr-x 2 www-data www-data 4096 Jan 11 10:05 locks/
-rw-r--r-- 1 www-data www-data 229 Jan 11 10:05 README.txt
I've now realised that my mistake was to have
SVNPath /var/www/michael/SUB
rather than
SVNParentPath /var/www/michael/SUB
(since I want to repositorites below SUB)
Michael
Reply to: