[opensuse] apache won't start
As of, I think, today - but definitely since the weekend, Apache has failed to start at boot time, and won't start subsequently. The message in the system log says: <paste> 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 </paste> Line 28 of the file says, as you would expect: <paste> LoadModule authz_svn_module /usr/lib64/apache2/mod_authz_svn.so </paste> There is nothing in the Apache error log. Can anyone help with this? Thanks, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Peter Bradley wrote:
As of, I think, today - but definitely since the weekend, Apache has failed to start at boot time, and won't start subsequently. The message in the system log says:
<paste>
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
</paste>
Line 28 of the file says, as you would expect:
<paste>
LoadModule authz_svn_module /usr/lib64/apache2/mod_authz_svn.so
</paste>
There is nothing in the Apache error log.
Can anyone help with this?
In /etc/sysconfig/apache try altering APACHE_MODULES such that 'dav_svn' comes before 'authz_svn'. -- /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Per Jessen:
In /etc/sysconfig/apache try altering APACHE_MODULES such that 'dav_svn' comes before 'authz_svn'.
Hi Per, Thanks for the reply. I changed APACHE_MODULES in /etc/sysconfig/apache2 as follows: 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_svn authz_default" ... but I still get the same error when apache tries to restart: /etc/init.d/apache2 start returned 1 (unspecified error): Cheers Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Peter Bradley wrote:
I changed APACHE_MODULES in /etc/sysconfig/apache2 as follows:
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_svn authz_default"
... but I still get the same error when apache tries to restart:
/etc/init.d/apache2 start returned 1 (unspecified error):
So you still have the 'undefined symbol: dav_svn_split_uri' message? In your APACHE_MODULES lines above, I don't see any 'dav' - I think you need that too. /Per -- /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Per Jessen:
So you still have the 'undefined symbol: dav_svn_split_uri' message?
In your APACHE_MODULES lines above, I don't see any 'dav' - I think you need that too.
/Per
Hi Per, You are absolutely correct. It needed dav in there: 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 dav_svn authz_svn authz_default" Why this should suddenly have happened, I don't know; and I guess I never will. But at least it's working now, thanks to you. I'm grateful. Cheers Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Peter Bradley wrote:
Ysgrifennodd Per Jessen:
So you still have the 'undefined symbol: dav_svn_split_uri' message?
In your APACHE_MODULES lines above, I don't see any 'dav' - I think you need that too.
/Per
Hi Per,
You are absolutely correct. It needed dav in there:
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 dav_svn authz_svn authz_default"
Why this should suddenly have happened, I don't know; and I guess I never will. But at least it's working now, thanks to you.
I'm grateful.
Peter, I'm really pleased you got it to work - I was mostly making some wild guesses (based on a bit of googling). Now, what language has a word like 'Ysgrifennodd'? Okay, google is my friend - Welsh? -- /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Per Jessen:
Now, what language has a word like 'Ysgrifennodd'? Okay, google is my friend - Welsh?
Yep. Welsh. One of the words we borrowed from the Romans about 1500 years ago. I hope they don't ask for it back. Pronounced Uh-sgriv-en-oth, by the way, where 'th' represents the 'th' in the word 'the'. 'Dd' is a digraph. Cheers Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Peter Bradley:
Hi Per,
You are absolutely correct. It needed dav in there:
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 dav_svn authz_svn authz_default"
Why this should suddenly have happened, I don't know; and I guess I never will. But at least it's working now, thanks to you.
I'm grateful.
Cheers
Peter
Sorry to reply to myself, but it looks as though I spoke too soon. Apache is now fine, but the vmware service has shut down and won't restart. It looks as though these two things don't want to co-exist. Nuisance. Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Per Jessen
-
Peter Bradley