latest update (centos 5, gpl) kills mod_dav_svn

5 posts / 0 new
Last post
#1 Wed, 04/15/2009 - 12:31
maxslug

latest update (centos 5, gpl) kills mod_dav_svn

After updating on CentOS 5, Virtualmin GPL

I'm getting this error :

httpd: Syntax error on line 178 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/subversion.conf: Cannot load /etc/httpd/modules/mod_dav_svn.so into server: /etc/httpd/modules/mod_dav_svn.so: undefined symbol: dav_register_provider

When trying to run apachectl after updating.
Doing a 'yum upgrade' on mod_dav_svn doesn't help.

I've turned of SVN for now, any ideas?

Thanks, -m

Wed, 04/15/2009 - 12:39
Joe
Joe's picture

Where'd your mod_dav_svn come from? Got any third party yum repositories configured?

--

Check out the forum guidelines!

Wed, 04/15/2009 - 12:59
maxslug

Man you're quick on the draw.

# yum info mod_dav_svn
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "priorities" plugin
Setting up repositories
virtualmin 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
virtualmin-universal 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
16 packages excluded due to repository priority protections
Installed Packages
Name : mod_dav_svn
Arch : x86_64
Version: 1.4.2
Release: 4.el5
Size : 139 k
Repo : installed
Summary: Apache server module for Subversion server.

Description:
The mod_dav_svn package allows access to a Subversion repository
using HTTP, via the Apache httpd server.

Wed, 04/15/2009 - 14:05 (Reply to #3)
Joe
Joe's picture

OK, is mod_dav being loaded first? And dav_fs?

--

Check out the forum guidelines!

Wed, 04/15/2009 - 14:49 (Reply to #4)
andreychek

Yeah, in your /etc/httpd/conf/httpd.conf, there should be a series of LoadModule lines that load "dav_module" and "dav_fs_module" (amongst others) -- those need to be loaded before mod_dav_svn.

You can verify that they're being loaded at all using Webmin -> Servers -> Apache -> Global configuration -> Configure Apache Modules, but you'll have to look at the httpd.conf itself to verify the order that things are being loaded.
-Eric

Topic locked