svn with apache Can't set position pointer in file
From: <sanjeev.kumarroy_at_wipro.com>
Date: Mon, 30 Jun 2008 11:18:06 +0530
Hi,
I am a newbie to the svn community. I had used svnserve some time back
# svn co http://10.138.X.YY:7878/svn/Tool
svn: PROPFIND request failed on '/svn/Tool'
svn: Can't set position pointer in file
If I give the SVNPath as /usr/local/subversion/ then I get the below
# svn co http://10.138.X.YY:7878/svn/repository/
svn: PROPFIND request failed on '/svn/repository'
svn: Could not open the requested SVN filesystem
I followed the steps given below. Please let me know if I made a mistake
Installing httpd-2.2.9 from source:
./buildconf
./configure --enable-dav --enable-so
make
make install
This creates the apache2 directory in /usr/local
Now take subversion-1.4.6.tar.gz and subversion-deps-1.4.6.tar.gz. Untar
Enter the subversion-1.4.6 directory
tar -zxvf subversion-1.4.6.tar.gz
tar -zxvf subversion-deps-1.4.6.tar.gz
cd subversion-1.4.6
cd apr
./configure --prefix=/usr/local/apr
make
make install
cd ../apr-util
./configure --prefix=/usr/local/apr --with-apr=/usr/local/apr/
cd ../neon
./configure --prefix=/usr/local/neon
cd .. (now we are in the subversion 1.4.6 directory)
./configure --prefix=/usr/local/subversion
make
make install
groupadd apache
useradd -g apache -d /usr/local/apache2 apache
cd /usr/local/subversion
svnadmin create repository
(Note that we had been using svnserver over a period of time. So I just
chown -Rv apache.apache /usr/local/apache2
chown -Rv apache.apache /usr/local/subversion/repository/
edit httpd.conf located at /usr/local/apache2/conf
editing httpd.conf file
Listen 10.138.X.YY:7878 (Entered the local IP of the machine and changed
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
(These 2 lines were added after I installed subversion 1.4.6. However
Changed the following
User daemon
Group daemon (around lines 68 & 69)
to
User apache
Group apache
My host doesn't have a registered DNS name so entered its IP in place of
ServerName 10.138.X.YY:7878 (around line 103)
Changed the LogLevel from warn to debug
LogLevel warn
LogLevel debug (around line 98)
Added the following information about accessing the SVN repository at
<Location /svn>
DAV svn
SVNPath /usr/local/subversion/repository
</Location>
NOTE: I have copied the db that was previously used by us using the
Start the apachetl service by issuing the command:
/usr/local/apache2/bin/apachectl start
Now if I try doing a SVN list/check out using http
# svn co http://10.138.X.YY:7878/svn/Tool
svn: PROPFIND request failed on '/svn/Tool'
svn: Can't set position pointer in file
If I give the SVNPath as /usr/local/subversion/ then I get the below
# svn co http://10.138.X.YY:7878/svn/repository/
svn: PROPFIND request failed on '/svn/repository'
svn: Could not open the requested SVN filesystem
NOTE: mod_dav.so is missing from /usr/local/apache2/modules. Please let
Please help..
Thanks.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.