I've just built an svn server that works with apache & Berkely DB, but when I try to do a simple svn ls, I get the following message:
svn ls http://localhost:8080/svn/repos
svn: PROPFIND request failed on '/svn/repos'
svn: Can't set position pointer in file '/local/svn/repository/db/revs/0': Invalid argument
My apache error log looks like:
[Tue Nov 06 19:51:05 2007] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0]
[Tue Nov 06 19:51:05 2007] [error] [client 127.0.0.1] Could not open the root of the repository [500, #22]
[Tue Nov 06 19:51:05 2007] [error] [client 127.0.0.1] Can't set position pointer in file '/local/svn/repository/db/revs/0': Invalid argument [500, #22]
I have a somewhat odd setup in that *everything* runs in my user space as me - apache, php, mysql, Berkely DB, svn, python, etc. etc. It all also runs in non-standard directories and apache has to use a non-standard port. Everything was built from source. (Not my decision, but the way it is).
I was careful to watch all the config messages to see that nothing errored out - everything during compile/setup seems right. Because everything is run as me, there are no write permissions errors (apache runs as me so it has the same read/write permissions I do).
I've googled around a bit for this error, but haven't found anything with a solution. Has anyone seen this error before? Any idea what it means or how to solve? I have all my config lines, all my config files - just let me know what you want to see if it will help.