LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2007, 09:58 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
svn: "Can't set position pointer in file" - any idea what that means?


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:

Code:
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:
Code:
[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.
 
Old 11-07-2007, 03:35 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
In case anyone else comes across this - in my case, it meant that I was using the wrong version of apr & apr-util. Apache 2.2.6 requires apr >= 1.2

I found this out by trying to recompile apache using the --with-apr=/some/path config option & it told me that it needed at least 1.2.

svn doesn't have this in their docs - they just mention 0.9 and 1.0

For the record, a recompile of apache was not necessary - simply link svn against the correct apr made svn-server & apache happy together.

Last edited by BrianK; 11-07-2007 at 03:36 PM.
 
  


Reply

Tags
apache, svn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't set leading "s" in file permission toddcurry Linux - General 2 10-19-2006 05:34 PM
how to set "archive" attribute on windows file residing on linux server LarryFrigginWachs Linux - Newbie 2 06-01-2006 07:46 AM
amarok-svn configure on Gentoo: "can't find designer plugins" ghrellin Linux - Software 1 07-31-2005 11:09 AM
which file can i set "ifconfig eth0 up"? Mathsniper Debian 6 04-27-2005 02:17 PM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration