Oops, thanks for pointing that out. Op 12-okt-2006, om 19:51 heeft Ryan Schmidt het volgende geschreven:
Elise,
Don't forget to use Reply To All so your replies get to the list.
On Oct 12, 2006, at 12:13, Elise van Looij wrote:
Op 12-okt-2006, om 18:39 heeft Ryan Schmidt het volgende geschreven:
The error message says Apache thinks it's supposed to look for the repository in /usr/local/Subversion. Why does it think that? Somewhere in your Apache configuration files it must have this path defined. Find that place and change it to the path you wanted it to look at, /usr/local/svn-repository, or if the lines you found are redundant with the lines you already had, remove them.
Oops, that was an old repository, which I've deleted since. At the moment though I only have /usr/local/svn-repository and in my httpd.conf: <Location /svn> DAV svn SVNPath /usr/local/svn-repository </Location>
I've checked both then did a restart, looked in the Apache error log and found this:
[Thu Oct 12 18:52:14 2006] [notice] caught SIGTERM, shutting down [Thu Oct 12 18:53:09 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Thu Oct 12 18:53:13 2006] [notice] Digest: generating secret for digest authentication ... [Thu Oct 12 18:53:13 2006] [notice] Digest: done [Thu Oct 12 18:53:13 2006] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available [Thu Oct 12 18:53:13 2006] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise <----------SNIP repeat the DBD message 4 times-------------->
I don't think the DBD error messages are related to Subversion. I used to see them too, until I commented out (i.e., put a # before) the following lines in the httpd.conf:
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule dbd_module modules/mod_dbd.so
[Thu Oct 12 18:53:13 2006] [notice] Apache/2.2.3 (Unix) mod_ssl/ 2.2.3 OpenSSL/0.9.8d DAV/2 PHP/5.1.5 SVN/1.4.0 configured -- resuming normal operations [Thu Oct 12 18:54:45 2006] [error] [client ::1] (20014)Internal error: Can't open file '/usr/local/svn-repository/format': No such file or directory [Thu Oct 12 18:54:45 2006] [error] [client ::1] Could not fetch resource information. [500, #0] [Thu Oct 12 18:54:45 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 18:54:45 2006] [error] [client ::1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 12 18:54:47 2006] [error] [client ::1] File does not exist: /opt/local/apache2/htdocs/favicon.ico [Thu Oct 12 18:54:47 2006] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available [Thu Oct 12 18:54:47 2006] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
So, like you say, it can't find /usr/local/svn-repository/format but it *is* there, I can see the folder in the Finder in my Home directory, in terminal "ls svn-repository" shows me a list of the files inside the folder, including format. But for Apache all this is invisible.
What do you mean, you can see the folder in the Finder "in your Home directory"? /usr/local is a system directory and is not under your home directory. If you have put svn-repository under your home directory, then you need to give Apache the correct and complete path to it, which would be /Users/yourusername/svn-repository. If you have created the entire hierarchy /usr/local/svn-repository under your home directory for some reason, then you need to tell Apache the path /Users/yourusername/usr/local/svn-repository.
Elise van Looij