apachectl Command Not Found

Reply

Join Date: Mar 2005
Posts: 192
Reputation: stupidenator is an unknown quantity at this point 
Solved Threads: 4
stupidenator's Avatar
stupidenator stupidenator is offline Offline
Junior Poster

apachectl Command Not Found

 
0
  #1
Jun 7th, 2007
Hi everyone,

I am taking a web programming class and for one of the assignments, we have to install and configure an Apache web server on a certain port. I have downloaded apache, customized the httpd.conf file, and now I am ready to start the server. Per our class handouts, we should type

apachectl start

to start the server. When I type this in, I get

nick@blizzard:~/obagoshi/conf$ apachectl start
-bash: apachectl: command not found

Does anyone have any ideas as to why I can't use this? I had originally installed the web server, configured it a little, and then tried to start it and it did work, but I needed to recompile it with some extra modules, so I deleted the file I installed it to and then tried reinstalling it and since then, the apachectl command has not worked. Thanks for any help in advance.

Thanks,

Nick
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: apachectl Command Not Found

 
0
  #2
Jun 7th, 2007
What does find / -name 'apachectl' turn up?
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 192
Reputation: stupidenator is an unknown quantity at this point 
Solved Threads: 4
stupidenator's Avatar
stupidenator stupidenator is offline Offline
Junior Poster

Re: apachectl Command Not Found

 
0
  #3
Jun 8th, 2007
I actually just found the problem. I am an idiot! I forgot that I had to call it like this:

ServerRoot/bin/apachectl start

I was in the wrong directory.

Thanks for the help!

--
Nick
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC