Error: apache: could not open document config file httpd.conf

Discussion in 'Apache' started by djhyper, Jun 1, 2009.

  1. #1
    Hi,

    Running the following on a Win 2003 R2/Service pack 2 server:
    Apache/2.0.55(Win32) mod_jk/1.2.0

    When we try to run Apache as a service (D:\apache\Apache2\bin>"D:\apache\Apache2\bin\apac he.exe" -k runservice) we get the following errer "Windows could not start the Apache2 on the local computer"

    In Application event log we get the following two events:
    The Apache service named reported the following error:
    >>> (OS 1063)The service process could not connect to the service controller. : Error starting service control dispatcher .
    and...
    The Apache service named reported the following error:
    >>> apache.exe: could not open document config file D:/apache/Apache2/conf/httpd.conf

    If I try to just execute the command at the command line, Apache.exe, I get the following error:
    D:\apache\Apache2\bin>apache
    apache: could not open document config file D:/apache/Apache2/conf/httpd.conf

    From what I have researched that file is created upon installation. Any help in resolving this would be greatly appreciated.

    Thanks!

    Dan
     
    djhyper, Jun 1, 2009 IP
  2. jnugroho73

    jnugroho73 Peon

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is the D:/apache/Apache2/conf/httpd.conf file is exists? If not you should create one. Usually there are some examples in the folder D:/apache/Apache2/conf/
     
    jnugroho73, Jun 4, 2009 IP