Verifica que no aparezca nada en audit.log....
egrep httpd /var/log/audit/audit.log | egrep denied
Si te aparece algo tendras hacer: ls -lhZd /var/www/html ...para ver cual es el contexto de seguridad y compararlo con lo que te da el mismo comando pero contra el directorio que pretendes que apache lea y escriba. Si son distintos cambiarlos con chcon creo...
Otra alternativa que exigue creo modo grafico es usar setroubleshoot
Comenta como te fue...
Saludos
Sent from my Windows Phone ________________________________ From: Javier Escotemailto:fjescote@gmail.com Sent: 10/9/2014 6:44 AM To: centos-es@centos.orgmailto:centos-es@centos.org Subject: [CentOS-es] Problema con subversion 1.8.10 (r1615264)
Hola a todos,
He instalado en Centos 6.5 la versión 1.8.10 de subversion pero obtengo el siguiente error en el navegador:
<D:error><C:error/><m:human-readable errcode="2"> Could not open the requested SVN filesystem </m:human-readable></D:error>
en el log de apache aparece: [Thu Oct 09 12:30:58 2014] [error] [client 127.0.0.1] (20014)Internal error: Can't open file '/var/www/svn/testrepo/format': No such file or directory [Thu Oct 09 12:30:58 2014] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0] [Thu Oct 09 12:30:58 2014] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #2] [Thu Oct 09 12:30:58 2014] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #2]
la configuración es la siguiente: en httpd.conf <VirtualHost *:80> ServerAdmin yo@xyz.com DocumentRoot /var/www/svn/repos ServerName svn.xyz.local ErrorLog logs/svn.xyz-error_log CustomLog logs/xyz-access_log common </VirtualHost>
en subversion.conf # WANdisco Subversion Configuration # For more information on HTTPD configuration options for Subversion please see: # http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html # Please remember that when using webdav HTTPD needs read and write access your repositories.
# Needed to do Subversion Apache server. LoadModule dav_svn_module modules/mod_dav_svn.so # Only needed if you decide to do "per-directory" access control. LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos> DAV svn # SVNPath /var/svn/repos SVNParentPath /var/www/svn AuthType Basic AuthName "Authorization Realm" AuthUserFile /var/www/svn/users/passwords AuthzSVNAccessFile /var/www/svn/permissions/svnaccess <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location>
el fictero svnaccess: [/] * = r jescote = rw
[testrepo:/] jescote = rw
y la creacion del repositorio es svnadmin create testrepo chown -R apache:apache testrepo
llevo con este error varios días, buscando mil soluciones y no funciona ninguna.
Agradecería cualquier ayuda, GRACIAS _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es