[wellylug] apache2ctl vs apache2 restart

Daniel Pittman daniel at rimspace.net
Tue May 1 12:10:15 NZST 2007


Sigurd Magnusson <sigurd at silverstripe.com> writes:

> Logrotate killed apache2 this morning on one of our servers. I see
> that it runs

[...]

> For some reason this stopped apache2 but didn't restart it. (Any ideas
> on this?)

What do the error logs say?  What, if any, error output shows up in the
mail from cron?

[...]

> Why do you think Debian has apache2 restart instead? 

As others have mentioned this is a wrapper around the lower level tools
you use.  Review the shell script in init.d if you are uncertain.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/




More information about the wellylug mailing list