Re: cann't start apache on after reboot
| From: | Chris Hewitt | Date: | Mon, 30 Sep 2002 15:34:06 +0000 |
| Subject: | Re: cann't start apache on after reboot | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8611@lists.php.net to get a copy of this message | ||
Pei,
Either it was not there or you have deleted it. After an "updatedb" do "locate apachectl" to find it. If you know the full path, check that it is there and the permissions.
HTH
Chris
pei_world wrote:
yes, I was using the exactly thing your said, the full path of apache , but it just responed cann't found the commandI had installed apache on my linux system, it work fine after the installation. but when I reboot the computer and use command "apachectl start" to start it again, it responed "apachectl command not found" can anyone help. thx...Did you use apachectl when you installed apache? On my RedHat 7.2 apachectl is not present and not used. To start or stop it use "service httpd start" or to set it to start up automatically at boot time "chkconfig --level 345 httpd on". If you installed from RPMs then this is what I would expect. If from source or on a different linux flavour, then I don't know. You could do a "locate apachectl" to see where it is and give the command line the full path, just in case its not on your default path. HTH Chris