943,815 Members | Top Members by Rank

Jun 7th, 2007
0

apachectl Command Not Found

Expand Post »
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
Similar Threads
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005
Jun 7th, 2007
0

Re: apachectl Command Not Found

What does find / -name 'apachectl' turn up?
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Jun 8th, 2007
0

Re: apachectl Command Not Found

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
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: PlayStation 3 as Linux Enterprise Server
Next Thread in Linux Servers and Apache Forum Timeline: Skype staff play good cop bad cop with Linux users





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC