You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Lee <ja...@theleehouse.net> on 2004/07/07 19:04:48 UTC

Invalid Argument

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having an odd problem with my repo.  Just this morning, I was able
to view the repo through my web browser, and I was able to check out
code via http.  I was about to import some more code, so I thought I'd
dump the repo just in case I need to rollback the import.  When I ran
the dump command, though, this is what happened:

[ss@mythtv ss]$ svnadmin dump ~/svn > ~/svn.dump
svn: Berkeley DB error while opening environment for filesystem
/home/ss/svn/db:
Invalid argument

I then tried recover:

[ss@mythtv ss]$ svnadmin recover /home/ss/svn
Please wait; recovering the repository may take some time...
svn: Invalid argument

That command fails as root as well.  I have verified that the ss user
has rw privs on all files (and x on all dirs), but that has not made any
difference.

I have not made any software changes since creating this repo
(yesterday).  Obviously, something happened, but I don't know what, and
that's what scares me.

Anybody have any ideas?  Thanks!

- --
jason lee
Steeplesoft -- http://www.steeplesoft.com
README.txt  -- http://jason.theleehouse.net
Bosco       -- http://bosco.sourceforge.net
Public Key  -- http://jason.theleehouse.net/pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA7ElPQJAydrmp8lMRAoCJAJ0XB9C/8GeBQvZMflo2SrXOsL5ZHwCgs7mM
91F0GaMVPmR0qLzRvJ0Y65s=
=JhG2
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Invalid Argument

Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-07-07 at 14:04, Jason Lee wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm having an odd problem with my repo.  Just this morning, I was able
> to view the repo through my web browser, and I was able to check out
> code via http.  I was about to import some more code, so I thought I'd
> dump the repo just in case I need to rollback the import.  When I ran
> the dump command, though, this is what happened:
> 
> [ss@mythtv ss]$ svnadmin dump ~/svn > ~/svn.dump
> svn: Berkeley DB error while opening environment for filesystem
> /home/ss/svn/db:
> Invalid argument

You're using DB 4.1, and this looks to me like the classic inexplicable
bug whereby a table "changes type" suddenly.  I know that MaxB and
cmpilato have been able to repair this tweak manually... so perhaps you
can post an archive of your repository for us to look at.  

We spent months trying to figure out why this happens.  Then db 4.2 came
out, which was faster and didn't have the bug, so we've started
recommending that version instead.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org