Bug#158993: apache: set -x init script during problem
Package: apache
Version: 1.3.27.0-2
Followup-For: Bug #158993
necrotic:/home/branden# invoke-rc.d apache restart
+ NAME=apache
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+ DAEMON=/usr/sbin/apache
+ SUEXEC=/usr/lib/apache/suexec
+ PIDFILE=/var/run/apache.pid
+ CONF=/etc/apache/httpd.conf
+ APACHECTL=/usr/sbin/apachectl
+ trap '' 1
+ export LANG=C
+ LANG=C
+ export PATH
+ test -f /usr/sbin/apache
+ test -f /usr/sbin/apachectl
+ APACHECTL=env -i LANG=C PATH=/bin:/usr/bin:/sbin:/usr/sbin
/usr/sbin/apachectl
+ egrep -q -i '^[[:space:]]*ServerType[[:space:]]+inet'
/etc/apache/httpd.conf
+ '[' -e /etc/apache/apache_not_to_be_run ']'
+ /etc/init.d/apache reload-modules
+ NAME=apache
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+ DAEMON=/usr/sbin/apache
+ SUEXEC=/usr/lib/apache/suexec
+ PIDFILE=/var/run/apache.pid
+ CONF=/etc/apache/httpd.conf
+ APACHECTL=/usr/sbin/apachectl
+ trap '' 1
+ export LANG=C
+ LANG=C
+ export PATH
+ test -f /usr/sbin/apache
+ test -f /usr/sbin/apachectl
+ APACHECTL=env -i LANG=C PATH=/bin:/usr/bin:/sbin:/usr/sbin
/usr/sbin/apachectl
+ egrep -q -i '^[[:space:]]*ServerType[[:space:]]+inet'
/etc/apache/httpd.conf
+ '[' -e /etc/apache/apache_not_to_be_run ']'
+ echo -n 'Reloading apache modules'
Reloading apache modules+ start-stop-daemon --stop --pidfile
/var/run/apache.pid --oknodo --retry 30
+ start-stop-daemon --start --pidfile /var/run/apache.pid --exec
/usr/sbin/apache
+ '[' 0 == 0 ']'
+ echo .
.
+ exit 0
+ exit 0
necrotic:/home/branden# ps -C apache
PID TTY TIME CMD
necrotic:/home/branden# invoke-rc.d apache restart
+ NAME=apache
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+ DAEMON=/usr/sbin/apache
+ SUEXEC=/usr/lib/apache/suexec
+ PIDFILE=/var/run/apache.pid
+ CONF=/etc/apache/httpd.conf
+ APACHECTL=/usr/sbin/apachectl
+ trap '' 1
+ export LANG=C
+ LANG=C
+ export PATH
+ test -f /usr/sbin/apache
+ test -f /usr/sbin/apachectl
+ APACHECTL=env -i LANG=C PATH=/bin:/usr/bin:/sbin:/usr/sbin
/usr/sbin/apachectl
+ egrep -q -i '^[[:space:]]*ServerType[[:space:]]+inet'
/etc/apache/httpd.conf
+ '[' -e /etc/apache/apache_not_to_be_run ']'
+ /etc/init.d/apache reload-modules
+ NAME=apache
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+ DAEMON=/usr/sbin/apache
+ SUEXEC=/usr/lib/apache/suexec
+ PIDFILE=/var/run/apache.pid
+ CONF=/etc/apache/httpd.conf
+ APACHECTL=/usr/sbin/apachectl
+ trap '' 1
+ export LANG=C
+ LANG=C
+ export PATH
+ test -f /usr/sbin/apache
+ test -f /usr/sbin/apachectl
+ APACHECTL=env -i LANG=C PATH=/bin:/usr/bin:/sbin:/usr/sbin
/usr/sbin/apachectl
+ egrep -q -i '^[[:space:]]*ServerType[[:space:]]+inet'
/etc/apache/httpd.conf
+ '[' -e /etc/apache/apache_not_to_be_run ']'
+ echo -n 'Reloading apache modules'
Reloading apache modules+ start-stop-daemon --stop --pidfile
/var/run/apache.pid --oknodo --retry 30
No process in pidfile `/var/run/apache.pid' found running; none killed.
+ start-stop-daemon --start --pidfile /var/run/apache.pid --exec
/usr/sbin/apache
+ '[' 0 == 0 ']'
+ echo .
.
+ exit 0
+ exit 0
-- System Information:
Debian Release: testing/unstable
Architecture: sparc
Kernel: Linux necrotic 2.4.18 #2 Thu Apr 11 14:37:17 EDT 2002 sparc64
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-1
Versions of packages apache depends on:
ii apache-common 1.3.27.0-2 Support files for all Apache webse
ii debconf 1.3.4 Debian configuration management sy
ii dpkg 1.10.10 Package maintenance system for Deb
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-4 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-4 XML parsing C library - runtime li
ii libmagic1 4.02-4 File type determination library us
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.0-18 Larry Wall's Practical Extraction
-- debconf information:
* apache/enable-suexec: false
Reply to: