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

Dumb newbie question

From: Steve Cohen <scohen_at_javactivity.org>
Date: 2005-01-29 15:48:07 CET

Okay, here's my situation and "requirements". I'm really just playing
with subversion at this point in time to gain familiarity with the tool.

I've installed subversion on my RedHat 9.0, setting it up to use the
Apache server. I know little about Apache. I don't really intend at
this point to open my repository to the world, I will be the only user
for the forseeable future and I want to access my repository as localhost.

Installing subversion on 9.0 was really a struggle. The RPM
instructions are not quite right, and I wound up disabling my apache
server until I got it right. But apache now starts and runs.

Following the documented directions I added the following to httpd.conf

LoadModule dav_svn_module modules/mod_dav_svn.so

...

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
</Location>
no authentication yet, let's get it working first.

I created a repository using
$ svnadmin create /usr/local/svn/myproj

I created an initial layout as documented:

$ cd ~/tmp
$ ls -lR
.:
total 4
drwxrwxr-x 5 scohen scohen 4096 Jan 25 21:41 myproj

./myproj:
total 12
drwxrwxr-x 2 scohen scohen 4096 Jan 25 21:41 branches
drwxrwxr-x 2 scohen scohen 4096 Jan 25 21:41 tags
drwxrwxr-x 2 scohen scohen 4096 Jan 25 21:41 trunk

./myproj/branches:
total 0

./myproj/tags:
total 0

./myproj/trunk:
total 0

and then add it to svn:
$ svn import myproj file:///usr/local/svn/myproj
Adding myproj/trunk
Adding myproj/branches
Adding myproj/tags

Now I browse to http://localhost/svn/myproj and get the error message
"Could not open the requested SVN filesystem". I get a similar error
message when trying to link to the repsitory from the SVN eclipse plugin.

So, what have I done wrong? I know it's something dumb. I google this
error message and find various statements saying the the uid:gid MUST be
apache:apache but I don't have either an apache user or group on my
system. (RedHat does not set it up that way). root seems to own all
the apache files themselves. Specifically, what files must be set this
way? Just the subversion repository or what?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 29 15:50:18 2005

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.