Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Can't start service on windows server 2012 |
|
Author |
|
entretoize
Joined: 27 Dec 2018 Posts: 2 Location: Bourg-de-Péage
|
Posted: Thu 27 Dec '18 20:33 Post subject: Can't start service on windows server 2012 |
|
|
Hello, I downloaded apache 2.4 x64 and unzipped in c:, then I modified the configuration to set htdocs directory and vhosts.
Then I installed the service:
Code: | httpd.exe -k install -n "Apache2.4" |
Which result in :
Code: | Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started. |
In event log I have :
Code: | The Apache2.4 service terminated with the following service-specific error:
Incorrect function. |
With I have
I tried uninstalling and reinstalling the service, but that doesn't work.
Please tell me there's something more to try.
Thanks |
|
Back to top |
|
DnvrSysEngr
Joined: 15 Apr 2012 Posts: 226 Location: Denver, CO USA
|
Posted: Thu 27 Dec '18 22:05 Post subject: |
|
|
EntreToize:
The error message you are receiving is usually a result of something not being correct in your HTTPD.CONF file.
Check your Application logs and System logs on your Windows 2012 server and it should tell you what is wrong (may be a missing module, or something mis-typed on one of the lines in HTTPD.CONF). |
|
Back to top |
|
DnvrSysEngr
Joined: 15 Apr 2012 Posts: 226 Location: Denver, CO USA
|
Posted: Thu 27 Dec '18 22:09 Post subject: |
|
|
addendum to my previous post - usually in HTTPD.CONF file, but could also be in other .CONF files (vhost, security, SSL, etc.)
I mention this just incase you may have modified any .CONF files. |
|
Back to top |
|
entretoize
Joined: 27 Dec 2018 Posts: 2 Location: Bourg-de-Péage
|
Posted: Fri 04 Jan '19 10:25 Post subject: |
|
|
I finally succeeding after restarted from scratch.
Thanks |
|
Back to top |
|
DnvrSysEngr
Joined: 15 Apr 2012 Posts: 226 Location: Denver, CO USA
|
Posted: Fri 04 Jan '19 18:36 Post subject: |
|
|
Entretoize:
Glad to hear that you got the issue resolved.
I always make a backup of my .CONF files before I make any adjustments, so that if something goes wrong, I can put my backup .CONF files right back and bring Apache online immediately.
-S |
|
Back to top |
|
|
|
|
|
|