Bug#307701: unable to start apache2 from hand when NO_START=1
On my system I use thttpd for HTTP server as it fullfill my needs in
normal days. But sometimes I'm working on PHP projects at home so I need
to start Apache2 with PHP support.
I do "sudo /etc/init.d/thttpd stop" to hald thttpd server and I want to
be able to start Apache2 by "sudo /etc/init.d/apache2 start". But all
what I get is:
Not starting apache2 - edit /etc/default/apache2 and change NO_START to be 0.
But when I change it to NO_START=0 then Apache2 will try to start during
boot which is what I dont want to happen (thttpd already listen on port
Changing it before and after work is an option but does it have to?
Other daemons can be switched off using /etc/default/* file and started
-- System Information:
Debian Release: unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-rc3
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=ISO-8859-2) (ignored: LC_ALL set to pl_PL)
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.0.54-2 traditional model for Apache2
-- no debconf information