Apache DAV SVN not working

Anyone got an idea why I can’t use these modules?

# rcapache2 restart httpd2-prefork: Syntax error on line 117 of /etc/apache2/httpd.conf: Syntax error on line 30 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/apache2/mod_dav_svn.so: undefined symbol: svn_urlpath__canonicalize

# rpm -qa | grep -i -e dav -e svn -e apache -e subversion subversion-server-1.6.17-1.27.2 apache2-2.2.12-1.42.1 cryptsetup-1.0.5_SVNr46-58.37.3 apache2-prefork-2.2.12-1.42.1 subversion-doc-1.4-1.15 subversion-1.6.17-1.11.1 apache2-utils-2.2.12-1.42.1 libcryptsetup0-1.0.5_SVNr46-58.37.3 SuSEfirewall2-3.6_SVNr208-2.7.1 subversion-tools-1.6.17-1.27.2

[CODE]# zypper lr

| Alias | Name | Enabled | Refresh

—±---------------------------------------------------±---------------------------±--------±-------
1 | SLE11-SDK-SP3-Pool | SLE11-SDK-SP3-Pool | Yes | Yes
2 | SLE11-SDK-SP3-Updates/ | SLE11-SDK-SP3-Updates | Yes | Yes
9 | SLES11-SP3-Pool | SLES11-SP3-Pool | Yes | Yes
10 | SLES11-SP3-Updates | SLES11-SP3-Updates | Yes | Yes[/CODE]

Hi
It’s in the subversion-server package, does the md5sum match below?

/usr/lib64/apache2/mod_dav_svn.so
MD5: 4275df606cef72f5c9c4cd7f94c8e709
2014-03-31 22:49:42
156,536 bytes

Else force the re-install of the package;

zypper in -f subversion-server


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Unfortunately, it does match.

md5sum /usr/lib64/apache2/mod_dav_svn.so

4275df606cef72f5c9c4cd7f94c8e709 /usr/lib64/apache2/mod_dav_svn.so

Hi
So the two error lines if the apache conf and loadmodules conf, what do
they say?


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi jmroth,

does “ldd /usr/lib64/apache2/mod_dav_svn.so” report anything unusual, i.e. missing libraries? (The symbol is, iirc, from “/usr/lib64/libsvn_subr-1.so.0”)

Regards,
Jens

I now ran Automatic Update and it seems to be fine again:

Before:

strings /usr/lib64/libsvn_subr-1.so.0 | grep canonicalize

svn_path_canonicalize
svn_dirent_canonicalize
svn_uri_canonicalize
svn_opt__arg_canonicalize_path
svn_opt__arg_canonicalize_url

After:

strings /usr/lib64/libsvn_subr-1.so.0 | grep canonicalize

svn_path_canonicalize
svn_relpath_canonicalize
svn_dirent_canonicalize
svn_uri_canonicalize
svn_fspath__canonicalize
svn_urlpath__canonicalize
svn_opt__arg_canonicalize_path
svn_opt__arg_canonicalize_url

zypper history shows

/var/log/zypp/history:# 2014-08-06 18:27:27 subversion-1.6.17-1.27.2.x86_64.rpm installed ok

So that must have been it.