You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Adalberto Castelo <ca...@qiwi.es.dupont.com> on 2004/06/11 15:17:27 UTC
svnadmin dump/load issue with migrating repository
Hello,
I'm getting some weird behavior in my server when I load up a certain dump
file from one server to another. Here's what I'm doing:
Server 2 has just been installed, and repos2 is empty. First, as a common
user, in server 1:
> svn co https:///server2.domain.com/svn/repos2
> svn mkdir https://server2.domain.com/svn/repos2/repos1 -m "bogus"
> cd ./repos2; svn up
where repos2 is the repos at server2, and repos1 is the repos at server 1.
This part works fine, and now I have the empty dir repos1 in my wc.
Then, as root, in server 1:
# svnadmin dump ./repos1 > r1.dump
Now, in server 2, as root:
# svnadmin load ./repos2 --parent-dir r1 < r1.dump
Now, after this, s2 stops working; as user, in server 1, from same dir as
before:
> svn up
returns:
svn: PROPFIND request failed on '/svn/repos2'
svn: PROPFIND of '/svn/repos2': 500 Internal Server Error (https://
server2.domain.com)
repos1 was working before also, from server1 (either using local access or
https access). System details:
server1: suse 9.0, subversion 1.0.0
server2: gentoo 2004.1, subversion 1.0.4-r1 (their package versioning)
- using apache-ssl only access for server 2
What are the possible causes here? Any hints on what I'm doing wrong? The FAQ
didn't reveal anything on this.
Thanks in advance,
Adalberto
--
Note: My employer chose to include a legal notice below.
This communication is for use by the intended recipient and contains
information that may be privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender
by return e-mail and delete this e-mail from your system. Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer. This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
http://www.DuPont.com/corp/email_disclaimer.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svnadmin dump/load issue with migrating repository [SOLVED]
Posted by Adalberto Castelo <ca...@qiwi.es.dupont.com>.
On Monday 14 June 2004 11:29, Ben Collins-Sussman wrote:
> Did you look at the real error in the apache errorlog? It's probably a
> permissions problem. Apache probably doesn't have permission to
> read/write the database files anymore.
>
> Read this FAQ:
>
> http://subversion.tigris.org/project_faq.html#permissions
You were correct. First, somehow, perhaps only in this particular run, the
repos got corrupted, so I had to run svnadmin recover. After that, the ssl
logs would show the permission denied error. A simple 'chmod apache:apache
-R' on the repos solved the problem. The fact that some of the dumps--I had 5
dumps, was consolidating from 5 separate repos into one--would work only
sometimes (e.g., if they were the first dump loaded) completely threw me off.
I few kinda silly, I have been bitten by permission issues before, should have
checked for that first.
Thanks,
Adalberto
--
Note: My employer chose to include a legal notice below.
This communication is for use by the intended recipient and contains
information that may be privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender
by return e-mail and delete this e-mail from your system. Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer. This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
http://www.DuPont.com/corp/email_disclaimer.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svnadmin dump/load issue with migrating repository
Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-06-11 at 10:17, Adalberto Castelo wrote:
> Then, as root, in server 1:
> # svnadmin dump ./repos1 > r1.dump
> Now, in server 2, as root:
> # svnadmin load ./repos2 --parent-dir r1 < r1.dump
Why are you running these dump/load commands as root? This will cause
the database files to be owned by root. Surely that's not what you
want.
> svn: PROPFIND request failed on '/svn/repos2'
> svn: PROPFIND of '/svn/repos2': 500 Internal Server Error (https://
> server2.domain.com)
Did you look at the real error in the apache errorlog? It's probably a
permissions problem. Apache probably doesn't have permission to
read/write the database files anymore.
Read this FAQ:
http://subversion.tigris.org/project_faq.html#permissions
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org