You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by BlackYoda <Bl...@unholyplayground.com> on 2005/04/12 00:54:43 UTC
please help, svn repository stopped working...
Not sure what happened to make it stop...
I had it all setup and everything was working. I'm using svn 1.1.2 with
webdav on an apache 1.3 based server.
It lets me browse the repoistory just fine. It won't let me create any
new project sub directories tho.
I get the same error using tortise on my PC as I do using svn from the
command line on the server directly.
The error in tortise and on the cmdline from linux is:
Can't create directory '/var/www/svn/repo1/db/transactions/21-1.txn':
Permission denied
The error in the apache error log is:
[Tue Apr 12 01:33:10 2005] [error] [client 216.231.36.176] Could not
create activity /svn/vikingmind/!svn/act/--blah-blah-blah-blah [500, #0]
[Tue Apr 12 01:33:10 2005] [error] [client 216.231.36.176] could not
begin a transaction [500, #13]
[Tue Apr 12 01:33:10 2005] [error] [client 216.231.36.176] Can't create
directory '/var/www/svn/repo1/db/transactions/27-1.txn': Permission
denied [500, #13]
I'm using web-dav with repository level permissions.. I can checkout
from the existing repository no problem.
The svn/ repository directory has these permissions recurisively:
drwxrwxrwx 4 apache apache 4096 Apr 12 01:49 svn
(that is everyone can read and write the files)
Please let me know if you have any idea what may have gone wrong.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: please help, svn repository stopped working...
Posted by Steve Williams <st...@kromestudios.com>.
BlackYoda wrote:
> If anyone knows how to permanently disable selinux I think that would be
> superb.
> Or if anyone knows more about why selinux interferres with
> web_dav/Apache2/subversion and how I can make them play nice then that
> might be good too. But I'm not convinced that selinux is doing anything
> for me period and would like to kill it once and for all probably.
>
> But in the meantime, and in case anyone else has troubles with selinux
> this command disables it (apparently until you reboot):
>
> echo "0" > /selinux/enforce
http://subversion.tigris.org/faq.html#reposperms
mentions that you should run
$ chcon -R -h -t httpd_sys_content_t PATH_TO_REPOSITORY
to set the security context to allow access to the repository.
--
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of
the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or
agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments
to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any
content of this message and its attachments, which does not relate to the official business of the sending company must be taken not
to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s)
are free from computer virus or other defect.
Re: please help, svn repository stopped working...
Posted by John Szakmeister <jo...@szakmeister.net>.
On Tuesday 12 April 2005 01:32, BlackYoda wrote:
> Hi Patrick,
>
> Thanks for your response... Let me correct myself, I am indeed running
> apache 2.0.
> I installed the server so long ago I forgot that I installed apache
> 2.0.
>
> But since I received your response I started digging deeper, and
> discovered what was causing the problem.
> I am running FC3 - and selinux was enabled. Back when I was doing the
> original install I spent hours trying to figure out what was wrong, and
> somehow finally I stumbled across the fact that SELinux was casing
> those access errors, and so I disabled it, and everything worked. It
> probably wormed its way back to enabled on my system when I rebooted a
> while ago, and I have not used the repository much and mostly forgot
> about this issue.
>
> If anyone knows how to permanently disable selinux I think that would
> be superb.
> Or if anyone knows more about why selinux interferres with
> web_dav/Apache2/subversion and how I can make them play nice then that
> might be good too. But I'm not convinced that selinux is doing anything
> for me period and would like to kill it once and for all probably.
This is a pretty well-known FAQ:
http://subversion.tigris.org/faq.html#reposperms
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: please help, svn repository stopped working...
Posted by BlackYoda <Bl...@unholyplayground.com>.
Nevermind my questions about selinux, this time around I found the right
way to disable it permanently, and I don't really care how to make it
work with svn, I don't think I need it.
For some reason, last time around this page was buried deep, this time
around it was near the top of my google:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-section-0068.html
BlackYoda wrote:
> Hi Patrick,
>
> Thanks for your response... Let me correct myself, I am indeed running
> apache 2.0.
> I installed the server so long ago I forgot that I installed apache 2.0.
>
> But since I received your response I started digging deeper, and
> discovered what was causing the problem.
> I am running FC3 - and selinux was enabled. Back when I was doing the
> original install I spent hours trying to figure out what was wrong,
> and somehow finally I stumbled across the fact that SELinux was casing
> those access errors, and so I disabled it, and everything worked. It
> probably wormed its way back to enabled on my system when I rebooted a
> while ago, and I have not used the repository much and mostly forgot
> about this issue.
>
> If anyone knows how to permanently disable selinux I think that would
> be superb.
> Or if anyone knows more about why selinux interferres with
> web_dav/Apache2/subversion and how I can make them play nice then that
> might be good too. But I'm not convinced that selinux is doing
> anything for me period and would like to kill it once and for all
> probably.
>
> But in the meantime, and in case anyone else has troubles with selinux
> this command disables it (apparently until you reboot):
>
> echo "0" > /selinux/enforce
>
> Thanks again, I'm back to happy source control land.
>
>
>
>
> Patrick Burleson wrote:
>
>>On Apr 11, 2005 8:54 PM, BlackYoda <Bl...@unholyplayground.com> wrote:
>>
>>
>>>Not sure what happened to make it stop...
>>>I had it all setup and everything was working. I'm using svn 1.1.2 with
>>>webdav on an apache 1.3 based server.
>>>
>>>
>>>
>>
>>Maybe this is too simple, but doesn't SVN require Apache 2.0 to be the
>>server if your going to use mod_svn? How would one even build it
>>against 1.3?
>>
>>Patrick
>>
>>
>>
>
Re: please help, svn repository stopped working...
Posted by BlackYoda <Bl...@unholyplayground.com>.
Hi Patrick,
Thanks for your response... Let me correct myself, I am indeed running
apache 2.0.
I installed the server so long ago I forgot that I installed apache 2.0.
But since I received your response I started digging deeper, and
discovered what was causing the problem.
I am running FC3 - and selinux was enabled. Back when I was doing the
original install I spent hours trying to figure out what was wrong, and
somehow finally I stumbled across the fact that SELinux was casing those
access errors, and so I disabled it, and everything worked. It probably
wormed its way back to enabled on my system when I rebooted a while ago,
and I have not used the repository much and mostly forgot about this issue.
If anyone knows how to permanently disable selinux I think that would be
superb.
Or if anyone knows more about why selinux interferres with
web_dav/Apache2/subversion and how I can make them play nice then that
might be good too. But I'm not convinced that selinux is doing anything
for me period and would like to kill it once and for all probably.
But in the meantime, and in case anyone else has troubles with selinux
this command disables it (apparently until you reboot):
echo "0" > /selinux/enforce
Thanks again, I'm back to happy source control land.
Patrick Burleson wrote:
>On Apr 11, 2005 8:54 PM, BlackYoda <Bl...@unholyplayground.com> wrote:
>
>
>>Not sure what happened to make it stop...
>>I had it all setup and everything was working. I'm using svn 1.1.2 with
>>webdav on an apache 1.3 based server.
>>
>>
>>
>
>Maybe this is too simple, but doesn't SVN require Apache 2.0 to be the
>server if your going to use mod_svn? How would one even build it
>against 1.3?
>
>Patrick
>
>
>
Re: please help, svn repository stopped working...
Posted by Patrick Burleson <pb...@gmail.com>.
On Apr 11, 2005 8:54 PM, BlackYoda <Bl...@unholyplayground.com> wrote:
> Not sure what happened to make it stop...
> I had it all setup and everything was working. I'm using svn 1.1.2 with
> webdav on an apache 1.3 based server.
>
Maybe this is too simple, but doesn't SVN require Apache 2.0 to be the
server if your going to use mod_svn? How would one even build it
against 1.3?
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org