Starting/ Stopping Apache

Dotan Cohen dotancohen at gmail.com
Sat Feb 18 02:04:20 UTC 2006


On 2/18/06, Mark Kelly <kubuntu at wastedtimes.net> wrote:
> On Saturday 18 February 2006 01:02, Dotan Cohen wrote:
> > I just installed apache2 via apt-get. When I type "service httpds
> > status" and am informed that there is no command "service". So, how is
> > apache (and sendmail) started/ stopped?
>
> sudo /etc/init.d/apache2 start|stop|status
>
> Regards,
>
> Mark
>

Mark, after each command, I still have no server response.

root at ety:/etc/apache# /etc/init.d/apache2 start
root at ety:/etc/apache# /etc/init.d/apache2 status
root at ety:/etc/apache# /etc/init.d/apache2 stop
 * Stopping web server (Apache2)...
root at ety:/etc/apache# /etc/init.d/apache2 stop
 * Stopping web server (Apache2)...

And "stop" seems to 'stop' the service even when it is not running.

Dotan Cohen
http://ie-only.com


More information about the kubuntu-users mailing list