1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache version 2.4 web-server service will not start.

Discussion in 'Apache' started by Rewillis, May 7, 2019.

  1. #1
    I am running the Apache2.4 web server in the Microsoft Windows 10 ( Home ) Edition operating system. The Apache2.4 service is stopped, and I am unable to restart it. When I access the system log, through Event Viewer, the error message is as follows:

    "The Apache2.4 service terminated with the following service-specific error:
    Incorrect function."

    Does anyone have a solution for this problem? Thank you for your help.
    SEMrush
    Russell E. Willis
     
    Rewillis, May 7, 2019 IP
    SEMrush
  2. dedikart

    dedikart Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    That appears to be a configuration error in apache file. Try running an apache configuration test. You can check following command but you might have to adjust file paths according to your server.

    c:\Program Files\Apache Software Foundation\Apache 2.4\bin\httpd.exe" -t -f "c:\Program Files\Apache Software Foundation\Apache 2.4\conf\httpd.conf"
     
    dedikart, May 24, 2019 IP
  3. Rewillis

    Rewillis Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Dedikart, you were correct. Approximately one month ago, I tried the Apache configuration test you mentioned in your response ( above ), but adapted it to the path names on my personal computer system ( as shown below ):

    c:\Apache24\Apache24\bin\httpd.exe -t -f c:\Apache24\Apache24\conf\httpd.conf. ( Being correct with the punctuation - omit the final period ( "." ). )

    The output consisted of one error message. After locating and editing out the configuration error in the "httpd.conf" file, the "Apache2.4" service started. Thank you.

    Russell E. Willis.
     
    Rewillis, Oct 2, 2019 IP