[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: First installation of SVN, need some help please

From: P Tai <ptai001_at_yahoo.com>
Date: 2006-10-17 00:57:12 CEST

It is resolved. I had to rebuild svn using the apr and apr-util in httpd-2.2.3. Thanks for the help. Paul. ----- Original Message ---- From: P Tai <ptai001_at_yahoo.com> To: users_at_subversion.tigris.org Sent: Monday, October 16, 2006 3:29:30 PM Subject: Re: First installation of SVN, need some help please Thanks. I think the book is fine, just my fault. I rushed through too quickly and got mixed up with the SVNPath and SVNParentPath steps. However now I got a different error. The httpd.conf is still the same. I created a repository aes and this happened: [15:02:56 svn_at_saruman]$ ll /usr/local/svnroot total 8 drwxrwsr-x 7 svn svn 4096 Oct 16 15:02 aes/ [15:03:10 svn_at_saruman]$ ll /usr/local/svnroot/aes total 56 drwxrwsr-x 2 svn svn 4096 Oct 16 15:02 conf/ drwxrwsr-x 2 svn svn 4096 Oct 16 15:02 dav/ drwxrwsr-x 5 svn svn 4096 Oct 16 15:02 db/ -r--r--r-- 1 svn svn 2 Oct 16 15:02 format drwxrwsr-x 2 svn svn 4096 Oct 16 15:02 hooks/ drwxrwsr-x 2 svn svn 4096 Oct 16 15:02 locks/ -rw-rw-r-- 1 svn svn 229 Oct 16 15:02 README.txt [15:04:46 svn_at_saruman]$ svn checkout http://10.8.51.13/svnroot/aes test svn: PROPFIND request failed on '/svnroot/aes' svn: Can't set position pointer in file '/usr/local/svnroot/aes/db/revs/0': Invalid argument Paul. ----- Original Message ---- From: Ryan Schmidt <subversion-2006d_at_ryandesign.com> To: P Tai <ptai001_at_yahoo.com> Cc: users_at_subversion.tigris.org Sent: Monday, October 16, 2006 3:17:01 PM Subject: Re: First installation of SVN, need some help please On Oct 16, 2006, at 15:50, P Tai wrote: > I followed the INSTALL document – > - build and installed Apache httpd 2, started httpd as user svn. > Following line added to httpd.conf: > ..... > LoadModule dav_svn_module modules/mod_dav_svn.so > LoadModule authz_svn_module modules/mod_authz_svn.so > ..... > <Location /svnroot/> > DAV svn > SVNParentPath /usr/local/svnroot > </Location> Using SVNParentPath means that /usr/local/svnroot should be a directory containing multiple repositories, however... > [13:30:35 root_at_saruman]$ cd /usr/local > > [13:31:41 root_at_saruman]$ ll svnroot > total 56 > drwxrwsr-x 2 svn svn 4096 Oct 16 11:54 conf > drwxrwsr-x 2 svn svn 4096 Oct 16 11:54 dav > drwxrwsr-x 5 svn svn 4096 Oct 16 11:54 db > -r--r--r-- 1 svn svn 2 Oct 16 11:54 format > drwxrwsr-x 2 svn svn 4096 Oct 16 11:54 hooks > drwxrwsr-x 2 svn svn 4096 Oct 16 11:54 locks > -rw-rw-r-- 1 svn svn 229 Oct 16 11:54 README.txt ...we see that your /usr/local/svnroot is itself a repository. So, decide: Do you want to have multiple repositories, or a single one? If multiple, remove the contents of /usr/local/svnroot and create multiple repositories inside it: cd /usr/local/svnroot rm -rf * svnadmin create repo1 svnadmin create repo2 etc. On the other hand, if you want a single repository, change SVNParentPath in your apache conf to SVNPath. How did you decide that you should use SVNParentPath for a single repository? Many people write to this list having made this same mistake, and if there's some tutorial out there that's suggesting this, or something unclear in the book, I'd like to know where it is so we can get it corrected so others don't have the same problem. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on Tue Oct 17 00:58:00 2006

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.