[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#497735: /etc/init.d/apache2 stop failed



Package: apache2
Severity: normal


On a system with apache2, and only apache2, the stop command to the init
script failed. After some poking around, I found that the stop
subroutine was calling apache2 -k to stop, not apache2ctl.

Apache2ctl sets some environment vars (by sourcing /etc/apache2/envvars), one of which is necessary for the
call to apache2 -k to succeed. Changing the call (s, IIRC, there were 2)
in the init script fixed the problem.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: