openSuSE11.0 Apache2 start problem

Hi, hoping for help from you
Running SuSE11.0 Apache2 MySQL and using PHP.
Last days I have got problem with the Apacheserver on localhost.
Trying to start Apache I got these messages:

dhcppc0:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 116 of /etc/apache2/httpd.conf: Syntax error on line 28 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_authz_svn.so into server: /usr/lib64/apache2/mod_authz_svn.so: undefined symbol: dav_svn_split_uri

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

Anyone who can help?

/usr/sbin/a2dismod authz_svn

Thanks for answering, but I dont understand

That command removes the problematic authz_svn from the list of modules in /etc/sysconfig/apache2, in the setting APACHE_MODULES.

Running
dhcppc0:~ # /usr/sbin/a2dismod authz_svn
“authz_svn” not present

dhcppc0:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 116 of /etc/apache2/httpd.conf: Syntax error on line 28 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: dav_register_provider

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed

In file
/etc/sysconfig/apache2

your settings

APACHE_MODULES=“authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap php5 dav_svn authz_default”

Need your expertize here

Ok, take out the dav_svn module also.

/usr/sbin/a2dismod authz_svn
/usr/sbin/a2dismod dav_svn

dhcppc0:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 7 of /etc/apache2/conf.d/usvn.conf:
Invalid command ‘DAV’, perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed

/etc/apache2/conf.d/usvn.conf
<Directory /srv/www/htdocs/usvn>
Options +FollowSymlinks
AllowOverride FileInfo Limit
</Directory>

<Location /srv/www/htdocs/usvn/svn/>
DAV svn
Require valid-user
SVNParentPath /srv/www/htdocs/usvn/files/svn
SVNListParentPath off
AuthType Basic
AuthName “USVN”
AuthUserFile /srv/www/htdocs/usvn/files/htpasswd
AuthzSVNAccessFile /srv/www/htdocs/usvn/files/authz
</Location>

what now? :slight_smile:

Take out everything to do with DAV. However if you really wanted DAV, then there is some unsatisfied dependency of those two modules you have to remedy. I can’t help you with that, I don’t know much about DAV on Apache. Nothing recent anyway.

Thank you very much, good to know a person who know his own limits and admits them.
If it does not work I may try to reinstall Apache
Thanks so far. I will let you know
:slight_smile: