Your message dated Sat, 31 Oct 2015 22:34:09 +0000 with message-id <[email protected]> and subject line Bug#803177: fixed in apache2 2.4.17-2 has caused the Debian Bug report #803177, regarding apache2: [PATCH] secondary-init-script fails (status 3) despite starting apache daemon to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 803177: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803177 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apache2 Version: 2.4.10-10+deb8u3 Severity: normal Dear Maintainer, I set up a second instance of Apache using `/usr/share/doc/apache2/examples/setup-instance`. The init script starts apache sucessfully, but returns exit status 3. It's probably an old bug, but now we have systemd we actually notice it. Systemd treats this as a failed service which is pretty bad (systemctl shows "degraded", and systemctl won't stop the daemon if you ask it to). More evidence below. Debugging init scripts under systemd is awkward, but I noticed secondary-init-script does "set -e". Normally the primary script doesn't run with "set -e" (which treats command errors as immediately fatal). It seems clear we need to remove "set -e" from secondary-init-script. I removed it and my problem was resolved. Please apply :). Thanks Alan # systemctl status apache2-syncthing ● apache2-syncthing.service - LSB: Start/stop apache2 web server (config /etc/apache2-syncthing) Loaded: loaded (/etc/init.d/apache2-syncthing) Active: failed (Result: exit-code) since Tue 2015-10-27 17:00:10 GMT; 6s ago Process: 29322 ExecStart=/etc/init.d/apache2-syncthing start (code=exited, status=3) Oct 27 17:00:10 brick apache2-syncthing[29322]: Starting web server: apache2AH00558: apache2: Could not reliably determine the ser...message Oct 27 17:00:10 brick systemd[1]: apache2-syncthing.service: control process exited, code=exited status=3 Oct 27 17:00:10 brick systemd[1]: Failed to start LSB: Start/stop apache2 web server (config /etc/apache2-syncthing). Oct 27 17:00:10 brick systemd[1]: Unit apache2-syncthing.service entered failed state. # ps -ax|grep apache ps -ax|grep apache 2949 ? Ss 0:00 /usr/sbin/apache2 -d /etc/apache2-syncthing -k start 2950 ? S 0:00 /usr/sbin/apache2 -d /etc/apache2-syncthing -k start 2951 ? S 0:00 /usr/sbin/apache2 -d /etc/apache2-syncthing -k start 3038 pts/1 S+ 0:00 grep apache 24023 ? Ss 0:00 /usr/sbin/apache2 -k start 24026 ? S 0:00 /usr/sbin/apache2 -k start 24028 ? S 0:13 /usr/sbin/apache2 -k start *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- Package-specific info: -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: armel (armv5tel) Kernel: Linux 3.16.0-4-kirkwood Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apache2 depends on: ii apache2-bin 2.4.10-10+deb8u3 ii apache2-data 2.4.10-10+deb8u3 ii apache2-utils 2.4.10-10+deb8u3 ii dpkg 1.17.25 ii lsb-base 4.1+Debian13+nmu1 ii mime-support 3.58 ii perl 5.20.2-3+deb8u1 ii procps 2:3.3.9-9 Versions of packages apache2 recommends: ii ssl-cert 1.0.35 Versions of packages apache2 suggests: ii apache2-doc 2.4.10-10+deb8u3 pn apache2-suexec-pristine | apache2-suexec-custom <none> ii lynx-cur [www-browser] 2.8.9dev1-2+deb8u1 ii w3m [www-browser] 0.5.3-19 Versions of packages apache2-bin depends on: ii libapr1 1.5.1-3 ii libaprutil1 1.5.4-1 ii libaprutil1-dbd-sqlite3 1.5.4-1 ii libaprutil1-ldap 1.5.4-1 ii libc6 2.19-18+deb8u1 ii libldap-2.4-2 2.4.40+dfsg-1+deb8u1 ii liblua5.1-0 5.1.5-7.1 ii libpcre3 2:8.35-3.3 ii libssl1.0.0 1.0.1k-3+deb8u1 ii libxml2 2.9.1+dfsg1-5 ii perl 5.20.2-3+deb8u1 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages apache2-bin suggests: ii apache2-doc 2.4.10-10+deb8u3 pn apache2-suexec-pristine | apache2-suexec-custom <none> ii lynx-cur [www-browser] 2.8.9dev1-2+deb8u1 ii w3m [www-browser] 0.5.3-19 Versions of packages apache2 is related to: ii apache2 2.4.10-10+deb8u3 ii apache2-bin 2.4.10-10+deb8u3 -- Configuration Files: /etc/apache2/mods-available/mpm_prefork.conf changed: <IfModule mpm_prefork_module> StartServers 2 MinSpareServers 2 MaxSpareServers 4 MaxRequestWorkers 150 MaxConnectionsPerChild 0 </IfModule> /etc/apache2/ports.conf changed: <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> -- no debconf information
--- End Message ---
--- Begin Message ---Source: apache2 Source-Version: 2.4.17-2 We believe that the bug you reported is fixed in the latest version of apache2, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stefan Fritsch <[email protected]> (supplier of updated apache2 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 31 Oct 2015 23:17:11 +0100 Source: apache2 Binary: apache2 apache2-data apache2-bin apache2-utils apache2-suexec-pristine apache2-suexec-custom apache2-doc apache2-dev apache2-dbg Architecture: source amd64 all Version: 2.4.17-2 Distribution: unstable Urgency: medium Maintainer: Debian Apache Maintainers <[email protected]> Changed-By: Stefan Fritsch <[email protected]> Description: apache2 - Apache HTTP Server apache2-bin - Apache HTTP Server (modules and other binary files) apache2-data - Apache HTTP Server (common files) apache2-dbg - Apache debugging symbols apache2-dev - Apache HTTP Server (development headers) apache2-doc - Apache HTTP Server (on-site documentation) apache2-suexec-custom - Apache HTTP Server configurable suexec program for mod_suexec apache2-suexec-pristine - Apache HTTP Server standard suexec program for mod_suexec apache2-utils - Apache HTTP Server (utility programs for web servers) Closes: 803177 803353 Changes: apache2 (2.4.17-2) unstable; urgency=medium . * Revert REDIRECT_URL to pre-2.4.17 behavior for now. The change broke lots of web-apps. Closes: #803353 * Fix secondary-init-script to not source the main init script with 'set -e'. Closes: #803177 * mod_http2: Write HTTP/2 into THE_REQUEST and the access log. Checksums-Sha1: 0a7890e21ff9762ab81645773570a465480c23ff 2633 apache2_2.4.17-2.dsc ea7d801fe899a59ed5d1e59ed5289de8b0123cf5 346956 apache2_2.4.17-2.debian.tar.xz d6876387420d888de65996f6ee81847844268109 1091698 apache2-bin_2.4.17-2_amd64.deb 76c82d94abc164865e48ee7af387238bbdff8a7f 162946 apache2-data_2.4.17-2_all.deb fb5c926303e7487e8bed5a3f9c62ab68b0fcd8bc 2125504 apache2-dbg_2.4.17-2_amd64.deb ad3a2c648b3727e0197b0de4ac5d46f43b254001 293080 apache2-dev_2.4.17-2_amd64.deb 7a89aed929fb61d8c47c58f82c53171bf223c70d 2764472 apache2-doc_2.4.17-2_all.deb 2476eabcc112b72fbb4ae2d1941f142010c3fbd1 139616 apache2-suexec-custom_2.4.17-2_amd64.deb f67033cd791cf9f185f42fd9e784fbade8d10d8d 138152 apache2-suexec-pristine_2.4.17-2_amd64.deb fc1c9ac9cdff96b08b159c5cc1fdf957da17ab0f 203774 apache2-utils_2.4.17-2_amd64.deb e5ad66631fd9b31de78280dba155959f73af8e05 208860 apache2_2.4.17-2_amd64.deb Checksums-Sha256: 3f10782d27dade68e8b22ce698270852c748b09ae6143377f56e86d49515c4aa 2633 apache2_2.4.17-2.dsc 05943d90a799ef8ad39fb1be5f0de9c5dbfe571c518d7fc3a0736858926f41d9 346956 apache2_2.4.17-2.debian.tar.xz 94ad78e3489ee48a5d9d251b1082168e964d600be5f54e58547b13bde86dd5f5 1091698 apache2-bin_2.4.17-2_amd64.deb 1e9c67eab6dcfa911c7ead8c731eb9b9aacdef61baabffe995e78a1b458e8beb 162946 apache2-data_2.4.17-2_all.deb e1861f4cf2a7f8f87c456d250de2d61b2b89a6b0667929bf45ca512d9961aed7 2125504 apache2-dbg_2.4.17-2_amd64.deb 95509026fbe1f97f3d784a86b3a8230a7fbe9679bc75ba8ca9dd394025b37ec9 293080 apache2-dev_2.4.17-2_amd64.deb 698dd2e7400aa8fc98a203e6ba3a6a2b92d006c9de3bd096cebd4d1eaebf2f59 2764472 apache2-doc_2.4.17-2_all.deb d059d89072da30d8e6c69907b0bbca47c303cf679a775b8e2fdd6195fe10b508 139616 apache2-suexec-custom_2.4.17-2_amd64.deb cbdfdca7ad1d0e4d288e48feeb15bdd415c84aa94cb6a3019d3a696d6fbb232d 138152 apache2-suexec-pristine_2.4.17-2_amd64.deb 753b6b28dd780e6fa884c4d745fa224fd626ba604b6c19541497eeee51ce6d06 203774 apache2-utils_2.4.17-2_amd64.deb 8a737e5e25cabf08ca852ca0404740ddbf46a0bc54033d1d2c7399203c5bfc2b 208860 apache2_2.4.17-2_amd64.deb Files: 76922f4307bfc87a49684e89dba02305 2633 httpd optional apache2_2.4.17-2.dsc 561e569d4cddfa1db2b856e4d58dab7a 346956 httpd optional apache2_2.4.17-2.debian.tar.xz 4c0f596feca51755c93254c7d79a9896 1091698 httpd optional apache2-bin_2.4.17-2_amd64.deb 871d756c1d269d0ae58e68e6ced52c20 162946 httpd optional apache2-data_2.4.17-2_all.deb 8d841ce9a2eae410724ca86f1b8fc752 2125504 debug extra apache2-dbg_2.4.17-2_amd64.deb 16c638c78a6582492b5559cd1f0fb3ef 293080 httpd optional apache2-dev_2.4.17-2_amd64.deb 274a56a33431170399cb24f58efa6468 2764472 doc optional apache2-doc_2.4.17-2_all.deb d2582ef5701aac166baab48efef6bbbd 139616 httpd extra apache2-suexec-custom_2.4.17-2_amd64.deb 45254701b1c10754835dcda52aae7b1c 138152 httpd optional apache2-suexec-pristine_2.4.17-2_amd64.deb cd89353099e7ffaab6885ab709fd873a 203774 httpd optional apache2-utils_2.4.17-2_amd64.deb c7908ba02fff1ca5abe8cd416f4f7f79 208860 httpd optional apache2_2.4.17-2_amd64.deb -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWNT9KAAoJEMaHXzVBzv3gDoYP/Rw3AyC3sR3IAz+gYOLxe13k 1DgXIwc45pEbzjsoVzcwa2U1sJsrsH9VLNC7eHixcucnpOND+ESb2N+GbwWBJXF5 Cwo0tewHTsM5vhTvzr7rlymOvF0ekRHvtKIm7stoQR2fzgqnxI/qARTkpkHmyahx RxbrDOg9XISJ3f347AvW4GXxIclPr/v+C5URJdi7fqjhuGfyPpMX+rk2L5SttLgD VbU7r3Jh4x0wDprwZKRCb8HDtC2X8POIiPsUAn22S1InDB0s0SoTE5VIxtMrXDtw KxjIsGOhM5vbzwq7vpQ5cDTW3S7BMwwdlqycDwE0CsRFH3CG/YCUIQJVRd0gbWIw y4GyR1BJACKp7NtV3sFNfBsIR1wz4ur1zpL3ZzME+fmI6riIHSkgWV8OUY40BgWR qJKio5frvLGAXhJsxLQQe3k2NrwzS/njMmst0XRKGlwOp89ItZizP6Z2asBmxgIr 8wqN0G302PpDYKu7NzHR8NNC82Oc9UtBx3YHnWz8aqSJApLxOiPyUe6zX4+Khfv9 vr0HBZM4eeDXcSCmK4TxlxE/nZ7YRqxKajdKOTKvxvYQDscqb8Iwk6cElaoem+Py JHB447f+v8OSK/9YHEA92SokPRaCLfZ0iE7EgIjkJ9u94fq4QIifObWMJdqLprkT Wn4uipmeuQDgpmsmjkgL =ydc5 -----END PGP SIGNATURE-----
--- End Message ---

