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

Re: Dumb newbie question

From: Steve Cohen <scohen_at_javactivity.org>
Date: 2005-01-29 17:55:27 CET

Christopher Ness wrote:
> On Sat, 2005-29-01 at 08:48 -0600, Steve Cohen wrote:
> 8-<
>
>>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?
>
>
> What user does apache run as on your system? You can find this in the
> config file or use the `ps` command to find out. That is what you need
> to set the file permissions as in your repository
> /usr/local/svn/myproj
>
>
> If this still fails to read the file system, you likely have a different
> version of BDB compiled into or linked against apache than subversion.
>
> So when apache uses it's BDB access programs to open up the repository
> it fails since they are not the same version.
>
> RPM's on older systems with loose dependencies are painful. I ended up
> building everything from source for my FC1 box (at the time painful, but
> now I have a better understanding of how things work).
>
> Cheers,
> Chris
Thanks, that helped. I don't know where I got the idea that I had no
apache user. I do, and it was just a question of making him owner of
the repository.

However, we now come to the next hurdle.

In chapter 5 of the SVN book, it recommends importation of an initial
layout, in which each root project directory has three subdirectories,
/project/trunk, /project/branches, and /project/tags.

I do this, and then I import my actual source tree. But there seems to
be no relation between this and the three "layout folders". That is,
after the import command

# svn import myproj http://localhost/svn/myproj -m 'Initial Load'

I see this:

Revision 2: /myproj

     * ..
     * WebRoot/
     * branches/
     * src/
     * tags/
     * trunk/

In other words the source code appears in branches that are peers of
these original "layout" folders, not underneath them. Clicking through
the src and WebRoot directories does bring up the source code. Is this
what I should have? If so, then I don't understand the function of the
branches, tags, and trunk directories. If not, what is the proper
import command to import the source tree?

Thanks

Steve Cohen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 29 17:57:37 2005

This is an archived mail posted to the Subversion Users mailing list.