Stack Exchange Network. Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. SELinux problem again It's permission problem. But not 'classic' read/write permissions of apache user, but selinux one. Apache cannot write to files labeled as httpdsyscontentt they can be only read by apache. I installed svn 1.6.11 on my centOS 5.6 server and can't get it to run, i always get Could not open the requested SVN filesystem. Here are my infos: the repository i created with svnadmin create yumyum resides in /var/www/svn/repos/. It's been chown'ed recursively and also chmod'ed several times. “Could not open the requested SVN filesystem” Sometimes problems happen. Sometimes problems happen when you install svn with apache 2 and dav. Sometimes after installing all the binaries and editing your apache configuration file (and, naturally, restart apache), you get the following error.
I'm driving crazy, trying to have SVN work properly on my CentOS server
(CentOS release 5.6 Final)
When installing subversion from the official CentOS repositories, I'm
getting version 1.6.11 with its mod_dav_svn.
Everything's ok 'till this point.
I then browse to my website's root directory and execute a shell script
which usually checked out and organize some source codes I wish to install.
(basically, I want to checkout out a whole CMS + some of its plugins, with
some mkdir and cd's directives to checkout the different source codes and
put them in the directories they have to be in)
The sh seems to execute quite well but 2 errors appear with no relevant
reason, when try to checkout 2 of my CMSs plugins :
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/name_of_target_folder' is too old (format 10,
created by Subversion 1.6)
Seems that all my other instructions has been pretty executed, so I browse
to the target folder's parent directory, in which I first wanted to deploy
that so called 'too old working copy' and then try to make a manual 'svn
checkout' which results in ... Same error !
I then decide to try the 'svn upgrade' command, as suggested, which results
in : 'upgrade' unknown command, ???? Ô_Ô
Then, tried to remove subversion 1.6.11 and got the source for the 1.7.5
version, which I did ./configure - make - make install and everything...
Second run with my shell :
* still the same errors on the same plugins
* no further 'svn checkout' or 'svn update' allowed without an 'seems to be
part of subversion 1.7 or greater...' error
* svn upgrade still not working.
Sorry but I just touched the limit between my skills and the real life.
Svn E000002 Can T Open File Cabinet
Can anyone help me with this issue please ?Svn E000002 Can T Open Files
thanks in advance for your answers (and by the way, forgive my english. I'mFrench and did not practice your language for years ^^)
From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 15 May 2008 01:11:11 -0500
On May 15, 2008, at 00:57, Daevid Vincent wrote:
> I am having all kinds of issues trying to import a dump from
> http://cvsdude.com.
> We've been using them, but now would like to move the subversion in-
> house.
>
> root_at_bugs:/tmp# svnadmin load help
> svnadmin: Can't open file 'help/format': No such file or directory
>
> root_at_bugs:/tmp# svnadmin load --force-uuid /var/local/svn/
> svn.mycompany.com
> < web.svn
> svnadmin: Valid UTF-8 data
> (hex:)
> followed by invalid UTF-8 sequence
> (hex: 96 2d 66 6f)
>
> root_at_bugs:/tmp# svnadmin load /var/local/svn/svn.mycompany.com <
> web.svn
>
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem
> '/var/local/svn/svn.mycompany.com/db', transaction '2-1', path
> 'branches'
> * adding path : branches ...root_at_bugs:/tmp#
>
> I tried to delete the 'db' directory and that didn't work either:
> svnadmin: Can't open file '/var/local/svn/svn.mycompany.com/db/
> DB_CONFIG':
> No such file or directory
>
> I tried to point it right at the db and that failed too.
> # svnadmin load /var/local/svn/svn.mycompany.com/db < web.svn
> svnadmin: Expected repository format '3' or '5'; found format '2'
>
> What am I doing wrong? This shouldn't be so difficult.
The way to get help about the svnadmin load command is to type
'svnadmin help load' (not 'svnadmin load help'). You can also read
the book at http://svnbook.org
svnadmin is having trouble converting non-UTF-8 data in the dumpfile
it seems? Do you have the LANG environment variable set to something
that makes sense for your system? If not, please do. Though I didn't
think the dumpfile should ever contain non-UTF-8 data... If it helps
you locate the source of the problem, the butes 96 2d 66 6f, if they
are in the ISO-8859-1 charset, are '–-fo' -- that is, an en-dash, a
dash, the letter f, the letter o. Is that string present in one of
your filenames in the dump? Again it shouldn't be a problem; the
repository should be able to handle UTF-8 filenames. Just trying to
see where the message is coming from.
You're trying to load a complete repository dump into a new empty
local repository, yes? In that case, once svnadmin load fails, you
should delete the repository and recreate a new empty one before
attempting to load again. That should take care of the rest of the
errors you mentioned.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-15 08:11:41 CEST