You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Johann Melvill <Jo...@tiwest.com.au> on 2006/03/27 06:19:19 UTC

Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argument

I am working on a Red Hat ES 3 server

I have installed (correctly ?) Subversion 1.3.0 using the INSTALL
document issued with the rpm.

I have installed Apache (HTTPD 2.2.0) with the changes to the httpd.conf
file

LoadModule dav_module         modules/mod_dav.so
LoadModule dav_fs_module      modules/mod_dav_fs.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

and

<Location /svn/repos>
    DAV svn
    SVNPath /u01/svn/repos
</Location>

I have created a repository

svnadmin create /u01/svn/repos

I have imported a number of files 

 svn import /tmp/scripts  file:///u01/svn/repos/scripts -m "initial
import"

I can list the repository

 svn ls file:///u01/svn/repos
scripts

But when I do a 

svn ls http://localhost/svn/repos      I get
svn: PROPFIND request failed on '/svn/repos'
svn: Can't set position pointer in file '/u01/svn/repos/db/revs/1':
Invalid argument

What am I doing wrong?  I am logged on as user svn . All the /u01svn
directories have 777 permisions and svn:svn ownership.

Also how do I access this repository from any other computer on the
network. This includes Red Hat, Microsoft Windows XP and SUN Solaris
servers / PC's


Regards

Johann Melvill



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Disclaimer

This e-mail is intended for the person it was addressed to. It may contain privileged and confidential information. If you are not the intended recipient, please inform the sender by return e-mail, delete the e-mail from any computer immediately and destroy any printed or electronic copies. Tiwest accepts no liability for any damage that may be as a result of this e-mail/attachments. Opinions expressed in this e-mail are not necessarily those of Tiwest.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argument

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argumentRedHat enterprise works fine the the RedHat published *UPDATED* httpd RPM.  But it seems to work very poorly if I do anything with the file:// syntax for imports. Rebuil.d your repository, and try working only with https://. 
  ----- Original Message ----- 
  From: Johann Melvill 
  To: users@subversion.tigris.org 
  Sent: Monday, March 27, 2006 1:19 AM
  Subject: Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argument


  I am working on a Red Hat ES 3 server 

  I have installed (correctly ?) Subversion 1.3.0 using the INSTALL document issued with the rpm. 

  I have installed Apache (HTTPD 2.2.0) with the changes to the httpd.conf file 

  LoadModule dav_module         modules/mod_dav.so 
  LoadModule dav_fs_module      modules/mod_dav_fs.so 
  LoadModule dav_svn_module     modules/mod_dav_svn.so 
  LoadModule authz_svn_module   modules/mod_authz_svn.so 

  and 

  <Location /svn/repos> 
      DAV svn 
      SVNPath /u01/svn/repos 
  </Location> 

  I have created a repository 

  svnadmin create /u01/svn/repos 

  I have imported a number of files 

   svn import /tmp/scripts  file:///u01/svn/repos/scripts -m "initial import" 

  I can list the repository 

   svn ls file:///u01/svn/repos 
  scripts 

  But when I do a 

  svn ls http://localhost/svn/repos      I get 
  svn: PROPFIND request failed on '/svn/repos' 
  svn: Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argument 

  What am I doing wrong?  I am logged on as user svn . All the /u01svn directories have 777 permisions and svn:svn ownership.

  Also how do I access this repository from any other computer on the network. This includes Red Hat, Microsoft Windows XP and SUN Solaris servers / PC's



  Regards 

  Johann Melvill 





------------------------------------------------------------------------------


  Disclaimer

  This e-mail is intended for the person it was addressed to. It may contain privileged and confidential information. If you are not the intended recipient, please inform the sender by return e-mail, delete the e-mail from any computer immediately and destroy any printed or electronic copies. Tiwest accepts no liability for any damage that may be as a result of this e-mail/attachments. Opinions expressed in this e-mail are not necessarily those of Tiwest.



------------------------------------------------------------------------------


Re: Can't set position pointer in file '/u01/svn/repos/db/revs/1': Invalid argument

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 3/26/06, Johann Melvill <Jo...@tiwest.com.au> wrote:
>
>
> I am working on a Red Hat ES 3 server
>
> I have installed (correctly ?) Subversion 1.3.0 using the INSTALL document
> issued with the rpm.
>
> I have installed Apache (HTTPD 2.2.0) with the changes to the httpd.conf
> file

That kind of error is often the result of having subversion linked to
a different version of APR than Apache is.  Make sure that they're
both linked against the same version.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org