[Bug 1171718] New: Apache crashes during reload of systemd (logrotation)
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718 Bug ID: 1171718 Summary: Apache crashes during reload of systemd (logrotation) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Apache Assignee: bnc-team-apache@forge.provo.novell.com Reporter: martin.tessun@die-tessuns.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Apache does crash during the systemd reload (probably initiated by logrotate): May 15 00:00:01 <server> systemd[1]: Reloading The Apache Webserver. May 15 00:00:01 <server> systemd[1]: Reloaded The Apache Webserver. May 15 00:00:01 <server> httpd-prefork[20567]: DIGEST-MD5 common mech free May 15 00:00:02 <server> systemd[1]: apache2.service: Main process exited, code=dumped, status=11/SEGV May 15 00:00:02 <server> systemd[1]: apache2.service: Killing process 20818 (httpd-prefork) with signal SIGKILL. May 15 00:00:02 <server> systemd[1]: apache2.service: Killing process 21060 (httpd-prefork) with signal SIGKILL. May 15 00:00:02 <server> systemd[1]: apache2.service: Killing process 3979 (httpd-prefork) with signal SIGKILL. May 15 00:00:02 <server> systemd[1]: apache2.service: Unit entered failed state. May 15 00:00:02 <server> systemd[1]: apache2.service: Failed with result 'core-dump'. Versions: apache2-doc-2.4.41-lp152.5.3.noarch apache2-mod_php7-7.3.15-lp152.1.14.x86_64 apache2-prefork-2.4.41-lp152.5.3.x86_64 apache2-mod_auth_kerb-5.4-lp152.4.4.x86_64 apache2-2.4.41-lp152.5.3.x86_64 apache2-utils-2.4.41-lp152.5.3.x86_64 The apache does also run a mailman service: mailman-2.1.29-lp152.5.1.x86_64 Logrotate is the default configuration from the apache2 package, but I can add it here as needed. The crash can be reproduced easily by just running "systectl reload apache2" systemd output: ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled) Active: failed (Result: core-dump) since Fri 2020-05-15 10:29:42 CEST; 1s ago Process: 10877 ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful (code=exited, status=0/SUCCESS) Process: 5722 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=dumped, signal=SEGV) Main PID: 5722 (code=dumped, signal=SEGV) Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec" May 15 10:29:42 <server> HORDE[5730]: DIGEST-MD5 common mech free May 15 10:29:42 <server> systemd[1]: apache2.service: Main process exited, code=dumped, status=11/SEGV May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5728 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5729 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5732 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5736 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5741 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Killing process 5770 (httpd-prefork) with signal SIGKILL. May 15 10:29:42 <server> systemd[1]: apache2.service: Unit entered failed state. May 15 10:29:42 <server> systemd[1]: apache2.service: Failed with result 'core-dump'. Just so you have all the flags: ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2020-05-15 10:31:34 CEST; 1s ago Process: 10877 ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful (code=exited, status=0/SUCCESS) Main PID: 11005 (httpd-prefork) Status: "Processing requests..." Tasks: 6 CGroup: /system.slice/apache2.service ├─11005 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> ├─11011 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> ├─11012 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> ├─11013 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> ├─11014 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> └─11015 /usr/sbin/httpd-prefork -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C In> May 15 10:31:34 <server> systemd[1]: Starting The Apache Webserver... May 15 10:31:34 <server> systemd[1]: Started The Apache Webserver. And the complete parameters: -DSYSCONFIG -DSSL -DMAILMAN -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -DSYSTEMD -DFOREGROUND -k start The Webserver is running horde webmail and mailman (for completeness). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718#c2
--- Comment #2 from Martin Tessun
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718#c3
--- Comment #3 from Martin Tessun
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718#c5
--- Comment #5 from Martin Tessun
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718#c6
--- Comment #6 from Martin Tessun
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718
http://bugzilla.opensuse.org/show_bug.cgi?id=1171718#c7
Martin Tessun
participants (1)
-
bugzilla_noreply@suse.com