LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2010, 01:48 AM   #1
venkatmyd
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
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.

Last edited by venkatmyd; 10-29-2010 at 01:57 AM.
 
Old 10-29-2010, 01:52 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Rep: Reputation: 148Reputation: 148
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)
 
Old 10-29-2010, 02:12 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

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

http://www.linuxquestions.org/questi...script-827266/
 
Old 10-29-2010, 02:30 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Rep: Reputation: 148Reputation: 148
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/sbin/apache2 is not a supported Apache binary or control script. cucolin@ Ubuntu 9 08-21-2010 10:54 AM
location of apache httpd 2..2.6 binary rpms for RedHat3 craftereric Linux - Software 1 04-17-2008 05:18 AM
where is the common location of ffmpeg binary soundengineer Red Hat 3 11-28-2005 05:55 PM
apache: location in location eantoranz Linux - Networking 2 08-08-2005 10:37 PM
apt-get mplayer installs binary at what location? glock19 Linux - Software 4 08-23-2003 02:25 PM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration