LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   location for apache binary or control script (https://www.linuxquestions.org/questions/linux-newbie-8/location-for-apache-binary-or-control-script-841091/)

venkatmyd 10-29-2010 12:48 AM

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.

kirukan 10-29-2010 12:52 AM

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)

prayag_pjs 10-29-2010 01:12 AM

Hi refer this link,thought its for debian/ubuntu but it will help you.

http://www.linuxquestions.org/questi...script-827266/

kirukan 10-29-2010 01:30 AM

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.