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

Re: Apache and Subversion on FC3

From: Jim Van Fleet <jim_at_jimvanfleet.com>
Date: 2005-01-24 19:34:00 CET

Martin Tomes wrote:
> Jim Van Fleet wrote:
>
>> Goal:
>> =====
>>
>> To enable a Subversion 1.1.2 repository served up by Apache 2.0.52 on
>> an Fedora Core 3 box.
>
>
> These instructions work for FC3 assuming you have SELlinux set to *not*
> enforce it's security policy:
>
> http://www.subversionary.org/subversionary.cgi/ServerSetupFedoraCore2
>
> If SELinux is in enforcing mode see the Subversion FAQ.

I did have SELinux running, but hadn't reviewed that section of the FAQ.
  (Bad noob, no donut.)

It doesn't, however, seem to have had any effect.

After issuing the following commands:

$ chcon -R -h -t httpd_sys_content_t /home/svn/test-repos
$ chcon -R -h -t httpd_sys_content_t /home/svn/test-fs-repos

I still get the same error_log, reprinted here again:

[Mon Jan 24 12:14:05 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Jan 24 12:14:07 2005] [notice] Digest: generating secret for digest
authentication ...
[Mon Jan 24 12:14:07 2005] [notice] Digest: done
[Mon Jan 24 12:14:07 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Mon Jan 24 12:14:07 2005] [notice] LDAP: SSL support unavailable
[Mon Jan 24 12:14:08 2005] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Mon Jan 24 12:14:09 2005] [notice] Apache/2.0.52 (Fedora) configured --
resuming normal operations
[Mon Jan 24 12:14:48 2005] [error] [client 10.194.51.202] (20014)Error
string not specified yet: Can't open file '/home/svn/test-repos/format':
Permission denied
[Mon Jan 24 12:14:48 2005] [error] [client 10.194.51.202] Could not
fetch resource information. [500, #0]
[Mon Jan 24 12:14:48 2005] [error] [client 10.194.51.202] Could not open
the requested SVN filesystem [500, #13]
[Mon Jan 24 12:14:48 2005] [error] [client 10.194.51.202] Could not open
the requested SVN filesystem [500, #13]
[Mon Jan 24 12:14:48 2005] [error] [client 10.194.51.202] File does not
exist: /var/www/html/favicon.ico

> Your setup looks OK to me. You do need to do a chmod g+s
> /home/svn/test-repos/db so the files end up being created in the right
> group. It's not essential but it helps if you mix access methods.

That's definitely useful for when I do get the repository up and running.

> What URL are you using in Firefox?

http://192.168.1.154/svn/repos

and

http://192.168.1.154/svn/fs-repos

Unfortunately, the repos are only available internally to our network.

> What is in your Apache log file?

See above.

Thanks again for your help.

Cheers,

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 24 19:36:52 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.