Sistema: Ubuntu 13.10
Não consigo iniciar o Apache2 depois de atualizar o svn para o 1.8.5 [wandisco] ontem. O erro que recebo
$sudo service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/authz_svn.load: Cannot load /usr/lib/apache2/modules/mod_authz_svn.so into server: libsvn_repos-1.so.1: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
[Não há informações adicionais no log do apache]
Eu tentei isso: link
$locate mod_dav_svn.so
/usr/lib/apache2/modules/mod_dav_svn.so
Então eu mudei meu /etc/apache2/mods-enabled/authz_svn.load para:
# Depends: dav_svn
# LoadModule authz_svn_module /usr/lib/apache2/modules/mod_authz_svn.so
LoadModule authz_svn_module /usr/lib/apache2/modules/mod_dav_svn.so
Mas ainda estou recebendo o mesmo erro, apenas com o caminho para o módulo alterado.
$sudo service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/authz_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: libsvn_repos-1.so.1: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
O mais estranho é que ambos os arquivos existem e são legíveis
$ls -la /usr/lib/apache2/modules/mod_authz_svn.so
-rw-r--r-- 1 root root 18872 paź 15 16:03 /usr/lib/apache2/modules/mod_authz_svn.so
$ls -la /usr/lib/apache2/modules/mod_dav_svn.so
-rw-r--r-- 1 root root 173224 paź 15 16:03 /usr/lib/apache2/modules/mod_dav_svn.so
Informações sobre o meu svn:
$svn --version
svn, version 1.8.5 (r1542147)
compiled Nov 19 2013, 15:29:58 on x86_64-unknown-linux-gnu
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
Są dostępne następujące moduły dostępu do repozytorium (RA):
* ra_svn : Moduł umożliwiający dostęp do repozytorium przy pomocy protokołu svn.
- z uwierzytelnianiem Cyrus SASL
- obsługuje protokół 'svn'
* ra_local : Moduł umożliwiający dostęp do repozytorium na lokalnym dysku.
- obsługuje protokół 'file'
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.2
- obsługuje protokół 'http'
- obsługuje protokół 'https'
Estou sem ideias. Eu serei grato por sua ajuda.
UPDATE
Eu downgradeg svn para 1.7.9 - agora funciona.