location for apache binary or control script
i am trying to install googlesitemap generator in centOs
but i got a problem /usr/sbin/apache2ctl is not a supported Apache binary or control script Do you want to enter a different location for the Apache binary or control script? [Y/n] i am getting this error. Please reply me as early as possible. |
Yup. if you install apache by rpm the apache2ctl placed in the path /usr/sbin/apache2ctl..Okey place a startup script for apache in /etc/rc.d/init.d and then start apache
#/etc/init.d/httpd start (whatever the name you mention for apache startup script) |
Hi refer this link,thought its for debian/ubuntu but it will help you.
http://www.linuxquestions.org/questi...script-827266/ |
Usually if you install apache from rpm it will place a startup script in /etc/rc.d/init.d/httpd this script refer another script /usr/sbin/apachectl. apachectl start the apache by /usr/sbin/httpd
|
All times are GMT -5. The time now is 02:59 AM. |