Package: apache2 Version: 2.4.4-5 Severity: normal /etc/init.d/apache2 reload always returns 1, even if it succeeds. apache2ctl graceful correctly returns 0.
Default apache2 configuration, right after installation: root@debian-sid:/home/frederik# apache2ctl graceful AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message root@debian-sid:/home/frederik# echo $? 0 root@debian-sid:/home/frederik# /etc/init.d/apache2 reload [ ok ] Reloading web server: apache2. root@debian-sid:/home/frederik# echo $? 1 root@debian-sid:/home/frederik# bash -x /etc/init.d/apache2 reload + DESC='web server' + NAME=apache2 + DAEMON=/usr/sbin/apache2 + SCRIPTNAME=apache2 + SCRIPTNAME=apache2 + '[' -n '' ']' + '[' apache2 '!=' apache2 ']' + DIR_SUFFIX= + APACHE_CONFDIR=/etc/apache2 + '[' -z '' ']' + APACHE_ENVVARS=/etc/apache2/envvars + export APACHE_CONFDIR APACHE_ENVVARS + ENV='env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin' + '[' /etc/apache2 '!=' /etc/apache2 ']' + '[' /etc/apache2/envvars '!=' /etc/apache2/envvars ']' + HTCACHECLEAN_RUN=auto + HTCACHECLEAN_MODE=daemon + HTCACHECLEAN_SIZE=300M + HTCACHECLEAN_DAEMON_INTERVAL=120 + HTCACHECLEAN_PATH=/var/cache/apache2/mod_disk_cache + HTCACHECLEAN_OPTIONS= ++ . /etc/apache2/envvars +++ unset HOME +++ '[' /etc/apache2 '!=' /etc/apache2 ']' +++ SUFFIX= +++ export APACHE_RUN_USER=www-data +++ APACHE_RUN_USER=www-data +++ export APACHE_RUN_GROUP=www-data +++ APACHE_RUN_GROUP=www-data +++ export APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ export APACHE_RUN_DIR=/var/run/apache2 +++ APACHE_RUN_DIR=/var/run/apache2 +++ export APACHE_LOCK_DIR=/var/lock/apache2 +++ APACHE_LOCK_DIR=/var/lock/apache2 +++ export APACHE_LOG_DIR=/var/log/apache2 +++ APACHE_LOG_DIR=/var/log/apache2 +++ export LANG=C +++ LANG=C +++ export LANG ++ echo + APACHE_HTTPD= + '[' -z '' ']' + APACHE_HTTPD=/usr/sbin/apache2 + '[' -f /etc/default/apache2 ']' + . /etc/default/apache2 ++ HTCACHECLEAN_RUN=auto ++ HTCACHECLEAN_MODE=daemon ++ HTCACHECLEAN_SIZE=300M ++ HTCACHECLEAN_DAEMON_INTERVAL=120 ++ HTCACHECLEAN_PATH=/var/cache/apache2/mod_cache_disk ++ HTCACHECLEAN_OPTIONS=-n ++ . /etc/apache2/envvars +++ unset HOME +++ '[' /etc/apache2 '!=' /etc/apache2 ']' +++ SUFFIX= +++ export APACHE_RUN_USER=www-data +++ APACHE_RUN_USER=www-data +++ export APACHE_RUN_GROUP=www-data +++ APACHE_RUN_GROUP=www-data +++ export APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ export APACHE_RUN_DIR=/var/run/apache2 +++ APACHE_RUN_DIR=/var/run/apache2 +++ export APACHE_LOCK_DIR=/var/lock/apache2 +++ APACHE_LOCK_DIR=/var/lock/apache2 +++ export APACHE_LOG_DIR=/var/log/apache2 +++ APACHE_LOG_DIR=/var/log/apache2 +++ export LANG=C +++ LANG=C +++ export LANG ++ echo /var/run/apache2/apache2.pid + PIDFILE=/var/run/apache2/apache2.pid + VERBOSE=no + '[' -f /etc/default/rcS ']' + . /etc/default/rcS + . /lib/lsb/init-functions +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)' ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']' ++ . /lib/lsb/init-functions.d/20-left-info-blocks ++ FANCYTTY= ++ '[' -e /etc/lsb-base-logging.sh ']' ++ true + APACHE2CTL='env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl' + HTCACHECLEAN='env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/htcacheclean' ++ . /etc/apache2/envvars +++ unset HOME +++ '[' /etc/apache2 '!=' /etc/apache2 ']' +++ SUFFIX= +++ export APACHE_RUN_USER=www-data +++ APACHE_RUN_USER=www-data +++ export APACHE_RUN_GROUP=www-data +++ APACHE_RUN_GROUP=www-data +++ export APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ export APACHE_RUN_DIR=/var/run/apache2 +++ APACHE_RUN_DIR=/var/run/apache2 +++ export APACHE_LOCK_DIR=/var/lock/apache2 +++ APACHE_LOCK_DIR=/var/lock/apache2 +++ export APACHE_LOG_DIR=/var/log/apache2 +++ APACHE_LOG_DIR=/var/log/apache2 +++ export LANG=C +++ LANG=C +++ export LANG ++ echo /var/run/apache2/apache2.pid + PIDFILE=/var/run/apache2/apache2.pid + APACHE2_INIT_MESSAGE= + '[' -x /usr/sbin/apache2 ']' + '[' '!' -x /usr/sbin/apache2 ']' + '[' -z /var/run/apache2/apache2.pid ']' + check_htcacheclean + '[' daemon = daemon ']' + '[' auto = yes ']' ++ . /etc/apache2/envvars +++ unset HOME +++ '[' /etc/apache2 '!=' /etc/apache2 ']' +++ SUFFIX= +++ export APACHE_RUN_USER=www-data +++ APACHE_RUN_USER=www-data +++ export APACHE_RUN_GROUP=www-data +++ APACHE_RUN_GROUP=www-data +++ export APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ APACHE_PID_FILE=/var/run/apache2/apache2.pid +++ export APACHE_RUN_DIR=/var/run/apache2 +++ APACHE_RUN_DIR=/var/run/apache2 +++ export APACHE_LOCK_DIR=/var/lock/apache2 +++ APACHE_LOCK_DIR=/var/lock/apache2 +++ export APACHE_LOG_DIR=/var/log/apache2 +++ APACHE_LOG_DIR=/var/log/apache2 +++ export LANG=C +++ LANG=C +++ export LANG ++ echo + MODSDIR= + '[' auto = auto -a -e /etc/apache2/mods-enabled/disk_cache.load ']' + return 1 + case "$1" in + log_daemon_msg 'Reloading web server' apache2 + '[' -z 'Reloading web server' ']' + log_daemon_msg_pre 'Reloading web server' apache2 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' -t 1 ']' + '[' xxterm '!=' x ']' + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z ']' + FANCYTTY=1 + case "$FANCYTTY" in + true + /bin/echo -n '[....] ' [....] + '[' -z apache2 ']' + echo -n 'Reloading web server: apache2' Reloading web server: apache2+ log_daemon_msg_post 'Reloading web server' apache2 + : + do_reload + env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl configtest + pidofproc -p /var/run/apache2/apache2.pid /usr/sbin/apache2 + env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl graceful + return 0 + log_end_msg 0 + '[' -z 0 ']' + local retval + retval=0 + log_end_msg_pre 0 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' -t 1 ']' + '[' xxterm '!=' x ']' + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z 1 ']' + true + case "$FANCYTTY" in + true ++ /usr/bin/tput setaf 1 + RED='' ++ /usr/bin/tput setaf 2 + GREEN='' ++ /usr/bin/tput setaf 3 + YELLOW='' ++ /usr/bin/tput op + NORMAL='' + /usr/bin/tput civis + /usr/bin/tput sc + /usr/bin/tput hpa 0 + '[' 0 -eq 0 ']' + /bin/echo -ne '[ ok ' [ ok + /usr/bin/tput rc + /usr/bin/tput cnorm + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + '[' -t 1 ']' + '[' xxterm '!=' x ']' + '[' xxterm '!=' xdumb ']' + '[' -x /usr/bin/tput ']' + '[' -x /usr/bin/expr ']' + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + '[' -z 1 ']' + true + case "$FANCYTTY" in + true ++ /usr/bin/tput setaf 1 + RED='' ++ /usr/bin/tput setaf 3 + YELLOW='' ++ /usr/bin/tput op + NORMAL='' + '[' 0 -eq 0 ']' + echo . .. + log_end_msg_post 0 + : + return 0 + '[' no '!=' no ']' I suppose the last command causing this is: [ "$VERBOSE" != no ] && [ "x$APACHE2_INIT_MESSAGE" != "x" ] && log_warning_msg "$APACHE2_INIT_MESSAGE" -- Package-specific info: Enabled MPM: event List of enabled modules: mpm_event (enabled by maintainer script) authz_core (enabled by maintainer script) authz_host (enabled by maintainer script) auth_basic (enabled by maintainer script) access_compat (enabled by maintainer script) authn_file (enabled by maintainer script) authz_user (enabled by maintainer script) alias (enabled by maintainer script) dir (enabled by maintainer script) autoindex (enabled by maintainer script) env (enabled by maintainer script) mime (enabled by maintainer script) negotiation (enabled by maintainer script) setenvif (enabled by maintainer script) filter (enabled by maintainer script) deflate (enabled by maintainer script) status (enabled by maintainer script) List of enabled configurations: charset (enabled by maintainer script) localized-error-pages (enabled by maintainer script) other-vhosts-access-log (enabled by maintainer script) security (enabled by maintainer script) serve-cgi-bin (enabled by maintainer script) -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apache2 depends on: ii apache2-bin 2.4.4-5 ii apache2-data 2.4.4-5 ii lsb-base 4.1+Debian11 ii mime-support 3.54 ii perl 5.14.2-21 ii procps 1:3.3.8-1 Versions of packages apache2 recommends: ii ssl-cert 1.0.32 Versions of packages apache2 suggests: pn apache2-doc <none> pn apache2-suexec-pristine | apache2-suexec-custom <none> pn apache2-utils <none> pn www-browser <none> Versions of packages apache2-bin depends on: ii libapr1 1.4.6-4 ii libaprutil1 1.5.2-1 ii libaprutil1-dbd-sqlite3 1.5.2-1 ii libaprutil1-ldap 1.5.2-1 ii libc6 2.17-4 ii libcap2 1:2.22-1.2 ii libldap-2.4-2 2.4.31-1+nmu2 ii liblua5.1-0 5.1.5-4 ii libpcre3 1:8.31-2 ii libssl1.0.0 1.0.1e-3 ii libxml2 2.8.0+dfsg1-7+nmu1 ii perl 5.14.2-21 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages apache2-bin suggests: pn apache2-doc <none> pn apache2-suexec-pristine | apache2-suexec-custom <none> pn www-browser <none> Versions of packages apache2 is related to: ii apache2 2.4.4-5 ii apache2-bin 2.4.4-5 -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org