Problème subversion : Could not open the requested SVN filesystem
Configuration du serveur
Paquets installés
strider@strycore:~/svn/tweekers$ apt-cache policy apache2 libapache2-svn subversion subversion-tools
apache2:
Installé : 2.2.8-1ubuntu0.2
Candidat : 2.2.8-1ubuntu0.2
Table de version :
*** 2.2.8-1ubuntu0.2 0
500 http://archive.ubuntu.com hardy-proposed/main Packages
100 /var/lib/dpkg/status
2.2.8-1ubuntu0.1 0
500 http://archive.ubuntu.com hardy-updates/main Packages
2.2.8-1 0
500 http://archive.ubuntu.com hardy/main Packages
libapache2-svn:
Installé : 1.4.6dfsg1-2ubuntu1
Candidat : 1.4.6dfsg1-2ubuntu1
Table de version :
*** 1.4.6dfsg1-2ubuntu1 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
subversion:
Installé : 1.4.6dfsg1-2ubuntu1
Candidat : 1.4.6dfsg1-2ubuntu1
Table de version :
*** 1.4.6dfsg1-2ubuntu1 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
subversion-tools:
Installé : 1.4.6dfsg1-2ubuntu1
Candidat : 1.4.6dfsg1-2ubuntu1
Table de version :
*** 1.4.6dfsg1-2ubuntu1 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
Contenu du fichier hosts
strider@strycore:~/svn/tweekers$ cat /etc/hosts
127.0.0.1 localhost
82.225.185.206 strycore.com
82.225.185.206 console.strycore.com
82.225.185.206 domaine2.org
82.225.185.206 svn.strycore.com
192.168.0.2 stcdesktop
Création du dépot
cd /home/strider/svn
svnadmin create tweekers --fs-type fsfs
Problème : Apache n'arrive pas a accéder au dépot
Contenu de http://svn.strycore.com/svn/tweekers
Could not open the requested SVN filesystem
Contenu de /var/log/apache2/error.log
[Tue Jun 03 22:30:37 2008] [error] [client 192.168.3.2] (20014)Internal error: Can't open file '/home/strider/svn/tweekers/format': Permission denied
[Tue Jun 03 22:30:37 2008] [error] [client 192.168.3.2] Could not fetch resource information. [500, #0]
[Tue Jun 03 22:30:37 2008] [error] [client 192.168.3.2] Could not open the requested SVN filesystem [500, #13]
[Tue Jun 03 22:30:37 2008] [error] [client 192.168.3.2] Could not open the requested SVN filesystem [500, #13]
Test de création d'un répertoire
strider@strider-laptop:~$ svn mkdir http://svn.strycore.com/svn/tweekers/branches -m "Création du repertoire branches"
svn: Échec de la requête OPTIONS sur '/svn/tweekers'
svn: Could not open the requested SVN filesystem
Solution trouvée :
Le dépot a été déplacé dans /var/svn , une directive apache empèche peut être d'héberger des fichiers dans le repertoire utilisateur