Kraiser10 |
04-07-2010 08:48 AM |
Chrooted apache how to restart?
Code:
Restarting Apache
Once chrooted, Apache cannot access anything located above ChrootDir. For that reason restarting Apache with 'apachectl reload', 'apachectl graceful' or 'kill -HUP apache_pid' will not work as expected. Apache will not be able to read its config file, open logs or load modules (unless you put them inside the jail, but mod_chroot is all about not doing that!). Use 'apachectl stop' followed by 'apachectl start' to restart mod_chroot-enabled Apache.
i tried apache2ctl stop and the result:
httpd (no pid file) not running
after that apache is still working.
OS debian lenny
|