https://bugzilla.novell.com/show_bug.cgi?id=214863 Summary: missing <IfModule> in /etc/apache2/server-tuning.conf and a strange apache exit Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de This report covers two related issues - the first is quite obvious, the second isn't :-/ and caused apache to go down hard :-( First: error_log: Syntax error on line 101 of /etc/apache2/server-tuning.conf: Invalid command 'BrowserMatch', perhaps misspelled or defined by a module not included in the server configuration The BrowserMatch directive comes from mod_setenvif and should be encapsulated in a <IfModule> section. Second: /etc/sysconfig/apache2 contains APACHE_MODULES="apparmor actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 rewrite proxy proxy_http" Please notice that "setenvif" is included in this list, but its BrowserMatch directive was reported as unknown. Unfortunately, this bug caused apache to go down while it was reload'ed by logrotate - this is the reason why I mark this bug critical. To make it even more strange: logrotate called "rcapache reload" several times. Most times it worked, but one time it killed apache :-( Needless to say that I did not change any config file while logrotate run. I'll attach a (commented) error_log sniplet. As far as I can tell, the relevant error message is [error] (9)Bad file descriptor: apr_socket_accept: (client socket) It appeared 5 times on the failed reload. However, it also appears once on every successful reload. (Google found only some people wondering about this message, but no explanation what's wrong.) BTW: The apache error_log seems to be the only one reporting this problem. There's nothing in /var/log/messages about this (like OOM killer) and my status monitoring also doesn't show strange values like high load or high traffic - the only exception is of course the number of running apache processes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.