I am getting this error message. I am running CentOS 5.2 with Apache 2. How would I re-create this file? Is there a command? The server was built from a VM image.

Starting httpd: fopen: No such file or directory httpd: could not open document config file /usr/local/apache/conf/httpd.conf /usr/local/apache/bin/apachectl startssl: httpd could not be started

  • if you 'cd' into those directories, are the files there? – Zypher Feb 25 '10 at 2:15

You could simply uninstall and reinstall apache (using yum)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.