Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just configured and installed Apache (successfully as far as I know) on a remote server, via X-Win32 SSH.

In the bin directory I see "httpd" listed.

To start the web server my provided instructions for the server state:

From your installation Apache directory type, './bin/apachectl start'.

However, I get the following error (11-14 just showing it is there): ls
bin     cgi-bin conf    htdocs  icons   include libexec logs    man     proxy cd bin ls
ab              apxs            dbmmanage       htpasswd        logresolve
apachectl       checkgid        htdigest        httpd           rotatelogs cd .. ./bin/apachectl start
./bin/apachectl: apache/bin/httpd: not found
./bin/apachectl start: httpd could not be started

Any help is greatly appreciated.

Thank You!

share|improve this question

migrated from May 26 '12 at 16:47

This question came from our site for pro webmasters.

Depending on your distro there are other commands to try:

service httpd restart
service apache2 restart

What distro are you using?

share|improve this answer
also which apachectl which apache2 which httpd – Tom H May 26 '12 at 17:05

As I see, you have installed apache manually and it was mis-configured somewhere, because apachectl tries to launch apache/bin/httpd, which does not exist.

share|improve this answer

I assume you are already at apache directory, if httpd is in bin directory, you will be able to run httpd by ../apache/bin/httpd.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.